Data Realms Fan Forums http://45.55.195.193/ |
|
Question regarding weapons and such. http://45.55.195.193/viewtopic.php?f=1&t=17376 |
Page 1 of 1 |
Author: | bien4500 [ Sat Dec 19, 2009 3:47 pm ] |
Post subject: | Question regarding weapons and such. |
So I am planning on making a mod, one of the weapons is nearly finished. As of now, the round goes like this: Code: AddEffect = AEmitter PresetName = HAMREmitter Mass = 2 Sharpness = 15 HitsMOs = 1 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = MAPS.rte/Devices\Images\HAMR.bmp FrameCount = 1 SpriteOffset = Vector X = 0 Y = 0 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Bullet Metal Resolution = 4 Depth = 0 DeepGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Bullet Metal Resolution = 4 Depth = 10 DeepCheck = 1 LifeTime = 5000 JointStrength = 10000 JointStiffness = 10 AngularVel = 6 DrawAfterParent = 1 AddEmission = Emission EmittedParticle = MOPixel CopyOf = HAMRFlash Spread = 3.14 MaxVelocity = 0 MinVelocity = 0 EmissionEnabled = 1 EmissionsIgnoreThis = 1 ParticlesPerMinute = 6000 BurstSize = 1 BurstScale = 3 BurstTriggered = 1 EmissionDamage = 0 Flash = None FlashOnlyOnBurst = 0 AddGib = Gib GibParticle = MOPixel CopyOf = HAMRFlash Count = 30 Spread = 3.14 MaxVelocity = 70 MinVelocity = 50 InheritsVel = 0 AddGib = Gib GibParticle = MOPixel CopyOf = HAMRFlash2 Count = 20 Spread = 3.14 MaxVelocity = 60 MinVelocity = 30 InheritsVel = 0 GibImpulseLimit = 20 GibWoundLimit = 10 AddAmmo = Round PresetName = HAMR Round ParticleCount = 1 Particle = AEmitter CopyOf = HAMREmitter Shell = None FireVelocity = 100 ShellVelocity = 0 Separation = 0 I was wondering how to make it penetrate and then explode. It's supposed to be a Heavy Anti-Material Rifle. |
Author: | Metal Meltdown [ Sat Dec 19, 2009 4:05 pm ] |
Post subject: | Re: Question regarding weapons and such. |
First off, use pastebin, please, large amounts of code are unreadable here. |
Author: | bien4500 [ Sun Dec 20, 2009 4:53 am ] | ||
Post subject: | Re: Question regarding weapons and such. | ||
Ah, so how would one do that? Anyways, the mod is attached with placeholder sprites and effects. Here's the code: Heavy Anti-Material Rifle I'm also having trouble with offsets, right now. The magazine appears inside the grip, but I want it centered with the two blue lines. That and the muzzle flash appears to follow the shot as it travels. I have no clue on how to make the weapon switch between a 'weapon empty' sprite when it's reloading and how to make the blue light ( Attachment:
|
Author: | Metal Meltdown [ Sun Dec 20, 2009 12:33 pm ] | ||
Post subject: | Re: Question regarding weapons and such. | ||
[edit]Well, the clip offsets are fixed (also, the light DOES show up when it fires), so here's that, I'm still working on getting it to dig.
|
Author: | bien4500 [ Mon Dec 21, 2009 10:21 am ] | |||||
Post subject: | Re: Question regarding weapons and such. | |||||
Ah, thanks. Also: WTH is wrong with my sprites? They appear all screwed up in game.
|
Author: | Duh102 [ Mon Dec 21, 2009 3:29 pm ] |
Post subject: | Re: Question regarding weapons and such. |
bien4500 wrote: WTH is wrong with my sprites? They appear all screwed up in game. Here you go. Your sprites are not in palette. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |