@@ -11,13 +11,13 @@ function LBL_scriptInit() {
1111 }
1212}
1313
14- LBL_LIGHT_COLOUR <- Vector(63 , 196 , 252 ) // RGB colour values - light blue
15- const LBL_LIGHT_BRIGHTNESS = 40
14+ LBL_LIGHT_COLOUR <- Vector(25 , 175 , 255 ) // RGB colour values - light blue
15+ const LBL_LIGHT_BRIGHTNESS = 50
1616const LBL_LIGHT_D50 = 50
1717const LBL_LIGHT_D0 = 300
1818const LBL_LIGHT_SHADOWSIZE = - 1 // DONT CHANGE THIS FROM -1, it just instantly overwhelms the shadow atlas (-1 = no shadows)
1919
20- const LBL_LIGHT_SPACING = 20 // distance between lights in units, less spacing means more lights but a higher performance cost
20+ const LBL_LIGHT_SPACING = 24 // distance between lights in units, less spacing means more lights but a higher performance cost
2121const LBL_LIGHT_MAXCOUNT = 128 // maximum number of lights per bridge to prevent performance issues
2222
2323const LBL_LIGHT_SPECIFIC_HEALTH = 27852 // used to identify lights created by this script
@@ -172,7 +172,9 @@ function LBL_lightCreate(pos) { // returns light handle
172172 local light = null
173173
174174 light = CreateEntityByName (" light_rt" , {
175- _lightmode = 3 ,
175+ _specularmode = 0 ,
176+ _indirectmode = 0 ,
177+ _directmode = 2 ,
176178 spawnflags = 2
177179 })
178180 light. SetLightColor (LBL_LIGHT_COLOUR, LBL_LIGHT_BRIGHTNESS)
@@ -212,4 +214,4 @@ function LBL_lightRemoveAll() {
212214}
213215
214216LBL_auto <- CreateEntityByName(" logic_auto" , {spawnflags = 1 })
215- LBL_auto. ConnectOutput (" OnNewGame " , " LBL_scriptInit" )
217+ LBL_auto. ConnectOutput (" OnMapSpawn " , " LBL_scriptInit" )
0 commit comments