Jump to content
Sign in to follow this  
VladAlex

How to create a building config ???

Recommended Posts

Hello !

Im trying to integrate static Model in Arma but i dont suceed... Please give me a basic config exemple for a building.

( I already open the building.pbo but i dont suceed !wink_o.gif

Share this post


Link to post
Share on other sites

this is a quick one I made :

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#define private 0

#define protected 1

#define public 2

#define TEast 0

#define TWest 1

#define TGuerrila 2

#define TCivilian 3

#define TSideUnknown 4

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

class CfgPatches {

class CABuildings {

units[] = {"Shed", "Fortress1", "Camp",

"CampEmpty", "CampEast", "CampEastC",

"ACamp", MASH, "Grave", "GraveCross1",

"GraveCross2", "GraveCrossHelmet",

"Table", "Tablemap", "Chair", "ChairX",

"Wall1", "Walldoor", "Wallend", "Wallhole",

"Land_radar",tower2,MyBuildings};

weapons[] = {};

requiredVersion = 0.1;

requiredAddons[] = {"CAData"}; };};

class CfgVehicles {

class Thing;

class Building;

class Strategic;

class NonStrategic : Building {

class DestructionEffects;};

class HouseBase;

class Land_VASICore;

class House : HouseBase {

class DestructionEffects;};

class Ruins;

class Church : NonStrategic {

scope = protected;

displayName = $STR_DN_CHURCH;

nameSound = "church";

accuracy = 0.25;

simulation = "church";

armor = 1000;

class DestructionEffects {

class Smoke1 {

simulation = "particles";

type = "HouseDestructionSmoke";

position = "destructionEffect1";

intensity = 0.15;interval = 1;

lifeTime = 0.05;};

class Smoke2 {

simulation = "particles";

type = "HouseDestructionSmoke2";

position = "destructionEffect1";

intensity = 0.15;

interval = 1;

lifeTime = 0.01; };

class Smoke3 {

simulation = "particles";

type = "HouseDestructionSmoke3";

position = "destructionEffect1";

intensity = 0.15;

interval = 1;

lifeTime = 0.01; };

class Smoke4 {

simulation = "particles";

type = "HouseDestructionSmoke4";

position = "destructionEffect1";

intensity = 0.15;

interval = 1;

lifeTime = 0.01; };

class HouseDestr {

simulation = "destroy";

type = "DelayedDestruction";

position = "";

intensity = 1;

interval = 1;

lifeTime = 1; }; }; };

class MyBuiding : Strategic {

scope = public;

model = "\pboName\modelName";

icon = "\Ca\buildings\Icons\i_camosmall_CA.paa";

displayName = diplayedName;

animated = false;

vehicleClass = "objects";

nameSound = "bunker";

accuracy = 0.2;

typicalCargo[] = {};

destrType = "DestructBuilding";

transportAmmo = 0;

transportRepair = 0;

transportFuel = 0;

mapSize = 11;

cost = 0;

armor = 800; };

}

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  

×