Jump to content
Sign in to follow this  
Floyd3124

ECP with Locke_Anims

Recommended Posts

Hi I just reinstalled OFP and got the ECP mod but I wanted to use Lockes leaning anims with the mod, I tried downloading the config Mr_Tea made but the link is dead I was wondering if someone could post it or email me the config, Thanks

Share this post


Link to post
Share on other sites

I did it only for DMA ECP Armymod pack, but it is easy to do by yourself. Just open config.cfg of ECP and of LAM. Find all // in file, and copy paste code after that. Remember that you have to swap old parts to new ones, not to add (then there would be an error saying that some *** cannot be defined twice).

If you want to use DMA ECP mod then I can send you config already done.

Share this post


Link to post
Share on other sites

I'm a noob when it comes to config editing could you explain in step by step how to add the locke_anims config to the ECP config or if you could make one for me that would be great, thanks

Share this post


Link to post
Share on other sites

Change:

in class CombatActions : NoActions

Quote[/b] ] fastL="CombatRunL";

fastR="CombatRunR";

to:

Quote[/b] ] fastL="Locke_StandLeanLeft";

fastR="Locke_StandLeanRight";

From:

in class CrouchActions : CombatActions

Quote[/b] ] fastL="CrouchRunL";

fastR="CrouchRunR";

to:

Quote[/b] ] fastL="Locke_CrouchLeanLeft";

fastR="Locke_CrouchLeanRight";

From:

in class CombatActions : NoActions

Quote[/b] ] fastL="CombatRunL";

fastR="CombatRunR";

To:

Quote[/b] ] fastL="Locke_StandLeanLeft";

fastR="Locke_StandLeanRight";

From:

in class LyingActions : NoActions

Quote[/b] ] fastL="LyingCrawlL";

fastR="LyingCrawlR";

To:

Quote[/b] ] fastL="Locke_LyingRollLeft";

fastR="Locke_LyingRollRight";

Change whole class:

Quote[/b] ]class CrouchRunF : CombatRunF

{

....something here...

}

To:

Quote[/b] ] class CrouchRunF:CombatRunF

{

actions="CrouchRunFActions";

file="\Locke_Anims\crouchwalk1.rtm";

speed=-0.9;

looped=1;

duty=-0.7;

relSpeedMin=0.7;

relSpeedMax=1.0;

interpolateTo[]={"Crouch",1};

enableOptics=0;

};

Change whole class:

Quote[/b] ]class CrouchWalkF:CombatWalkF

{

...

}

To:

Quote[/b] ] class CrouchWalkF:CombatWalkF

{

actions="CrouchActions";

file="\Locke_Anims\crouchwalk1.rtm";

speed=-0.9;

looped=1;

duty=-0.7;

relSpeedMin=0.7;

relSpeedMax=1.0;

interpolateTo[]={"Crouch",1};

enableOptics=0;

};

Change class M2Gunner : Driver

To something like that (depends on config you are changing):

Quote[/b] ] class M2Gunner : Driver

{

file="\Locke_Anims\M2Gunnerstat.rtm";

speed=10000000000.000000;

looped=1;

variantsAI[]={"M2GunnerV1",0.700000,"M2Gunner"};

interpolateWith[]={"M2GunnerV1",0.5,"M2GunnerDying",0.1};

equivalentTo="M2Gunner";

interpolationSpeed=1;

connectTo[]={"M2GunnerDying",1};

};

Now find something like that:

Quote[/b] ] class CivilGetOutTank : Default

{

actions="CivilActions";

file="civilseskok.rtm";

speed=-0.915000;

looped=0;

soundEnabled=0;

disableWeapons=1;

interpolateTo[]={"CivilDying",0.100000,"CivilDyingVer2",0.100000};

};

And after it add this:

Quote[/b] ]class Locke_LyingRollRight: Default

{

preload=0;

actions="LyingActions";

file="\Locke_Anims\Lying_Roll_Right.rtm";

speed=-1.000000;

enableOptics=0;

connectFrom[]={"Lying",1};

connectTo[]={"Lying",1};

soundEdge1=0.100000;

soundEdge2=0.6;

soundEnabled=1;

soundOverride="crawl";

looped=1;

};

class Locke_LyingRollLeft: Locke_LyingRollRight

{

file="\Locke_Anims\Lying_Roll_Left.rtm";

};

class Locke_StandLeanLeft : CombatWalkF

{

actions="CombatActions";

file="\Locke_Anims\Stand_Lean_Left.rtm";

speed=-0.800000;

looped=0;

duty=-0.700000;

soundOverride="halt";

soundEnabled=1;

soundEdge1=0.100000;

soundEdge2=0.15;

legs=legsNo;

relSpeedMin=0.700000;

relSpeedMax=1.000000;

interpolationSpeed=2;

interpolateTo[]={"Combat",1};

interpolateFrom[]={"Combat",1};

};

class Locke_StandLeanRight : Locke_StandLeanLeft

{

file="\Locke_Anims\Stand_Lean_Right.rtm";

interpolationSpeed=3;

};

class Locke_CrouchLeanLeft : CrouchWalkF

{

actions="CrouchActions";

file="\Locke_Anims\Crouch_lean_left.rtm";

speed=-0.800000;

looped=0;

duty=-1;

soundEnabled=1;

soundOverride="halt";

soundEdge1=0.100000;

soundEdge2=0.2;

enableOptics=1;

legs=legsNo;

relSpeedMin=0.700000;

relSpeedMax=1.000000;

interpolationSpeed=1.2;

interpolateTo[]={"Crouch",1};

interpolateFrom[]={"Crouch",1};

};

class Locke_CrouchLeanRight : Locke_CrouchLeanLeft

{

file="\Locke_Anims\Crouch_lean_right.rtm";

interpolationSpeed=2;

};

And then last changes:

Quote[/b] ]combatF[]={...};

To:

Quote[/b] ]combatF[]={0.900000,"Combat","CombatStillPlayer","CombatRelaxed",&quot

;CombatRunF","CombatRunLF","CombatRunRF","CombatRunL",&

quot;CombatRunR","CombatSprintF","CombatSprintLF","CombatSpr

intRF","CombatWalkF","CombatWalkLF","CombatWalkRF",&quo

t;CombatWalkL","CombatWalkR","Locke_StandLeanLeft","Locke_St

andLeanRight"};

And so on with:

Quote[/b] ]crouchF[]={0.500000,"CrouchIM","CrouchRunF","CrouchRunLF","Crouch

RunRF","CrouchRunL","CrouchRunR","CrouchSprintF","

CrouchSprintLF","CrouchSprintRF","Locke_CrouchLeanLeft","Loc

ke_CrouchLeanRight"};

And

Quote[/b] ]lyingF[]={1,"Lying","LyingCrawlF","LyingFastCrawlF","LyingCrawlL

F","LyingCrawlRF","LyingCrawlL","LyingCrawlR","Loc

ke_LyingRollLeft","Locke_LyingRollRight"};

These are instruction for all configs (ECP, WGL, whatever). Some of them are more similar, other less. Use wit, luck and few tries wink_o.gif If you will try to understand, you will do it easily. If you will get error, read it and understand. Then you will manage to solve it.

All credits to Locke, Sanctuary, Milkman and Singapore Armed Forces Mod Team (as I understand from original config done by Locke).

Remember that you need locke_anims.pbo in some addons folder.

You can find it here:

http://ofp.gamezone.cz/index.php?showthis=8187

Share this post


Link to post
Share on other sites

thanks for the extensive guide notworthy.gif

latest WGL did have it in already, but we forgot about the interpolations part wink_o.gif

yet pretty useful for anyone else like to include it too thumbs-up.gif

Share this post


Link to post
Share on other sites

Thank you so much for explaining in a way that I could understand now its time to enjoy OFP once again.

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  

×