config.cpp„ // some basic defines #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 // type scope #define private 0 #define protected 1 #define public 2 class CfgPatches { class LampWhite{units[]={LampWhite};}; class LampRed{units[]={LampRed};}; class LampBlue{units[]={LampBlue};}; class LampYellow{units[]={LampYellow};}; }; class CfgSounds { class empty { name="empty"; sound[]={"",0.000000,1.000000}; titles[]={}; }; } class CfgVehicles { class All {}; class Static: All {}; class Building: Static {}; class Strategic : Building {}; class Target : Strategic {}; class LampWhite: Target { scope=public; simulation="fire"; sound="empty"; VehicleClass="Objects"; displayName="Streetlamp White"; model="\data3d\lampadrevo"; class smoke { interval=0; timetolive=0; cloudletDuration=10; cloudletAnimPeriod=0; cloudletSize=0; cloudletAlpha=0; cloudletGrowUp=0; cloudletFadeIn=0; cloudletFadeOut=0; cloudletAccY=0; cloudletMinYSpeed=0; cloudletMaxYSpeed=0; cloudletShape=koulesvetlo; cl_basic=0; cloudletColor[]={0,0,0,0}; initT=0; deltaT=0; maxT=0; class table{}; density=0; size=0; in=0; out=0; initYSpeed=0; } class Light { Shape="koulesvetlo"; color[] = {1.0, 1.0, 1.0, 1.0}; ambient[] = {1.0, 1.0, 1.0, 1.0}; position = "light"; size = 1.0; brightness = 0.72; }; }; class LampRed: LampWhite { displayName="Streetlamp Red"; class Light { Shape="koulesvetlo"; color[] = {1.0, 0.7, 0.7, 1.0}; ambient[] = {1.0, 0.7, 0.7, 1.0}; position = "light"; size = 1.0; brightness = 0.72; }; }; class LampBlue: LampWhite { displayName="Streetlamp Blue"; class Light { Shape="koulesvetlo"; color[] = {0.7, 0.7, 1.0, 1.0}; ambient[] = {0.7, 0.7, 1.0, 1.0}; position = "light"; size = 1.0; brightness = 0.72; }; }; class LampYellow: LampWhite { displayName="Streetlamp Yellow"; class Light { Shape="koulesvetlo"; color[] = {1.0, 0.9, 0.6, 1.0}; ambient[] = {1.0, 0.9, 0.6, 1.0}; position = "light"; size = 1.0; brightness = 0.72; }; }; };-StuffPBO V1.0b