CfgLights – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
(Page creation)
 
m (fixed a category)
Line 22: Line 22:
  }
  }


[[Category:CfgIdentities]]
[[Category:CfgLights]]
[[Category:Arma 3: Editing]]
[[Category:Arma 3: Editing]]
[[Category:Reference Lists]]
[[Category:Reference Lists]]

Revision as of 13:17, 21 February 2018

CfgLights

Here is a template with some descriptions:

class CfgLights
{
   color[] = {0,0,1,1};			// Array of RGBA
   ambient[] = {0,0.25,1,0.5};		// Array of RGBA
   intensity = 25;			// Finite number between 0 and 1e10
   brightness = 0.1;			// Only used if intensity isn't set. Also deprecated. intensity = (brightness*50)^2
   Attenuation				// subclass
   start = 1;				// number
   constant = 1;			// number
   linear = 1;				// number
   quadratic = 1;			// number
   hardLimitStart = 1e20*0.7;		// Default is (1e20 * 0.7)
   hardLimitEnd = 1e20;			// Default is 1e20
   dayLight = 1;			// number but handled as boolean internally. 0 == false, everything else == true
   useFlare = 1;			// number/boolean. same as above.
   flareSize = 1;			// number. Default is 1
   flareMaxDistance = 600;		// number. Default is 600
}