More Realistic Character Movement
Posted: Thu Apr 21, 2016 3:23 pm
My first post ever.
This is an attempt to make BF2 a bit more realistic.
Let our map name be data_XXX.
First thing you want to do is find com_inf_default in data_XXX\Common\odf
Copy this file to data_XXX\Sides\Common\odf
Now, for some strange reason the changes will not take effect unless you rename com_inf_default to say, com_inf_default1, and then make sure the default soldiers for your sides (ex. imp_inf_default or rep_inf_default) are using this modified default infantry file, instead of the unmodified one.
So, if your side is imp, you would change this line in imp_inf_default:
To this:
Next, open up com_inf_default1 (or what ever you renamed yours to) and change this line:
To this line:
And this line:
To this line:
If you want, you can also change this line:
To this line:
These modifications make the characters move a bit more 'naturally' while making it extremely difficult for the AI to do that extremely annoying
zig-zag pattern. (you know what I mean right?)
For those curious:
Acceleration = 70.0 (70m/s^2) with MaxSpeed = 7.0 (7m/s) makes the character reach full speed in about 0.1 second (says this in the comment). If I could do that, I'd be in the Olympics.
However, Acceleration = 24.0 (24m/s^2) and MaxSpeed = 7.0 (7m/s) makes the character reach full speed in just under 0.3 seconds. Much more realistic.
Thanks, and good luck,
Sam
This is an attempt to make BF2 a bit more realistic.
Let our map name be data_XXX.
First thing you want to do is find com_inf_default in data_XXX\Common\odf
Copy this file to data_XXX\Sides\Common\odf
Now, for some strange reason the changes will not take effect unless you rename com_inf_default to say, com_inf_default1, and then make sure the default soldiers for your sides (ex. imp_inf_default or rep_inf_default) are using this modified default infantry file, instead of the unmodified one.
So, if your side is imp, you would change this line in imp_inf_default:
Code: Select all
ClassParent = "com_inf_default"Code: Select all
ClassParent = "com_inf_default1"Code: Select all
Acceleration = 70.0Code: Select all
Acceleration = 24.0Code: Select all
SprintAccelerateTime = 0.35Code: Select all
SprintAccelerateTime = 0.6Code: Select all
JumpHeight = 1.78Code: Select all
JumpHeight = 1.2For those curious:
Acceleration = 70.0 (70m/s^2) with MaxSpeed = 7.0 (7m/s) makes the character reach full speed in about 0.1 second (says this in the comment). If I could do that, I'd be in the Olympics.
However, Acceleration = 24.0 (24m/s^2) and MaxSpeed = 7.0 (7m/s) makes the character reach full speed in just under 0.3 seconds. Much more realistic.
Thanks, and good luck,
Sam