Slow walking [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
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Slow walking [Solved]

Post by DrDrSheldonLeeCooper »

Hello I want that my Super Battledroid is walking a bit slower but how?
And how can I make that they are not jumping so high?
thx!
Last edited by DrDrSheldonLeeCooper on Sun Apr 05, 2015 6:24 pm, edited 1 time in total.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Slow walking

Post by razac920 »

Take a look at com_inf_default.odf
Hidden/Spoiler:
// Movement defaults
// These are values for an average class - some soldiers will override these
MaxSpeed = 7.0 // base forward speed
MaxStrafeSpeed = 5.25 // base right/left speed
MaxTurnSpeed = 5.0 // base turn speed
JumpHeight = 1.78 // base jump height in meters
Just override these values with new ones in your custom unit .odf file.
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: Slow walking

Post by DrDrSheldonLeeCooper »

thank you :)
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Slow walking [solved]

Post by AnthonyBF2 »

You can also paste those same parameters and values in the actual character odf file.
If a character has it's own values, it will ignore the class parent file com_inf_default.
razac920
2nd Lieutenant
2nd Lieutenant
Posts: 365
Joined: Sun Jan 16, 2011 12:42 am

Re: Slow walking [solved]

Post by razac920 »

Also, these changes are simple enough to do with scripting:
SetClassProperty("cis_inf_rifleman","JumpHeight",0.89) will cut the SBD jump height in half, and
SetClassProperty("cis_inf_rifleman","MaxSpeed",6.0) SetClassProperty("cis_inf_rifleman","MaxStrafeSpeed",4.5) will make the SBD move as slow as a rocketeer.
DrDrSheldonLeeCooper
Chief Warrant Officer
Chief Warrant Officer
Posts: 353
Joined: Sat Apr 26, 2014 1:50 pm
Projects :: Times before Empire
Games I'm Playing :: SWBF2-BF-Skyrim
xbox live or psn: No gamertag set
Location: Coruscant City [Germany]

Re: Slow walking [solved]

Post by DrDrSheldonLeeCooper »

Thanks guys I got it already :D
Post Reply