Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches {
- class ausextras {
- units[] = {};
- weapons[] = {};
- requiredAddons[] = {};
- requiredVersion = 1;
- };
- };
- class CfgVehicles
- {
- class Lamps_base_F;
- class Land_fluor_lamp: Lamps_base_F
- {
- vehicleClass = "ausextras";
- scope = 2;
- displayName = "Fluroescent Office Light";
- model = "\ausextras\lamps\fluor_lamp.p3d"; /// simple path to model
- armor = 5000; /// just some protection against missiles, collisions and explosions
- class Hitpoints {};
- class AnimationSources {};
- class MarkerLights
- {
- class Light_1
- {
- color[] = {2500,2500,2500};
- ambient[] = {5,5,5};
- intensity = 100; /// strength of the light
- name = "light_pos"; /// name of
- blinking = false; /// lets make it blinking to show how patterns work
- useFlare = false; /// does the light use flare?
- activeLight = true; /// engine counts this one as an active light into limit of lights
- dayLight = false; /// it doesn't shine during the day
- drawLight = false; /// doesn't create a specific face for flare
- class Attenuation
- {
- start = 0;
- constant = 2;
- linear = 10;
- quadratic = 20;
- hardLimitStart = 5; /// it is good to have some limit otherwise the light would shine to infinite distance
- hardLimitEnd = 6; /// this allows adding more lights into scene
- };
- };
- };
- aggregateReflectors[] =
- {
- {"Light_1"}
- };
- class Reflectors
- {
- class Light_1
- {
- color[] = {2500,2500,2500};
- ambient[] = {5,5,5};
- intensity = 0.6;
- size = 5; /// size of the light point seen from distance
- innerAngle = 100; /// angle of full light
- outerAngle = 165; /// angle of some light
- coneFadeCoef = 4; /// attenuation of light between the above angles
- position = "light_pos"; /// memory point for start of the light and flare
- direction = "light_dir"; /// memory point for the light direction
- hitpoint = "bulbs"; /// point(s) in hitpoint lod for the light (hitPoints are created by engine)
- selection = "bulbs"; /// selection for artificial glow around the bulb, not much used any more
- useFlare = false;
- //flareSize = 5;
- //flareMaxDistance = 100;
- class Attenuation
- {
- start = 0;
- constant = 0;
- linear = 0;
- quadratic = 0.3;
- hardLimitStart = 50;
- hardLimitEnd = 65;
- };
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement