Jump to content
Sign in to follow this  
matteo1944

How to make static object to be destroyable?

Recommended Posts

I know this has stg to do with .cfg but i simply don't have enough experience in this part of creating

static objects...

So lets say I have this barbedwire,and i want it to be destroyed with satchel,and when satchel destroy every single thing in 20 meters, only my barbedwire is still there...And yes I have changed in config armor to 200,more or less it does not want to dissappear....maybe example config?

Edited by Matteo1944

Share this post


Link to post
Share on other sites

// Objects by Matteo1944

#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 WW2

{

units[] = {

bbw,

};

weapons[] = {};

requiredVersion = 1.01;

};

};

class CfgVehicles

{

class All {};

class AllVehicles: All {};

class Land: AllVehicles {};

class Static : Land {};

class Building : Static {};

class Strategic: Building{};

class bbwire: Strategic

{

model="\d-dayobj\bbw";

armor=200;

scope=2;

vehicleClass="Matteo1944- D-day Objects";

displayName="Barbedwire";

};

};

Share this post


Link to post
Share on other sites

Ok, so, you should add a destruction type in the config, such as

 destrType = "DestructBuilding";

All destruction types are here.

If it doesn't work :

(1) are there some named propreties in the geometry lod of the object (in oxygen, menu => "window" =>"Named Properties") ? If yes, which one ?

(2) Lower the armor value.

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  

×