Weapon where spread decreases as you fire

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

Jedi
User avatar
Posts: 1116
Joined: Fri Dec 19, 2008 7:58 pm

Weapon where spread decreases as you fire

Postby MileHighGuy » Fri Apr 05, 2019 12:26 am

Hi guys,

I have a question for you all. Is it possible to make a gun that gets more accurate as you fire, like the LMGs from Battlefield? A gun that starts out inaccurate but narrows down with each shot.

I tried to make a gun where the spread per shot was negative, perhaps subtracting from the yaw/pitch spread or StandStillSpread with each shot but that did not seem to work.

Any input would be appreciated!

Code: Select all
YawSpread       = "2.0"
PitchSpread     = "2.0"

SpreadPerShot       = "-1.02"
SpreadRecoverRate   = "0.0"
SpreadThreshold     = "0.0"
SpreadLimit         = "2.5"

StandStillSpread    = "2.0"
StandMoveSpread     = "2.5"
CrouchStillSpread   = "1.0"
CrouchMoveSpread    = "2.5"
ProneStillSpread    = "0.0"
ProneMoveSpread     = "1.0"

Return to SWBF2 Modding

Who is online

Users browsing this forum: No registered users and 1 guest