Results 1 to 4 of 4

  Click here to go to the first Developer post in this thread.  

Thread: Destruction animations

  1.   Click here to go to the next Developer post in this thread.   #1
    Hi,
    im working on buildings, and since we got Ozon (I'm boycotting to say O2, BIS has just choosen the wrong name for the sequel program. ) you're able to create simple animations. I want to make some destruction animations like the radiotowers have. I made some, and Buldozer shows me, that they're working. So the next step is the cruel config...

    This is, what the special part looks like for now:
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class MBG_Sap_Oltank3_Anim &#58; Building {

    reversed = 0;
    hasDriver = 0;
    icon = &#34;iconStaticObject&#34;;
    nameSound = &#34;building&#34;;
    accuracy = 0.005000;
    simulation = &#34;house&#34;;
    cost = 1000;
    picture = &#34;pictureStaticObject&#34;;
    irTarget = 0;
    type = 1;
    maxSpeed = 0;
    coefInside = 6;
    coefInsideHeur = 4.300000;
    animated = 1;
    placement = &#34;vertical&#34;;
    scope = 2;
    displayName=&#34;OiltankAnimated&#34;;
    model = &#34;&#92;MBG_SAP_Buildings1&#92;MBG_Oltank3_Anim. p3d&#34;;
    armor = 100;
    destrType = &#34;DestructBuilding&#34;;
    vehicleClass = &#34;MBG_SapClass&#34;;

    ladders&#91;&#93; = { {&#34;start1&#34;,&#34;end1&#34; } , {&#34;start2&#34;,&#34;end2&#34; } };

    class MarkerLights
    {
    class RedBlinking {
    name = &#34;Rotblink&#34;;
    color&#91;&#93; = {1.0, 0.1, 0.1, 1};
    ambient&#91;&#93; = {0.1, 0.01, 0.01, 1};
    brightness = 0.02;
    blinking = true;
    };
    };


    class Destruction {
    animations = {{&#34;MBG_SAP_Buildings1&#92;MBG_Oltank3_Anim.rtm &#34;, 0.500000, 1}};
    };
    };[/QUOTE]

    So, ArmA starts without any problems, but, if I destroy this buildings, nothing happens execpt some smoke.

    And another problem, the ladders just don&#39;t like to work. Does anyone have an example config with working ladders?



    >>> mondkalb.org - For DK: Stikkontakt

  2. #2
    Chief Warrant Officer
    Join Date
    Sep 6 2001
    Location
    British Columbia, Canada
    Posts
    3,458
    ladders[] = {{"start","end"}};
    that was all i need for working ladder
    [im]http://www.roughnecks.org/malboeuf/pissonTKC.gif[/img] >100kb
    Roughneck Whore House - rn1.roughnecks.org
    AMD 64x2 4400 2200@2450 Mhz- 2 gig dual DDR PC4000 - SATA HDs

  3. #3
    All static objects with ladders inherit from class House, not class building.

  4.   This is the last Developer post in this thread.   #4
    BI Developer Mondkalb's Avatar
    Join Date
    Aug 15 2005
    Location
    Prague
    Posts
    665
    Author of the Thread
    Oh, thanks&#33;

Posting Permissions

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