Jump to content

Adjusting infantry speed


Recommended Posts

No Luck, couldn't find anything in any of the animation areas that are defined in the current filelist.

There is this data which is called from data\units\

[Human]

Navigatable HUMAN

Navigator none

HalfSize 0.30

ClearOnDead yes

MaxLockNum 1

AggressiveNum 1

BlockPriority 0

FlagMask 4

UseVoice false

Type_0 human

CostF_0 0

CostB_0 0

CostT_0 0

CostChange_0 0

SpeedRoadAsphalt 1

SpeedRoadGround 1

SpeedGround 1

SpeedField 1

SpeedSnow 1

There is a tag called [speed] in data\units\ and some units have a variable called SpeedRoad, but humans only have SpeedTurn variable defined there. I've increased most of these variables, with no luck.

Link to comment
Share on other sites

OK. I got it figured out. The variables needed to adjust are contained in the navigation.ini file under the "Human" subsection.

[Human]

Navigatable HUMAN

Navigator none

HalfSize 0.30

ClearOnDead yes

MaxLockNum 1

AggressiveNum 1

BlockPriority 0

FlagMask 4

UseVoice false

Type_0 human

CostF_0 0

CostB_0 0

CostT_0 0

CostChange_0 0

SpeedRoadAsphalt 1

SpeedRoadGround 1

SpeedGround 1

SpeedField 1

SpeedSnow 1

Increasing any of the "speed" values will increase speed by a multiplier factor for that ground type. For instance, increasing "SpeedRoadGround" to 1.5 will increase movement in that terrain by 50%. Obviously, you can make some pretty fine adjustments to speed using these variables. My previous problem working with this data was caused by a file-copying error on my part.

Link to comment
Share on other sites

×
×
  • Create New...