Results 1 to 5 of 5

Thread: Custom Vehicle Animations

  1. #1
    Does anyone know how to make a soldier in a vehicle's cargo play a custom animation, much like with the BAS Blackhawks? Much help would be appreciated....

    -Homefry

  2. #2
    (crew _heli select 2) switchMove "my_animation.rtm"

    "select 2" can be any number, depending on which crew member you want to select

    What you want to do is possible, depending on your imagination and the way you implement it

    Join the CiA Coop Nights!

    "Ok Ok they do not certificate "Klobürsten" Addons but this Addons are really for the Ass" (MCPXXL)

  3. #3
    Not my thread, but thanks hardrock. I would have been posting something like this in a couple of days for my truck....




  4. #4
    Just reading my answer and I notice that it was trash what I said.

    You can't write
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">&#40;crew _heli select 2&#41; switchMove &#34;my_animation.rtm&#34;[/QUOTE]

    It has to be without the ".rpm", and the animation has to be defined in your config.cpp or description.ext of the mission in CfgMovesMC

    for example
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgMovesMC
    {
    class Default {};

    class States
    {
    class my_animation&#58; Default
    {
    file=&#34;my_animation.rtm&#34;;
    speed = 2.1; // Speed of the animation
    looped=false;
    duty = -2.1;
    interpolationSpeed=2;
    connectFrom&#91;&#93;={Stand, 1, StandVar2, 1, StandVar3, 1};
    connectTo&#91;&#93;={Stand, 1, StandVar2, 1, StandVar3, 1};
    interpolateTo&#91;&#93;={StandDying,0.1,StandDying Ver2,0.1};
    };
    };
    };[/QUOTE]

    then you can write
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">&#40;crew _heli select 2&#41; switchMove &#34;my_animation&#34;[/QUOTE]

    and it should work.

  5. #5
    Ah, shows how much help I would have needed. Thanks again.
    Would I be able to put that line anywhere? If I wanted the passenger animation to change when a certain even happens I could put another line like that in the script and the crew member would start using the new animation?




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •