Problem with adding recoil. [Solved]

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Problem with adding recoil. [Solved]

Post 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:
User avatar
Oceans14
Command Sergeant Major
Command Sergeant Major
Posts: 296
Joined: Mon Apr 27, 2015 7:09 pm
Projects :: Athenova Campaign
Games I'm Playing :: SWBF2
Location: Planet 4546b

Re: Problem with adding recoil.

Post 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.
Post Reply