Page 1 of 1

Problem with adding recoil. [Solved]

Posted: Fri Feb 19, 2016 6:08 am
by CdtFox
Hello there,

So I want to add recoil to my weapons but unfortunately it dosen't work...:/ here's the code I tried:

Code: Select all

RecoilLengthLight   = "0.1"
RecoilLengthHeavy   = "0.1"
RecoilStrengthLight = "1.0"
RecoilStrengthHeavy = "0.2"
RecoilDecayLight    = "0.0"
RecoilDecayHeavy    = "0.0"
Where I should put this? I already tried in the _ord file, the weapon file itself and it dosen't work, :o maybe "O.1" is too low and I will not see the result?!

Thanks for the help :thumbs:

Re: Problem with adding recoil.

Posted: Fri Feb 19, 2016 11:27 am
by Oceans14
I use these values, tweaking them as necessary.

Code: Select all

KickSpread      = "0.7"
SpreadRecover       = "2.0"

KickStrength        = "2.0"
KickBuildup     = "999.0"

SpreadPerShot       = "0.3"
SpreadRecoverRate   = "2.0"
SpreadThreshold     = "1.5"
SpreadLimit         = "1.5"

StandStillSpread    = "0.7"
StandMoveSpread     = "5.0"
CrouchStillSpread   = "0.4"
CrouchMoveSpread    = "1.0"
From here http://www.gametoast.com/viewtopic.php?f=27&t=13743, a thread about odf parameters. The key lines to add are the kickstrength and buildup, these will cause the weapon reticle to drift off target with each shot.