So, like this?
PHP Code:
class Land_DAR_Wall: House {
vehicleClass = "dar_objects";
(Omitted rest of config above and below line 18)
that shows the defined name in cfgvehilceclass
wait,, what? I need to define this custom or something?
[hr]
How does this look?
PHP Code:
class CfgPatches {
class dar_objects {
units[] = {"DAR_Wall"};
weapons[] = {""};
};
};
class CfgVehicleClasses {
class dar_objectsVehicleClass {
displayName = "DAR Objects";
};
};
{
class house; //loading the basics
class Land_DAR_Wall : House
{
vehilceClass = "dar_objects"; // that shows the defined name in cfgvehilceclass >> DAR Objects<<
model="xxx\xxx\dar_wall.p3d"; // thats the folder to your model
display = "DAR Wall"; // that shows you DAR WALL if you have open DAR Objects
};
};
class CfgVehicles {
class House;
class DAR_Wall: House {
vehicleClass = "dar_objects";
accuracy = 0.2; // accuracy needed to recognize type of this target
scope = public;
simulation = "House";
camouflage = 10; // how dificult to spot - bigger - better spotable
Audible = 10; // audible - bigger - better heard
mapSize = 0.2;
cost = 1000;
// threat (VSoft, VArmor, VAir), how threatening vehicle is to unit types
threat[] = {1, 1, 1};
armor = 5000;
irtarget = false;
destrType = "DestructNo";
lasertarget = false;
side = TCivilian;
displayName = "T Barrier";
animated = false;
model = "\dar_objects\DAR_TBar.p3d";
};
};