Jump to content
Sign in to follow this  
messiahua

How to change sprint animation minimum speed?

Recommended Posts

Currently when you sprint you're tiring and your speed is lowering gradually by time. I want to change minimal value for sprint speed (AmovPercMevaSrasWrflDf class) and I can't find it.

Config parameter "duty" is responsible for speed of tiring. Also I've tried changing "relSpeedMin", but that has no effect on what I want.

Can anyone please help. Is it possible to change it?

Classes from original game config for reference:

class SprintBaseDf : StandBase
{
actions = "RifleStandEvasiveActions";
file = "\ca\Anims\Characters\data\Anim\Sdr\Mov\Erc\spr\low\Rfl\AmovPercMsprSlowWrflDf.rtm";
speed = 1.71429;
soundOverride = "sprint";
duty = 0.5;
showWeaponAim = 0;
collisionShape = "ca\Anims\Characters\data\Geom\Sdr\Perc_Mrun_Slow_Wrfl.p3d";
leaningFactorBeg = 0;
leaningFactorEnd = 0;
limitGunMovement = 0;
relSpeedMin = 0.697171;
relSpeedMax = 1.1;
enableAutoActions = 0;
visibleSize = 1.00012;
soundEnabled = 1;
aiming = "aimingCivil";
aimingBody = "aimingUpCivil";
headBobStrength = 0.154229;
headBobMode = 2;
rightHandIKCurve[] = {1};
leftHandIKCurve[] = {1};
ConnectTo[] = {"AmovPercMsprSlowWrflDf_AmovPpneMstpSrasWrflDnon", 0.02};
InterpolateTo[] = {"AmovPercMsprSlowWrflDf_AmovPpneMstpSrasWrflDnon", 0.02};
};

class AmovPercMevaSrasWrflDf : SprintBaseDf
{
actions = "RifleStandEvasiveActions";
collisionShape = "ca\Anims\Characters\data\Geom\Sdr\Perc_Mrun_Slow_Wrfl.p3d";
relSpeedMin = 0.797005;
soundOverride = "sprint";
soundEnabled = 1;
limitGunMovement = 0.1;
weaponIK = 1;
headBobStrength = 0.253731;
duty = 0.5;
ConnectTo[] = {};
InterpolateTo[] = {"AmovPercMstpSrasWrflDnon", 0.02, "AmovPercMrunSlowWrflDf", 0.025, "AmovPercMwlkSrasWrflDf", 0.025, "AmovPercMrunSrasWrflDf", 0.025, "AmovPercMsprSlowWrflDf_AmovPpneMstpSrasWrflDnon", 0.02, "AmovPknlMevaSrasWrflDf", 0.025, "AmovPercMevaSlowWrflDf", 0.025, "AmovPercMevaSrasWrflDfl", 0.025, "AmovPercMevaSrasWrflDfr", 0.025, "AdthPercMrunSlowWrflDf_6", 0.01, "AdthPercMrunSlowWrflDf_A1short", 0.01, "AdthPercMrunSlowWrflDf_A2short", 0.01, "AdthPercMrunSlowWrflDf_A3short", 0.01, "AdthPercMrunSlowWrflDf_A4short", 0.01};
};

Share this post


Link to post
Share on other sites

when i was with ACE, i wanted to change the same thing. I wasn't able to, and my conclusion at that point was that it isn't possible. Might be wrong though

Edited by PuFu

Share this post


Link to post
Share on other sites

That's a shame really :(

I guess it's somehow hardcoded into the game engine? Really strange and I don't understand why.

Share this post


Link to post
Share on other sites

Not everything is accessible and BI made more and more from OFP to OA.

So most likely a3 will open up the game some steps more.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×