bracer 12 Posted December 18, 2011 Hey! I'm working on some custom houses, and for different reasons I want them to be indestructable atm. So how, can I in the easiest way possible make sure that my building don't sink into the ground when a M1A1 crashes into it? Edit the mass, or is it the armor value in the config that needs editing? Or some other trick!? Thanks in advance! Cheers /Bracer Share this post Link to post Share on other sites
max power 21 Posted December 19, 2011 http://community.bistudio.com/wiki/CfgVehicles_Config_Reference#destrType Share this post Link to post Share on other sites
bracer 12 Posted December 19, 2011 Thanks! Will give it a try! ---------- Post added at 01:52 PM ---------- Previous post was at 12:47 PM ---------- Still no luck, the building still just sinks through the ground. Here's the config: #define TEast 0#define TWest 1 #define TGuerrila 2 #define TCivilian 3 #define TSideUnknown 4 #define TEnemy 5 #define TFriendly 6 #define TLogic 7 #define true 1 #define false 0 #define private 0 #define protected 1 #define public 2 class CfgPatches { class bra_battleship { units[] = {}; weapons[] = {}; requiredAddons[] = {}; }; }; class CfgVehicles { class wall; class house; class bra_wall : wall { scope = 1; model = "\bra_battleship\bra_wall.p3d"; armor = 100; DestrType = "DestructNo"; }; class bra_roof : wall { scope = 1; model = "\bra_battleship\bra_roof.p3d"; armor = 200; DestrType = "DestructNo"; }; class bra_highrise1 : house { scope = 1; model = "\bra_battleship\bra_highrise1.p3d"; armor = 2000; DestrType = "DestructNo"; }; class bra_complex1 : house { scope = 1; model = "\bra_battleship\bra_complex1.p3d"; armor = 2000; DestrType = "DestructNo"; }; }; Share this post Link to post Share on other sites
.kju 3245 Posted December 19, 2011 try with adding the required defines: http://community.bistudio.com/wiki/Models_%26_Classnames:_DestrTypes Share this post Link to post Share on other sites
bracer 12 Posted December 20, 2011 I didn't get the destructType to work. But I found another simple way, add a property to the object in O2 and call it "dammage" value = 0. Share this post Link to post Share on other sites
max power 21 Posted December 20, 2011 I'm glad you got it working. Thanks for posting your solution! Share this post Link to post Share on other sites
bracer 12 Posted December 20, 2011 I hope there's no backsides to doing it this way. Still I need to learn how to write configs properly, so I'll investigate destructType further. Thanks again for your help! I'll probably need more as I progress :-) Cheers Share this post Link to post Share on other sites