mondkalb 1087 Posted September 16, 2007 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 : 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
RN Malboeuf 12 Posted September 16, 2007 ladders[] = {{"start","end"}}; that was all i need for working ladder Share this post Link to post Share on other sites
UNN 0 Posted September 16, 2007 All static objects with ladders inherit from class House, not class building. Share this post Link to post Share on other sites
mondkalb 1087 Posted September 16, 2007 Oh, thanks! Share this post Link to post Share on other sites