Jump to content
Sign in to follow this  
catito14

Animate door of the LVTP-7

Recommended Posts

Hi, i need to make the animation to open the back door of the Amphibious LVTP-7. I tried but i do not have luck. Here is what i did:

I put in the Class Animations this:

class puertalvtp7

{

type = "rotation";

animperiod = 3.7;

selection ="ramp";

axis = "alfa_porton";

angle0 = 0;

angle1= 2.100;

};

And in CFGVehicles in the class of the Vehicle i put this:

class UserActions

{

// Abrir y cerrar el porton

class SubirPorton

{

displayName="Subir Porton";

position="alfa_porton";

radius=3.2

condition="this animationPhase ""puertalvtp7"">= 0.5";

statement="this animate [""puertalvtp7"", 0]";

};

class BajarPorton

{

displayName="Bajar Porton";

position="alfa_porton";

radius=3.2

condition="this animationPhase ""puertalvtp7"" < 0.5";

statement="this animate [""puertalvtp7"", 1]";

};

};

What is wrong with this??

Regards

Edited by catito14

Share this post


Link to post
Share on other sites

well you might get some better info if it where in English as well could you try translating please/

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  

×