Ignore Power Grid does nothing

slayer20slayer20 Killed a man once. Join Date: 2007-12-13 Member: 63157Members, Reinforced - Shadow
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.

Comments

  • SN.WolfSN.Wolf Join Date: 2010-03-29 Member: 71115Members
    It has always been that way, The only way i could get it to ignore power grid is to put it outside the location the power node is in (make multiple locations with same name around the light/s in question). I'm sure they will fix it sooner or later though.
  • MendaspMendasp I touch maps in inappropriate places Valencia, Spain Join Date: 2002-07-05 Member: 884Members, NS1 Playtester, Contributor, Constellation, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow, WC 2013 - Shadow, Retired Community Developer
    edited June 2011
    The fix for this is really simple and it should be fixed in the next patch. If you don't want to wait, you have to edit Client.lua manually.

    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.
  • TravCarpTravCarp Join Date: 2010-06-04 Member: 71962Members, Reinforced - Supporter
Sign In or Register to comment.