View unanswered posts | View active topics It is currently Thu Jan 09, 2025 3:54 pm



Reply to topic  [ 10 posts ] 
 How to set kickback for a gun? 
Author Message
User avatar

Joined: Thu May 17, 2007 5:40 pm
Posts: 33
Location: finland
Reply with quote
Post 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
Profile WWW

Joined: Sat Aug 30, 2008 1:58 am
Posts: 104
Reply with quote
Post 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
Profile
User avatar

Joined: Thu May 17, 2007 5:40 pm
Posts: 33
Location: finland
Reply with quote
Post 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
Profile WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile
User avatar

Joined: Thu May 17, 2007 5:40 pm
Posts: 33
Location: finland
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Fri Jan 09, 2009 6:00 pm
Posts: 31
Reply with quote
Post 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
Profile
User avatar

Joined: Mon Mar 23, 2009 6:24 am
Posts: 8
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Jun 10, 2007 2:05 am
Posts: 426
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Dec 24, 2008 5:14 pm
Posts: 62
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Jun 10, 2007 2:05 am
Posts: 426
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: Google [Bot]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.133s | 14 Queries | GZIP : Off ]