View unanswered posts | View active topics It is currently Fri Jan 10, 2025 12:05 am



Reply to topic  [ 15 posts ] 
 A newbie's question: What determines a gun's recoil? 
Author Message
User avatar

Joined: Wed May 20, 2009 10:06 am
Posts: 163
Location: Sweden
Reply with quote
Post 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


Sun Jun 14, 2009 4:13 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: A newbie's question: What determines a gun's recoil?
The round the gun fires is probably very heavy. :)


Sun Jun 14, 2009 4:15 pm
Profile

Joined: Sat Jan 13, 2007 11:04 pm
Posts: 2932
Reply with quote
Post 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.


Sun Jun 14, 2009 4:24 pm
Profile

Joined: Sat Feb 21, 2009 7:11 pm
Posts: 27
Reply with quote
Post 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?


Sun Jun 14, 2009 4:30 pm
Profile
User avatar

Joined: Sat Nov 03, 2007 9:44 pm
Posts: 1916
Location: Flint Hills
Reply with quote
Post 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...


Sun Jun 14, 2009 5:02 pm
Profile
User avatar

Joined: Wed Jul 30, 2008 10:27 pm
Posts: 272
Reply with quote
Post 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?


Sun Jun 14, 2009 5:07 pm
Profile
User avatar

Joined: Tue Nov 06, 2007 6:58 am
Posts: 2054
Reply with quote
Post Re: A newbie's question: What determines a gun's recoil?
Kinetic particle spread or lua.


Sun Jun 14, 2009 6:33 pm
Profile
User avatar

Joined: Wed May 20, 2009 10:06 am
Posts: 163
Location: Sweden
Reply with quote
Post 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:


Sun Jun 14, 2009 7:24 pm
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post 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


Sun Jun 14, 2009 7:53 pm
Profile
User avatar

Joined: Fri Dec 22, 2006 4:20 am
Posts: 4772
Location: Good news everyone!
Reply with quote
Post 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.


Mon Jun 15, 2009 12:23 am
Profile WWW
User avatar

Joined: Mon Jun 01, 2009 4:12 am
Posts: 74
Reply with quote
Post 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.


Mon Jun 15, 2009 6:14 am
Profile
happy carebear mom
User avatar

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


Mon Jun 15, 2009 6:21 am
Profile
User avatar

Joined: Mon Jun 01, 2009 4:12 am
Posts: 74
Reply with quote
Post 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:


Mon Jun 15, 2009 6:31 am
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post 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


Mon Jun 15, 2009 6:44 am
Profile
User avatar

Joined: Wed May 20, 2009 10:06 am
Posts: 163
Location: Sweden
Reply with quote
Post 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.


Mon Jun 15, 2009 4:31 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 15 posts ] 

Who is online

Users browsing this forum: No registered users


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.076s | 15 Queries | GZIP : Off ]