Ignore Power Grid does nothing
slayer20
Killed a man once. Join Date: 2007-12-13 Member: 63157Members, Reinforced - Shadow
in Mapping
Just tested this. I only tried it with the ambient light entity, but if you set it to True or False, it always does the same thing. And it really ruins the mood in the room when all the lights are flashing red and that light is just it's normal color, but flashing.
Can this be fixed in the next update? Being able to control what lights turn on when the power goes out would be amazing. It would also be nice to have certain lights turn ON when the power goes out. As in, they are off until the power goes out.
Can this be fixed in the next update? Being able to control what lights turn on when the power goes out would be amazing. It would also be nice to have certain lights turn ON when the power goes out. As in, they are off until the power goes out.
Comments
Find:
renderLight:SetCoords( coords )
renderLight:SetRadius( values.distance )
renderLight:SetIntensity( values.intensity )
renderLight:SetColor( values.color )
renderLight:SetGroup(groupName)
and add:
renderLight.ignorePowergrid = values.ignorePowergrid
The thing is, this only fixes the Ignore Power Grid setting, it won't fully fix the light_ambients because the code for the power node only changes color and intensity, and the light_ambients actually use the directional colors. I also fixed this bug (and submitted a fix), but I don't know if it's going to be included in the next patch.