OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Lean Bear on 21 Dec 2004, 16:20:09
-
How do you class addons which are houses (mainly) or other buildings?
I looked in the BIS config, but it came up with loads of wierd stuff which didn't help me at all.
-
like that
class CfgVehicles
{
class All{};
class Static: All{};
class Building: Static{};
class Strategic: Building{};
class xxxx: Strategic
{
scope=2;
icon="Unknown_object";
model="\xxxx\xxxxx";
displayName="some building";
accuracy=0.200000;
typicalCargo[]={};
destrType="DestructBuilding";
transportAmmo=0;
transportRepair=0;
transportFuel=0;
mapSize=11;
cost=0;
armor=2000;
};
};
-
What about if the building has ladders etc.?
-
add this into the code
ladders[]={{"start","end"}};
I think you have to define those in the memory lod
-
OK. Thanks for your help oyman.
JKust one more q. Does it really matter if the building is "Strategic" or "nonStrategic"?
-
OK. Thanks for your help oyman.
JKust one more q. Does it really matter if the building is "Strategic" or "nonStrategic"?
from my experiance, no :)
-
OK then.
Problem solved, thanks for your help oyman.