Jump to content
Sign in to follow this  
FA Dalai Lamar

Combing config problem

Recommended Posts

Hey guys, Having a problem with this config.....I hate huge configs, but EddyD wants these combined to release with project RACS...Any help would be most appreciated!

Thanks in advance!

Best Regards,

Lamar

/*

CONFIG BY FA_DALAI_LAMAR (Project Racs)

*/

#define TEast 0

#define TWest 1

#define TGuerrila 2

#define TCivilian 3

#define TSideUnknown 4

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

#define true 1

#define false 0

#define private 0

#define protected 1

#define public 2

class CfgPatches

{

class Aircraft_Shelters

{

units[] = {iraq_has};

weapons[] = {};

requiredVersion = 0.10;

};

};

class cfgvehicleClasses

{

class Aircraft_Shelters

{

displayName = "Aircraft_Shelters";

};

};

class Rotation

{

type = "translation";

memory = 1;

minValue = 0;

maxValue = 1;

angle0 = 0;

angle1 = 1;

};

class CfgSkeletons

{

class WAR_HAS_Skeleton

{

isDiscrete=1;

skeletonInherit = "";

skeletonBones[]={"doorr","","doorl","","doorrb","&q

uot;,"doorlb","",};

};

class hangBONES

{

isDiscrete=1;

skeletonInherit = "";

skeletonBones[]={"doorf","doorL","doorb",""};

};

class soviet_B_has_Skeleton

{

isDiscrete=1;

skeletonInherit = "";

skeletonBones[]={"doorr","","doorl",""};

};

class soviet_has_Skeleton

{

isDiscrete=1;

skeletonInherit = "";

skeletonBones[]={"doorr","","doorl",""};

};

class soviet_D_has_Skeleton

{

isDiscrete=1;

skeletonInherit = "";

skeletonBones[]={"doorr","","doorl",""};

};

};

class CfgModels

{

class Shelter;

class COLD_WAR_HAS : Shelter

{

sectionsInherit="";

sections[]={"doorr","doorl","doorrb","doorlb"};

skeletonName = "WAR_HAS_Skeleton";

class Animations

{

class front_right

{

type = "translationX";

animPeriod = 4;

source = "user";

selection = "doorr";

minValue = 0.000;

maxValue = 11.000;

};

class front_left

{

type = "translationX";

animPeriod = 4;

source = "user";

selection = "doorl";

minValue = -11.000;

maxValue = -0.000;

};

class back_right

{

type = "translationX";

animPeriod = 4;

source = "user";

selection = "doorrb";

minValue = 0.000;

maxValue = 11.000;

};

class back_left

{

type = "translationX";

animPeriod = 4;

source = "user";

selection = "doorlb";

minValue = -11.000;

maxValue = -0.000;

};

};

};

class euro_has_1: Shelter

{

sectionsInherit="";

sections[]={"doorf"};

skeletonName = "hangBONES";

class Animations

{

class doorfanim

{

type="rotation";

animPeriod=1;

source="doorf";

selection="doorf";

minvalue=0;

maxvalue=1;

axis="doorfaxis";

angle0=0;

angle1=-1.57;

};

};

};

class euro_has_2 : shelter {};

class euro_has_3 : shelter

class euro_HAS_3: Shelter

{

skeletonName = "hangBONES";

sectionsInherit="";

sections[]={doorL};

class Animations

{

class doorLanim

{

type="rotation";

animPeriod=1;

source="doorL";

selection="doorL";

minValue=0;

maxValue=1;

axis="doorlaxis";

angle0=0;

angle1=-0.12;

};

};

};

class euro_has_4 : shelter {};

class euro_has_5 : COLD_WAR_HAS

class euro_has_5: Shelter

{

skeletonName = "hangBONES";

sectionsInherit="";

sections[]={doorf};

class Animations

{

class doorfanim

{

type="rotation";

animPeriod=6;

source="doorf";

selection="doorf";

minvalue=0;

maxvalue=1;

axis="doorfaxis";

angle0=0;

angle1=-1.56;

};

};

};

class euro_has_6: Shelter

{

skeletonName = "hangBONES";

sectionsInherit="";

sections[]={doorf, doorb};

class Animations

{

class doorfanim

{

type="rotation";

animPeriod=1;

source="doorf";

selection="doorf";

minvalue=0;

maxvalue=1;

axis="doorfaxis";

angle0=0;

angle1=-1.57;

};

class doorbanim

{

type="rotation";

animPeriod=1;

source="doorb";

selection="doorb";

minvalue=0;

maxvalue=1;

axis="doorbaxis";

angle0=0;

angle1=1.57;

};

};

};

class euro_has_7 : shelter {};

class soviet_has : shelter

{

sectionsInherit="";

sections[]={"doorr","doorl"};

skeletonName = "soviet_has_Skeleton";

class Animations

{

class front_right

{

type = "translationX";

animPeriod = .5;

source = "user";

selection = "doorr";

minValue = 0.000;

maxValue = 8.1;

};

class front_left

{

type = "translationX";

animPeriod = .5;

source = "user";

selection = "doorl";

minValue = -8.1;

maxValue = 0.000;

};

};

};

class soviet_B_has : shelter

{

sectionsInherit="";

sections[]={"doorr","doorl"};

skeletonName = "soviet_B_has_Skeleton";

class Animations

{

class front_right

{

type = "translationX";

animPeriod = .5;

source = "user";

selection = "doorr";

minValue = 0.000;

maxValue = 8.1;

};

class front_left

{

type = "translationX";

animPeriod = .5;

source = "user";

selection = "doorl";

minValue = -8.1;

maxValue = 0.000;

};

};

};

class soviet_D_has : shelter

{

sectionsInherit="";

sections[]={"doorr","doorl"};

skeletonName = "soviet_D_has_Skeleton";

class Animations

{

class front_right

{

type = "translationX";

animPeriod = .5;

source = "user";

selection = "doorr";

minValue = 0.000;

maxValue = 8.1;

};

class front_left

{

type = "translationX";

animPeriod = .5;

source = "user";

selection = "doorl";

minValue = -8.1;

maxValue = 0.000;

};

};

};

class iraq_has : shelter {};

class soft_shelter : shelter {};

};

class CfgVehicles

{

class All;

class Static : all {};

class Building : Static {};

class Strategic : Building {};

class Shelter: Strategic{};

class COLD_WAR_HAS: Shelter

{

scope=2;

armor=90000;

attendant=1;

animated=1;

vehicleClass="Aircraft_Shelters";

displayName="WAR_HAS";

model="\eddyd_shelters\COLD_WAR_HAS.p3d";

icon = "\eddyd_shelters\Icon.paa";

transportAmmo = 300000;

transportFuel=50000;

transportRepair=20000000;

accuracy = 0.300000;

mapSize=40;

class MarkerLights

{

class WhiteBlinking

{

name="svet1";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

class WihteBlinking2

{

name="svet2";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

class WihteBlinking3

{

name="svet3";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

class WihteBlinking4

{

name="svet4";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

};

class AnimationSources

{

class front_right

{

source = "user";

animPeriod = 1;

initPhase = 0;

};

class front_left

{

source = "user";

animPeriod = 1;

initPhase = 0;

};

class back_right

{

source = "user";

animPeriod = 1;

initPhase = 0;

};

class back_left

{

source = "user";

animPeriod = 1;

initPhase = 0;

};

};

class UserActions

{

class CDoor1

{

displayName="Close Front Right";

onlyforplayer = false;

position="doorraxis";

radius=25;

condition="this animationPhase ""front_right"" < 0.5";

statement="this animate [""front_right"",10]; this say ""doorclose""";

};

class ODoor1

{

displayName="Open Front Right";

onlyforplayer = false;

position="doorraxis";

radius=25;

condition="this animationPhase ""front_right"" >= 0.5";

statement="this animate [""front_right"", 0]; this say ""dooropen""";

};

class CDoor2

{

displayName="Close Front Left";

onlyforplayer = true;

position="doorlaxis";

radius=25;

condition="this animationPhase ""front_left"" == 0";

statement="this animate [""front_left"",-10.5]; this say ""doorclose""";

};

class ODoor2

{

displayName="Open Front Left";

onlyforplayer = false;

position="doorlaxis";

radius=25;

condition="this animationPhase ""front_left"" < 0";

statement="this animate [""front_left"", 0]; this say ""dooropen""";

};

class CDoor3

{

displayName="Close Back Right";

onlyforplayer = true;

position="doorrbaxis";

radius=25;

condition="this animationPhase ""back_right"" < 0.5";

statement="this animate [""back_right"", 10]; this say ""doorclose""";

};

class ODoor3

{

displayName="Open Back Right";

onlyforplayer = false;

position="doorrbaxis";

radius=25;

condition="this animationPhase ""back_right"" >= 0.5";

statement="this animate [""back_right"", 0]; this say ""dooropen""";

};

class CDoor4

{

displayName="Close Back Left";

onlyforplayer = true;

position="doorlbaxis";

radius=25;

condition="this animationPhase ""back_left"" == 0";

statement="this animate [""back_left"",-10.5]; this say ""doorclose""";

};

class ODoor4

{

displayName="Open Back Left";

onlyforplayer = false;

position="doorlbaxis";

radius=25;

condition="this animationPhase ""back_left"" < 0";

statement="this animate [""back_left"", 0]; this say ""dooropen""";

};

};

class CfgSounds

{

class dooropen

{

name= "dooropen";

sound[]={"\eddyd_shelters\sounds\dooropen.ogg",1,1};

titles[]={};

};

class doorclose

{

name= "doorclose";

sound[]={"\eddyd_shelters\sounds\doorclose.ogg",1,1};

titles[]={};

};

};

};

class euro_has_1: Shelter

{

model="\eddyd_shelters\euro_has_1";

armor=300000;

attendant=1;

scope=2;

icon = "\eddyd_shelters\Icon.paa";

mapSize=35;

vehicleClass="Aircraft_Shelters";

displayName="euro_has_1";

class MarkerLights

{

class WhiteBlinking

{

name="svet1";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

class WihteBlinking2

{

name="svet2";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

class WihteBlinking3

{

name="svet3";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

class WihteBlinking4

{

name="svet4";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

};

class AnimationSources

{

class doorf

{

source = "user";

animPeriod = 2;

initPhase=0;

};

};

class UserActions

{

class Open_Gate

{

displayName="Open Gate";

position="handle1";

radius=30.000000;

onlyForPlayer = false;

condition="this animationPhase ""doorfanim"" < 0.5";

statement="this animate [""doorfanim"", 1]";

};

class Close_Gate

{

displayName="Close Gate";

position="handle1";

radius=30.000000;

onlyForplayer = false;

condition="this animationPhase ""doorfanim"" > 0.5";

statement="this animate [""doorfanim"",0]";

};

};

class CfgSounds

{

class dooropen

{

name= "dooropen";

sound[]={"\eddyd_shelters\sounds\dooropen.ogg",1,1};

titles[]={};

};

class doorclose

{

name= "doorclose";

sound[]={"\eddyd_shelters\sounds\doorclose.ogg",1,1};

titles[]={};

};

};

};

class euro_has_2: shelter

{

model="\eddyd_shelters\euro_has_2";

attendant=1;

scope=2;

icon = "\eddyd_shelters\Icon.paa";

mapsize=25;

vehicleClass="Aircraft_Shelters";

displayName="euro_has_2";

class MarkerLights

{

class WhiteBlinking

{

name="svet1";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

};

};

class euro_HAS_3: Shelter

{

model="\eddyd_shelters\euro_HAS_3";

armor=300000;

attendant=1;

icon = "\eddyd_shelters\Icon.paa";

scope=2;

accuracy = 0.300000;

mapSize=35;

vehicleClass="Aircraft_Shelters";

displayName="euro_HAS_3";

class AnimationSources

{

class doorL

{

source = "user";

animPeriod = 2;

initPhase=0;

};

};

class UserActions

{

class Open_Gate

{

displayName="Open Gate";

position="handle1";

radius=30.000000;

onlyForPlayer = false;

condition="this animationPhase ""doorlanim"" < 0.5";

statement="this animate [""doorlanim"", 1]";

};

class Close_Gate

{

displayName="Close Gate";

position="handle1";

radius=30.000000;

onlyForPlayer = false;

condition="this animationPhase ""doorlanim"" > 0.5";

statement="this animate [""doorlanim"", 0]";

};

};

class CfgSounds

{

class dooropen

{

name= "dooropen";

sound[]={"\eddyd_shelters\sounds\dooropen.ogg",1,1};

titles[]={};

};

class doorclose

{

name= "doorclose";

sound[]={"\eddyd_shelters\sounds\doorclose.ogg",1,1};

titles[]={};

};

};

};

class euro_has_4: Shelter

{

model="\eddyd_shelters\euro_has_4";

attendant=1;

scope=2;

icon = "\eddyd_shelters\Icon.paa";

mapSize=35;

vehicleClass="Aircraft_Shelters";

displayName="euro_has_4";

};

class euro_has_5: Shelter

{

model="\eddyd_shelters\euro_has_5";

armor=300000;

attendant=1;

scope=2;

icon = "\eddyd_shelters\Icon.paa";

mapSize=35;

vehicleClass="Aircraft_Shelters";

displayName="euro_has_5";

class MarkerLights

{

class WhiteBlinking

{

name="svet1";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

};

class AnimationSources

{

class doorf

{

source = "user";

animPeriod = 2;

initPhase=0;

};

};

class UserActions

{

class Open_Gate

{

displayName="Open Gate";

position="handle1";

radius=30.000000;

onlyForPlayer = false;

condition="this animationPhase ""doorfanim"" < 0.5";

statement="this animate [""doorfanim"", 1]";

};

class Close_Gate

{

displayName="Close Gate";

position="handle1";

radius=30.000000;

onlyForplayer = false;

condition="this animationPhase ""doorfanim"" > 0.5";

statement="this animate [""doorfanim"",0]";

};

};

class CfgSounds

{

class dooropen

{

name= "dooropen";

sound[]={"\eddyd_shelters\sounds\dooropen.ogg",1,1};

titles[]={};

};

class doorclose

{

name= "doorclose";

sound[]={"\eddyd_shelters\sounds\doorclose.ogg",1,1};

titles[]={};

};

};

};

class euro_has_6: Shelter

{

model="\eddyd_shelters\euro_has_6";

armor=300000;

attendant=1;

scope=2;

icon = "\eddyd_shelters\Icon.paa";

transportAmmo = 300000;

transportFuel=50000;

transportRepair=20000000;

accuracy = 0.300000;

mapSize=35;

vehicleClass="Aircraft_Shelters";

displayName="euro_has_6";

class MarkerLights

{

class WhiteBlinking

{

name="svet1";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

class WhiteBlinking2

{

name="svet2";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

class WhiteBlinking3

{

name="svet3";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

class WhiteBlinking4

{

name="svet4";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

};

class AnimationSources

{

class doorf

{

source = "user";

animPeriod = 2;

initPhase=0;

};

class doorb

{

source = "user";

animPeriod = 2;

initPhase=0;

};

};

class UserActions

{

class Open_Gate

{

displayName="Open frontdoor";

position="handle1";

radius=30.000000;

onlyForPlayer = false;

condition="this animationPhase ""doorfanim"" < 0.5";

statement="this animate [""doorfanim"", 1]";

};

class Close_Gate

{

displayName="Close frontdoor";

position="handle1";

radius=30.000000;

onlyForplayer = false;

condition="this animationPhase ""doorfanim"" > 0.5";

statement="this animate [""doorfanim"",0]";

};

class Open_Gate2

{

displayName="Open backdoor";

position="handle2";

radius=30.000000;

onlyForPlayer = false;

condition="this animationPhase ""doorbanim"" < 0.5";

statement="this animate [""doorbanim"", 1]";

};

class Close_Gate2

{

displayName="Close backdoor";

position="handle2";

radius=30.000000;

onlyForplayer = false;

condition="this animationPhase ""doorbanim"" > 0.5";

statement="this animate [""doorbanim"",0]";

};

};

class CfgSounds

{

class dooropen

{

name= "dooropen";

sound[]={"\eddyd_shelters\sounds\dooropen.ogg",1,1};

titles[]={};

};

class doorclose

{

name= "doorclose";

sound[]={"\eddyd_shelters\sounds\doorclose.ogg",1,1};

titles[]={};

};

};

};

class euro_has_7: shelter

{

model="\eddyd_shelters\euro_has_7";

attendant=1;

scope=2;

icon = "\eddyd_shelters\Icon.paa";

mapsize=25;

vehicleClass="Aircraft_Shelters";

displayName="euro_has_7";

class MarkerLights

{

class WhiteBlinking

{

name="svet1";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

};

};

class soviet_has: Shelter

{

scope=2;

armor=90000;

attendant=1;

animated=1;

vehicleClass="Aircraft_Shelters";

displayName="soviethas";

model="\soviet_has\soviet_has.p3d";

transportAmmo = 300000;

transportFuel=50000;

transportRepair=20000000;

accuracy = 0.300000;

mapSize=40;

class MarkerLights

{

class WhiteBlinking

{

name="svet1";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

class WihteBlinking2

{

name="svet2";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

class WihteBlinking3

{

name="svet3";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

class WihteBlinking4

{

name="svet4";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

};

class AnimationSources

{

class front_right

{

source = "user";

animPeriod = .5;

initPhase = 0;

};

class front_left

{

source = "user";

animPeriod = .5;

initPhase = 0;

};

};

class UserActions

{

class CDoor1

{

displayName="Close Front Right";

onlyforplayer = false;

position="doorraxis";

radius=25;

condition="this animationPhase ""front_right"" < 0.5";

statement="this animate [""front_right"",8.1]; this say ""doorclose""";

};

class ODoor1

{

displayName="Open Front Right";

onlyforplayer = false;

position="doorraxis";

radius=25;

condition="this animationPhase ""front_right"" >= 0.5";

statement="this animate [""front_right"", 0]; this say ""dooropen""";

};

class CDoor2

{

displayName="Close Front Left";

onlyforplayer = false;

position="doorlaxis";

radius=25;

condition="this animationPhase ""front_left"" == 0";

statement="this animate [""front_left"",-8.1]; this say ""doorclose""";

};

class ODoor2

{

displayName="Open Front Left";

onlyforplayer = false;

position="doorlaxis";

radius=25;

condition="this animationPhase ""front_left"" < 0";

statement="this animate [""front_left"", 0]; this say ""dooropen""";

};

};

class CfgSounds

{

class dooropen

{

name= "dooropen";

sound[]={"\eddyd_shelters\sounds\dooropen.ogg",1,1};

titles[]={};

};

class doorclose

{

name= "doorclose";

sound[]={"\eddyd_shelters\sounds\doorclose.ogg",1,1};

titles[]={};

};

};

};

class soviet_B_has: Shelter

{

scope=2;

armor=90000;

attendant=1;

animated=1;

vehicleClass="Aircraft_Shelters";

displayName="soviet_B_has";

model="\eddyd_shelters\soviet_B_has.p3d";

icon = "\eddyd_shelters\Icon.paa";

transportAmmo = 300000;

transportFuel=50000;

transportRepair=20000000;

accuracy = 0.300000;

mapSize=40;

class MarkerLights

{

class WhiteBlinking

{

name="svet1";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

class WihteBlinking2

{

name="svet2";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

class WihteBlinking3

{

name="svet3";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

class WihteBlinking4

{

name="svet4";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

};

class AnimationSources

{

class front_right

{

source = "user";

animPeriod = .5;

initPhase = 0;

};

class front_left

{

source = "user";

animPeriod = .5;

initPhase = 0;

};

};

class UserActions

{

class CDoor1

{

displayName="Close Front Right";

onlyforplayer = false;

position="doorraxis";

radius=25;

condition="this animationPhase ""front_right"" < 0.5";

statement="this animate [""front_right"",8.1]; this say ""doorclose""";

};

class ODoor1

{

displayName="Open Front Right";

onlyforplayer = false;

position="doorraxis";

radius=25;

condition="this animationPhase ""front_right"" >= 0.5";

statement="this animate [""front_right"", 0]; this say ""dooropen""";

};

class CDoor2

{

displayName="Close Front Left";

onlyforplayer = false;

position="doorlaxis";

radius=25;

condition="this animationPhase ""front_left"" == 0";

statement="this animate [""front_left"",-8.1]; this say ""doorclose""";

};

class ODoor2

{

displayName="Open Front Left";

onlyforplayer = false;

position="doorlaxis";

radius=25;

condition="this animationPhase ""front_left"" < 0";

statement="this animate [""front_left"", 0]; this say ""dooropen""";

};

};

class CfgSounds

{

class dooropen

{

name= "dooropen";

sound[]={"\eddyd_shelters\sounds\dooropen.ogg",1,1};

titles[]={};

};

class doorclose

{

name= "doorclose";

sound[]={"\eddyd_shelters\sounds\doorclose.ogg",1,1};

titles[]={};

};

};

};

class soviet_D_has: Shelter

{

scope=2;

armor=90000;

attendant=1;

animated=1;

vehicleClass="Aircraft_Shelters";

displayName="soviet_D_has";

model="\eddyd_shelters\soviet_D_has.p3d";

icon = "\eddyd_shelters\Icon.paa";

transportAmmo = 300000;

transportFuel=50000;

transportRepair=20000000;

accuracy = 0.300000;

mapSize=40;

class MarkerLights

{

class WhiteBlinking

{

name="svet1";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

class WihteBlinking2

{

name="svet2";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

class WihteBlinking3

{

name="svet3";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

class WihteBlinking4

{

name="svet4";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.020000;

blinking=0;

};

};

class AnimationSources

{

class front_right

{

source = "user";

animPeriod = .5;

initPhase = 0;

};

class front_left

{

source = "user";

animPeriod = .5;

initPhase = 0;

};

};

class UserActions

{

class CDoor1

{

displayName="Close Front Right";

onlyforplayer = false;

position="doorraxis";

radius=25;

condition="this animationPhase ""front_right"" < 0.5";

statement="this animate [""front_right"",8.1]; this say ""doorclose""";

};

class ODoor1

{

displayName="Open Front Right";

onlyforplayer = false;

position="doorraxis";

radius=25;

condition="this animationPhase ""front_right"" >= 0.5";

statement="this animate [""front_right"", 0]; this say ""dooropen""";

};

class CDoor2

{

displayName="Close Front Left";

onlyforplayer = false;

position="doorlaxis";

radius=25;

condition="this animationPhase ""front_left"" == 0";

statement="this animate [""front_left"",-8.1]; this say ""doorclose""";

};

class ODoor2

{

displayName="Open Front Left";

onlyforplayer = false;

position="doorlaxis";

radius=25;

condition="this animationPhase ""front_left"" < 0";

statement="this animate [""front_left"", 0]; this say ""dooropen""";

};

};

class CfgSounds

{

class dooropen

{

name= "dooropen";

sound[]={"\eddyd_shelters\sounds\dooropen.ogg",1,1};

titles[]={};

};

class doorclose

{

name= "doorclose";

sound[]={"\eddyd_shelters\sounds\doorclose.ogg",1,1};

titles[]={};

};

};

};

class EddyD_Hangar01: shelter

{

displayName = "Soft Shelter";

vehicleClass="Aircraft_Shelters";

model = "\eddyd_shelters\soft_shelter.p3d";

icon = "\eddyd_shelters\Icon.paa";

attendant=1;

scope=2;

mapsize=22;

};

class iraq_has: shelter

{

model="\eddyd_shelters\iraq_has";

attendant=1;

scope=2;

mapsize=25;

vehicleClass="Aircraft_Shelters";

displayName="iraq_has";

icon = "\eddyd_shelters\Icon.paa";

class MarkerLights

{

class WhiteBlinking

{

name="svet1";

color[]={1.000000, 1.000000, 1.000000, 1};

ambient[]={1.000000, 1.000000, 1.000000, 1};

brightness=0.010000;

blinking=0;

};

};

};

};

Share this post


Link to post
Share on other sites

What a bloody aweful read

How about you provide 2 separate cpps for download and them maybe we can do something.

Share this post


Link to post
Share on other sites

Thank you Q....That works much...much better! Sorry for the first paste...here is the link to the config...Any help would be appreciated...apparently line 143 does not agree with the ARMA God.

http://pastebin.com/m6ed29dd2

Best Regards,

Lamar

Share this post


Link to post
Share on other sites

#1: NEVER NEVER NEVER place a class CfgModels or class CfgSkeletons in your config.cpp! I've seen many addons which do this, and mess up a default install because they didn't do it correctly.

Place it in your model.cfg instead, so it gets binarized into the addon! This should make your addon load faster anyway.

#2: line 159 has an error. It looks like:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class euro_has_3 : shelter

When it should look like:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class euro_has_3 : shelter {}

#3: You seem to include a "class cfgSounds" into your vehicle's configs. This does nothing, class cfgSounds is it's own super-class, just like class cfgVehicles.

There may be other problems in there, I didn't look the whole thing over.

Share this post


Link to post
Share on other sites

thank you general Barron...I did as you said...and found a few small errors more....when I did an H file the problem was very apparrent...I thank you as this was my first huge config...used to doing smaller ones where stuff is easy to find. This was also my first object config....I am used to doing vehicles and soldiers....Thank you tons. Sorry for the first post...I ususally figure stuff out and don't post here Sorry Gnat and everyone about the 10 page paper i posted...I will use that site now....very cool as it numbers your line and keeps it in the precise neat format.

Best Regards,

Lamar

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  

×