Jump to content
Sign in to follow this  
legion7698

gunner proxy issues.

Recommended Posts

Hey All,

I'm having some trouble using a custom proxy for a static weapon I'm making. I modified an existing model so there shouldn't be anything missing from there. The trouble occuring is either cannot load the proxy or the current one is now whenever I try and load the game it just wont start, no error just wont go. Its classed as a running process in windows task manager, processes.

Any help would be great.

regards,

LEGION7698.

Share this post


Link to post
Share on other sites

By "custom proxy" you mean a static animation of the gunner ? Because you don't have to modify a 3d model to create a new custom anim for the proxy gunner. Only create a rtm file (anim), a config entry of the cfgmoves to config the static anim, and a cfgvehicleaction entry to use this anim in the cfgvehicle section.

Like this :

class CfgMovesMC
{
class Default {};
class DefaultDie: Default {};
class StandBase: Default {};

class States
{
	class My_gunner_anim: StandBase
	{
		actions = StandTalkActions;
		file="\path to the pbo file\my_anim.rtm";
		speed = 10000000000.0;
		looped=true;
		soundEnabled=false;
		duty = RestDuty;
		interpolationSpeed=1;
		connectFrom[]={};
		connectTo[]={};
		interpolateTo[]={CombatDying,0.1,CombatDyingVer2,0.1,CombatDyingVer3,0.1};
	};
};
};


class CfgVehicleActions
{
My_gunner_anim="My_gunner_anim";
};

Then in the cfgvehicle section, put this line :

	gunnerAction="ManACt[b]My_gunner_anim[/b]";

And voila.

Share this post


Link to post
Share on other sites

Hey ProfTournesol,

Cheers for the help, but I have an idot question. Whats an rtm file and how do I make one

Share this post


Link to post
Share on other sites

Well, it's an anim file. Get OfpAnim errr...here to create new anims. Animations are a little weird to make, but for static anims it's quite easy. You may depbo the anims.pbo file which is in the Dta folder of OFP, then open those anims in OFPanim to see how static anims are.

Share this post


Link to post
Share on other sites

Hey ProfTournesol,

I'll give that a go and let you know how I do. Cheers for the help will post up if I get anymore problems.

Regards,

LEGION7698.

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  

×