bardamu 0 Posted February 12, 2004 Hi all need help again How do you set the confing and O2 properties for a fence like this so that it behave like regular BIS one;a tank can crush it but not a human. Here's a pic I put it under the Fence class and the mass in O2 is set at 200 Kgs.Like that a tank pass through it. I guess this prob is related with the config for the addon,maybe i have to set a property in the config file like for objects anim but i don't know which one. So if anyone can help... bardamu Share this post Link to post Share on other sites
scousejedi 0 Posted February 12, 2004 In GEO LOD press Alt + P The right click in the new window and select 'new' class value fence dammage value fence try that Share this post Link to post Share on other sites
bardamu 0 Posted February 13, 2004 i tried with these properties: dammage tree map fence But the fence doesn't bend like BIS ones,its only crushed and destroyed... i also set the points properties in O2 to fence but it only collapse in game and dont lay down like regular fences in ofp. Any idea? bardamu Share this post Link to post Share on other sites
bardamu 0 Posted February 13, 2004 i sorted it out it was a config prob indeed I just had destrType="DestructTree" in cfg and now it works great. NB:thanx for the properties tip. Go on bardamu Share this post Link to post Share on other sites
Guest Posted February 14, 2004 You should make sure that the named properties values are the same as any config values. For example if you have destructtype=tree then you should as have dammage=tree. Unbinarized OFP will use the config value, Binarized, it will use the O2 value (at least, this is what I've always found). So make sure you are consistant, and it should all be fine. BTW dammage=fence I don't think is a real value. Watch the output of Binarize carefully if you are going to use that value. Share this post Link to post Share on other sites
bardamu 0 Posted February 14, 2004 Thx a lot Leone i used dammage = tree in O2 properties and destrType="DestructTree" in the config. At the moment it works fine. Share this post Link to post Share on other sites
Guest Posted February 16, 2004 The other little thing you can do (saves time on big configs) is have these defines up the top of your config: Quote[/b] ]//type destrType#define DESTRUCTNO 0 #define DESTRUCTBUILDING 1 #define DESTRUCTENGINE 2 #define DESTRUCTTREE 3 #define DESTRUCTTENT 4 #define DESTRUCTMAN 5 #define DESTRUCTDEFAULT 6 then just have: Quote[/b] ]destrType=0; or whatever number you need. Share this post Link to post Share on other sites
bardamu 0 Posted February 16, 2004 Nice again thx very much again Good thing to know. Share this post Link to post Share on other sites
Battling 0 Posted February 17, 2004 hi have a very similar problem with my streetlamp i definied it as CfgNonAiVehicle and put there destrType=Tree<-not wrote this way.I also put in the model class streetlamp,dammage tree but it will not fall over if you drive over it,tanks could drive through it Share this post Link to post Share on other sites
Guest Posted February 17, 2004 That's (as far as I know) because it is defined as cfgNonAIVehicles. You'll have to define it differently to get it to work. Have a look at the OFPEC forums for more info. Share this post Link to post Share on other sites