I've been looking at the tutorial from Mondkalb and ive been attempting to change the config by deleting things that dont apply for my wall such as door animations and things but i still am completely confused on how to make the config work for my wall, i tried this and it dosent work but i dont have any idea what it needs to work
Code:
/* Declaration as Addon-Content.*/
class CfgPatches {
/* "Hey ArmA2, this is an addon and it's named "Castle_Wall"*/
/* The name should be indentical to the folder's name*/
class Castle_Wall {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
};
/* The category in the editor like "Objects" or "Cars".*/
class CfgVehicleClasses {
class Castle_WallsVehicleClass {
displayName = "Castle Walls";
};
};
/* This is where arma gets the information about a new object. */
/* Donät be confused by the "vehicles" in CfgVehicles*/
class CfgVehicles {
class Land_Castle_Wall: Castle_Housebase {
model = "\Castle_Wall\Addons\Castle_Wall.p3d"; /* path to the object */
displayName = "$STR_Castle_Wall"; /* entry in Stringtable.csv */
/* Important are the $ and the capital STR_*/
nameSound = "";
mapSize = 8; /* Size of the icon */
icon = "iconStaticObject"; /* Path to the picture shown in the editor. */
accuracy = 1000;
armor = 4500000; /* "Lifepoints", if you like to call it that way.*/
destrType = "DestructBuilding"; /* type of destruction, when armor = 0 */
scope = 2; /* Display it in the editor? 1 = No, 2 = Yes */
};
};
};
};
I've named my addon castle_wall and its found in the arma folder under Castle_wall\Addons\, sorry if that if completely utterly wrong or ruined but im still struggling to work out what i need in that config for my wall.