binkster 0 Posted January 12, 2007 Ok im trying to make buildings for a cti to not fall and disapear. Â When the building is 100% dammage i would like it to smoke/flame. Â Example class Land_garaz_bez_tanku Class Mfcti116westheavyfactory:Land_garaz_bez_tanku { Â side = Twest; Â Â Armor = 800; Â Â destrType="DestructBuilding"; Â <---MAYBE CHANGE THIS? }; Or should I add new script maybe { init = heavyfactory.sqs; }; and maybe make a script to where when buildings = 100% dammage makes it smoke/fire....?? thanks for any help. Â Rn and kaos are working together and we are almost done with mfcti. Â About all we have left is this bug when buildings disapear after they are destoryed, kinda makes no use for workers. Share this post Link to post Share on other sites
binkster 0 Posted January 12, 2007 So far I got this. Â This is set in the addon class MFCTI116westBarracks:Land_budova1 { side = TWest; displayName = $STRMFCTI116WESTBARRACKS; armor=500; destrType="DestructBuilding"; scope = 2; class DestructionEffects { class Light1 { simulation = "light"; type = "ObjectDestructionLight"; position = "destructionEffect1"; intensity = 1; interval = 1; lifeTime = 1; }; class Smoke1 { simulation = "particles"; type = "ObjectDestructionSmoke"; position = "destructionEffect1"; intensity = 1; interval = 1; lifeTime = 2; }; class Fire1 { simulation = "particles"; type = "ObjectDestructionFire"; position = "destructionEffect1"; intensity = 1; interval = 1; lifeTime = 2; }; class Sparks1 { simulation = "particles"; type = "ObjectDestructionSparks"; position = "destructionEffect1"; intensity = 1; interval = 1; lifeTime = 2; }; }; }; Here is a pic But it does not work in multiplayer. Â I was hosting and the other people couldnt see it. Â Any way to change it for mp Share this post Link to post Share on other sites
Jack Hammersmith 0 Posted January 12, 2007 ive changed the destructiontype to destructtent for my buildings in crcti. Its not looking the best but it works. Btw it seems that the destructioneffects are only local. But im not sure. Share this post Link to post Share on other sites