Author |
Message |
chilichickenionator
Joined: Thu May 17, 2007 5:40 pm Posts: 33 Location: finland
|
How to set kickback for a gun?
How can i set kickback for my edited rifle, it's way too big. (ronin riflelong) thanks in advance.
|
Mon Mar 16, 2009 4:26 pm |
|
|
mrah
Joined: Sat Aug 30, 2008 1:58 am Posts: 104
|
Re: How to set kickback for a gun?
the recoil is determined by the mass of the bullet and the velocity which it's fired at =)
|
Mon Mar 16, 2009 5:36 pm |
|
|
chilichickenionator
Joined: Thu May 17, 2007 5:40 pm Posts: 33 Location: finland
|
Re: How to set kickback for a gun?
So it's impossible to make a blowtheheadoffmaxvelocitynorecoilgun? =( oh well.. that makes it balanced
|
Mon Mar 16, 2009 6:36 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
Re: How to set kickback for a gun?
chilichickenionator wrote: So it's impossible to make a blowtheheadoffmaxvelocitynorecoilgun? Incorrect. There are a few ways of defeating recoil. There are the old ways, two of which I know (using TDExplosives and shells), and the new way, which is nicer and more accurate. Simply copy the emitter defined in the file attached and modify it to emit your projectile, then have your gun fire the emitter instead. Attachment: recoilcontrol.zip
|
Mon Mar 16, 2009 8:18 pm |
|
|
chilichickenionator
Joined: Thu May 17, 2007 5:40 pm Posts: 33 Location: finland
|
Re: How to set kickback for a gun?
well i tried that some way... umm... it still recoiled my soldier to the grave. ill just drop my mass/velocity, ill get it someday.. =)
|
Mon Mar 16, 2009 8:54 pm |
|
|
FoboslC
Joined: Fri Jan 09, 2009 6:00 pm Posts: 31
|
Re: How to set kickback for a gun?
Actually, check Coalition Heavy Sniper Rifle. It have some very intresting pieces of code in it.
|
Mon Mar 16, 2009 10:39 pm |
|
|
Spiritlol
Joined: Mon Mar 23, 2009 6:24 am Posts: 8
|
Re: How to set kickback for a gun?
Look at the Revolver Cannon's script. It has a round named "revolver cannon recoil skip" or something near that.
|
Tue Mar 24, 2009 12:16 am |
|
|
Solace
Joined: Sun Jun 10, 2007 2:05 am Posts: 426
|
Re: How to set kickback for a gun?
Well, if you're looking to blow someone's head off with MOPixels, higher mass and velocity may not even be the way to go. When getting hit by one, the actor just checks to see if it is nor is not wounded, all the extra mass does it to possibly create an exit wound (and continuing projectile). So, if you want to shoot someone and have it do extra damage, instead of making the bullet heavier or sharper, you have to shoot more bullets, which is what the snipers do. It looks like one, but it's really shooting like 5-10 bullets that overlap.
|
Tue Mar 24, 2009 12:21 am |
|
|
GopherLemming
Joined: Wed Dec 24, 2008 5:14 pm Posts: 62
|
Re: How to set kickback for a gun?
Solace wrote: When getting hit by one, the actor just checks to see if it is nor is not wounded, all the extra mass does it to possibly create an exit wound (and continuing projectile). I was under the impression that mass and velocity is how the momentum induced in the hit object is calculated, In which case a heavier projectile would make the head explode from an exceeded GibImpulseLimit. I admit that a fast, heavy/sharp MOPixel isn't a good idea unless you tweak other characteristics to avoid terrain destruction though.
|
Tue Mar 24, 2009 10:31 am |
|
|
Solace
Joined: Sun Jun 10, 2007 2:05 am Posts: 426
|
Re: How to set kickback for a gun?
Mm, well... if you lowered the sharpness so it didn't cause a wound, then it could exceed the gibimpulselimit and pop the head off that way. Not sure if a sharp thing transfers momentum as well...
|
Tue Mar 24, 2009 5:06 pm |
|
|
|