Laser ODF ORD parameter [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
User avatar
ArkAngel
Rebel Sergeant
Rebel Sergeant
Posts: 215
Joined: Fri Nov 13, 2009 10:00 am

Laser ODF ORD parameter [Solved]

Post by ArkAngel »

what's the ORD file parameter that determines the "recoil" of the lasers fired? (like when you fire the standard rifle the bullets eventually stray everywhere)
Deviss
Master of the Force
Master of the Force
Posts: 3772
Joined: Tue Aug 12, 2008 7:59 pm
Projects :: Clone Wars Extended
Games I'm Playing :: BF2

Re: laser ODF ORD parameter

Post by Deviss »

ArkAngel wrote:what's the ORD file parameter that determines the "recoil" of the lasers fired? (like when you fire the standard rifle the bullets eventually stray everywhere)
bullet recoil ammo are in odf and in ord is velocity gravity laser bolt texture damage etc xD
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: laser ODF ORD parameter

Post by AQT »

@ArkAngel: First off, it doesn't go in the _ord ODF but rather the main weapon ODF. Secondly, you are describing two different things. "Recoil" is determine by the parameter:

Code: Select all

KickStrength		= "X"
The greater the value the harder it is to fire in a straight line consecutively. "Stray everywhere" as you put it refers to these parameters:
Hidden/Spoiler:
[code]YawSpread = "X"
PitchSpread = "X"

SpreadPerShot = "X"
SpreadRecoverRate = "X"
SpreadThreshold = "X"
SpreadLimit = "X"[/code]
User avatar
ArkAngel
Rebel Sergeant
Rebel Sergeant
Posts: 215
Joined: Fri Nov 13, 2009 10:00 am

Re: laser ODF ORD parameter

Post by ArkAngel »

thanks very much AQT and Dev :)
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Laser ODF ORD parameter [Solved]

Post by Fiodis »

Also, (though you probably stumbled upon it already), these lines control how accurate the weapon is in various stances:

Code: Select all

StandStillSpread    = "0.0"
StandMoveSpread     = "0.0"
CrouchStillSpread   = "0.0"
CrouchMoveSpread    = "0.0"
ProneStillSpread    = "0.0"
ProneMoveSpread     = "0.0"
These are added (multiplied?) on top of any other values you have determining accuracy.
Post Reply