mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
52ea640c4b
* -Converted flashlight glow object to chemlight type (emits light without sprite) -Fixed issue where glow object was being deleted without being first detached * Cleanup of temp classes. * Spaces before and after = * Moved effects into Effects.hpp.
35 lines
834 B
C++
35 lines
834 B
C++
class CfgLights {
|
|
|
|
class Chemlight_Blue;
|
|
|
|
class ACE_FlashlightLight_White: Chemlight_Blue {
|
|
brightness = 100;
|
|
color[] = {1,1,1,1};
|
|
diffuse[] = {1,1,1};
|
|
intensity = 100;
|
|
position[] = {0,0,0};
|
|
|
|
class Attenuation {
|
|
constant = 0;
|
|
linear = 0;
|
|
quadratic = 10000;
|
|
start = 0.075;
|
|
};
|
|
};
|
|
|
|
class ACE_FlashlightLight_Red: ACE_FlashlightLight_White {
|
|
diffuse[] = {1,0,0};
|
|
};
|
|
|
|
class ACE_FlashlightLight_Blue: ACE_FlashlightLight_White {
|
|
diffuse[] = {0.25,0.25,1};
|
|
};
|
|
|
|
class ACE_FlashlightLight_Green: ACE_FlashlightLight_White {
|
|
diffuse[] = {0,1,0};
|
|
};
|
|
|
|
class ACE_FlashlightLight_Yellow: ACE_FlashlightLight_White {
|
|
diffuse[] = {1,1,0.4};
|
|
};
|
|
}; |