Jump to content
joostsidy

Replacement config: no idle animations; cant get it working

Recommended Posts

I'm trying to make a no idle animations mod but I am stuck in my efforts. This is how far I've got, I'm a total modding noob:

 

- I have all the PBO tools and p-drive installed

- I have looked at the animations that I want to get rid off (yawning, boot poop scraping etc.). These animations contain the term 'aidl' (idle)

- I have located - I think - the relevant config.ccp (P:\a3\anims_f\config\sdr)

 

- In it I found an array of idle animations for the standing with rifle down position. I assumed clearing this array would disable the idle animations for standing up with rifle down

- I also assume the animations can be disabled through the config without deleting the animation or .rtm (?) files

- I constructed a pbo based on the modified config.ccp, but unfortunately it doesn't do anything

 

- If clearing that array doesn't work, I don't know what to do as the file contains a LOT of class definitions containing 'aidl' animations.

 

I know this type of mod exists or has existed so I hope someone can help me create one myself.

Share this post


Link to post
Share on other sites

I found the answer myself. Clearing the variantsPlayer array was indeed the answer.

 

class AmovPercMstpSlowWrflDnon: StandBase
        {
            visiblesize = 0.6;
            variantAfter[] = {30,30,30};
            variantsPlayer[] = {};

Share this post


Link to post
Share on other sites

Ok, previously I got it working by replacing the whole config.cpp. Now I want to do the same thing by only overwriting the variantsPlayer[] array. Unfortunately I can't get it working. Any suggestions?

 class CfgPatches
{
	class SID_noidle
	{
		units[] = {};
		weapons[] = {};
		requiredAddons[] = {"A3_Anims_F_Config_Sdr"};
		requiredVersion = 0.1;
	};
};

class CfgMovesBasic
{
	class Actions
	{
		class StandBase;
		class AmovPercMstpSlowWrflDnon: StandBase
		{
			variantsPlayer[] = {};
		};
	};
};

Share this post


Link to post
Share on other sites

looks alright

make sure A3_Anims_F_Config_Sdr is really the only or last loaded config to touch the parameter in the said class

also verify via the ingame browser or config dump if your change is active

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

×