Jump to content
Sign in to follow this  
SelectThis

Question re animations

Recommended Posts

I've used a few animations on my Huey models (unreleased so far) and come across the problem that they no longer become available once the helicopter leaves the ground. And once you land you have to get out to re-enable them.

Is there any way of getting them to work in the air?

SelectThis

Share this post


Link to post
Share on other sites

A? Imean - can you be more specific?! WHAT animations? What you have in mind?!

FlipeR

Share this post


Link to post
Share on other sites

Sliding doors (well.. rotating doors) and other rotating objects..not the gatling rotation though)

SelectThis

Share this post


Link to post
Share on other sites

Hmm... with what are you triggering these animations? The custom actions thing in the config?

Share this post


Link to post
Share on other sites

The gatling animation is realy easy! I made it work yesterday on TigerShark's Little Birds (MH6)!

Here is the .CPP code part you need:

//In the class CfgVehicles section you define this://

class ReloadAnimations

{

class M134MiniGun

{

weapon="M134MiniGun";

angle0=0;

angle1="-2 * 3.141592654";

multiplier=600;

type="rotation";

animPeriod=1;

selection="gatling";

begin="usti hlavne";

end="konec hlavne";

};

};

Commented:

weapon="M134MiniGun"; //The weapon name (class) you're defining for and already exist (is defined);

angle0=0; //starting angle, i.e. 0;

angle1="-2 * 3.141592654"; //How much to rotate per shot, in this case=2 * "Pi" or 2 * ~3.14;

multiplier=600; //Multiplier of rotation - affects the rotation speed;

type="rotation"; //Type of animation="rotation";

animPeriod=1; //have no idea;

selection="gatling"; //self explanatory;

begin="usti hlavne"; //self explanatory;

end="konec hlavne"; //self explanatory;

FlipeR

Share this post


Link to post
Share on other sites

@fliper: hmm when i look at your config piece i was wondering:

type="rotation";

couldnt it be another kind ofp type?? I know there are only rotations so far but what would it be for if there are no other possibilities???

cy

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (SelectThis @ Sep. 12 2002,19:52)</td></tr><tr><td id="QUOTE">Keg, yep the custom actions via the cpp.

STT<span id='postcolor'>

I think theres some sort of bug in 1.75 which causes just what you described with the custom actions

Share this post


Link to post
Share on other sites

Maslow: it seems that (for now) thats the only possible type!

FlipeR

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  

×