Jump to content
Sign in to follow this  
mondkalb

Destruction animations

Recommended Posts

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. whistle.gif ) 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 : Building {

reversed = 0;

hasDriver = 0;

icon = "iconStaticObject";

nameSound = "building";

accuracy = 0.005000;

simulation = "house";

cost = 1000;

picture = "pictureStaticObject";

irTarget = 0;

type = 1;

maxSpeed = 0;

coefInside = 6;

coefInsideHeur = 4.300000;

animated = 1;

placement = "vertical";

scope = 2;

displayName="OiltankAnimated";

model = "\MBG_SAP_Buildings1\MBG_Oltank3_Anim.p3d";

armor = 100;

destrType = "DestructBuilding";

vehicleClass = "MBG_SapClass";

ladders[] = { {"start1","end1" } , {"start2","end2" } };

class MarkerLights

{

class RedBlinking {

name = "Rotblink";

color[] = {1.0, 0.1, 0.1, 1};

ambient[] = {0.1, 0.01, 0.01, 1};

brightness = 0.02;

blinking = true;

};

};

class Destruction {

animations = {{"MBG_SAP_Buildings1\MBG_Oltank3_Anim.rtm", 0.500000, 1}};

};

};

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

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

Share this post


Link to post
Share on other sites

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

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  

×