Data Realms Fan Forums
http://45.55.195.193/

A newbie's question: What determines a gun's recoil?
http://45.55.195.193/viewtopic.php?f=1&t=15367
Page 1 of 1

Author:  1nfernal [ Sun Jun 14, 2009 4:13 pm ]
Post subject:  A newbie's question: What determines a gun's recoil?

The title says it all really, I'm working on a rifle and I just can't figure out what's causing it's outragous recoil (it causes the actor to fly away at a high velocity), mainly because I don't know what for sure what variables determine the recoil of the gun :-(
I've guessed that the round used's mass is one of them, but I'm not so sure

Author:  Gotcha! [ Sun Jun 14, 2009 4:15 pm ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

The round the gun fires is probably very heavy. :)

Author:  numgun [ Sun Jun 14, 2009 4:24 pm ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

Projectile's mass, round velocity and quantity of projectiles all determine the recoil.

If you want to by pass recoil, there are several ways to do it.
One can be found on the Coalition sniper and heavy sniper. It fires an emitter that fires the actual rounds plus also some effect stuff. You can study that in coalition.rte.

The other is making a TDExplosive that does the same as the emitter trick.
Make the "TDE" object detonate immidiatly as it leaves the barrel and the momentum of the particles takes care of the rest.

Author:  snapperfisch [ Sun Jun 14, 2009 4:30 pm ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

newtons 3rd law,

but isn't there a variable to destroy recoil, no matter what?
fireginorethis = 1,
or
emissionignorethis = 1
or something like that?

Author:  Azukki [ Sun Jun 14, 2009 5:02 pm ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

snapperfisch wrote:
fireginorethis = 1,
or
emissionignorethis = 1
or something like that?


Those variables control whether or not an emission or round particle collides with the parent; nothing to do with recoil.
There's no recoil variable. A RecoilFactor would be nice though...

Author:  Boba_Fett [ Sun Jun 14, 2009 5:07 pm ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

On the subject of recoil, how can you get enemies to be pushed backwards?

Author:  mail2345 [ Sun Jun 14, 2009 6:33 pm ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

Kinetic particle spread or lua.

Author:  1nfernal [ Sun Jun 14, 2009 7:24 pm ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

Gotcha! wrote:
The round the gun fires is probably very heavy. :)

it's 20, I don't think it does much of a difference, but perhaps it's the velocity, as I know now thanks to numgun :smile:

Author:  p3lb0x [ Sun Jun 14, 2009 7:53 pm ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

It's determined by amount of rounds, mass of each round and fire velocity. So a 20 mass particle will produce insane recoil even if only fired at 20 velocity

Author:  CrazyMLC [ Mon Jun 15, 2009 12:23 am ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

20 is very, very heavy.
If you don't want to get complicated, use 2.

Author:  FauxMask [ Mon Jun 15, 2009 6:14 am ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

I know this is just adding a question on to a question but,
what determines the zoom length/radius (how far away you can aim) of a sniper rifile? Or of any gun for that matter.

Author:  Duh102 [ Mon Jun 15, 2009 6:21 am ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

The wiki is a lot more helpful than you think, like I told this guy.

Author:  FauxMask [ Mon Jun 15, 2009 6:31 am ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

Duh102 wrote:
The wiki is a lot more helpful than you think, like I told this guy.


Oh wow, I can't believe I missed that. Thanks :oops:

Author:  Gotcha! [ Mon Jun 15, 2009 6:44 am ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

1nfernal wrote:
it's 20, I don't think it does much of a difference, but perhaps it's the velocity, as I know now thanks to numgun :smile:


That's 20 packs of sugar you fire with every shot. I dunno about you, but I would probably fall backwards. :P

Author:  1nfernal [ Mon Jun 15, 2009 4:31 pm ]
Post subject:  Re: A newbie's question: What determines a gun's recoil?

Gotcha! wrote:
1nfernal wrote:
it's 20, I don't think it does much of a difference, but perhaps it's the velocity, as I know now thanks to numgun :smile:


That's 20 packs of sugar you fire with every shot. I dunno about you, but I would probably fall backwards. :P

Heh, I'm too used to screwing around with actors. :oops: An actor with 20 in mass is like nothing, so I forgot that I was in fact making a gun that would fire a tight spread of 5 rounds at a high rate of fire, meaning that the recoil would be horrendrous if every round weighed that much
Anyways, noticed that one myself, and I'm quite happy with the gun now, as I managed to preserve it's firepower.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/