Results 1 to 3 of 3

Thread: Animate door of the LVTP-7

  1. #1

    Help with animation in a model

    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
    Last edited by catito14; Feb 20 2010 at 01:27.

  2. #2
    Staff Sergeant F2F_BHO's Avatar
    Join Date
    Jan 27 2010
    Location
    Jacksonville Al
    Posts
    276
    well you might get some better info if it where in English as well could you try translating please/

    "Some of u been trying to write rhymes for years but weak ideas irratate my ears,is this the best that you can make? Cause if not and you got more then I'll wait"

  3. #3
    config.cpp

    class AnimationSource {
    class puertalvtp7
    {
    scope = true
    animPeriod = 3.7;
    initPhase = 0;
    };};

    After your "radius" is a ; missing

Posting Permissions

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