Files
braf/braf_armored/BRAF_Guarani/GuaraniLights.hpp

128 lines
2.2 KiB
C++

class Reflectors
{
class Light_L1
{
color[] = {1900, 1800, 1700};
ambient[] = {5, 5, 5};
position = "light_L1_pos";
direction = "light_L1_dir";
hitpoint = "light_L1";
selection = "light_L1";
size = 1;
innerAngle = 45;
outerAngle = 90;
coneFadeCoef = 10;
intensity = 1;
useFlare = true;
dayLight = false;
flareSize = 1.0;
class Attenuation
{
start = 1.0;
constant = 0;
linear = 0;
quadratic = 0.25;
hardLimitStart = 30;
hardLimitEnd = 60;
};
};
class Light_L2: Light_L1
{
position = "light_L2_pos";
direction = "light_L2_dir";
hitpoint = "light_L2";
selection = "light_L2";
FlareSize = 0.5;
innerAngle = 15;
outerAngle = 30;
};
class Light_R1: Light_L1
{
position = "light_R1_pos";
direction = "light_R1_dir";
hitpoint = "light_R1";
selection = "light_R1";
};
class Light_R2: Light_L2
{
position = "light_R2_pos";
direction = "light_R2_dir";
hitpoint = "light_R2";
selection = "light_R2";
};
class Light_Panel: Light_L2
{
position = "";
direction = "";
hitpoint = "";
selection = "side_lights";
intensity = 0;
useFlare = false;
};
};
aggregateReflectors[]=
{
{"Light_L1","Light_L2"},
{"Light_R1","Light_R2"},
{"side_lights"}
};
selectionBrakeLights="brakelight";
selectionBackLights="backlight";
class compartmentsLights
{
class Comp1
{
class Light1
{
color[]={50,0,0};
ambient[]={5,0,0};
intensity=0.5;
size=1;
innerAngle=15;
outerAngle=150;
coneFadeCoef=1;
useFlare=1;
flareSize=0.1;
flareMaxDistance=1;
dayLight=1;
class Attenuation
{
start=0;
constant=0;
linear=1;
quadratic=1;
hardLimitStart=1;
hardLimitEnd=2;
};
point="Cabin_Light_Driver";
};
class Light2: Light1
{
point="Cabin_Light_Gunner";
};
class Light3: Light1
{
point="Cabin_Light_Commander";
};
class Light4: Light1
{
point="Cabin_Light_Cargo1";
};
class Light5: Light1
{
point="Cabin_Light_Cargo2";
};
};
};
class NVGMarkers
{
class NVGMarker01
{
name="nvg_marker";
color[]={0.029999999,0.003,0.003,1};
ambient[]={0.003,0.00030000001,0.00030000001,1};
brightness=0.001;
blinking=1;
};
};