Like I said, it will be hidden without a targetname even to that command
gm_flatgrass has a light_environment, try running “PrintTable(ents.FindByClass(“light_environment”))”… It’ll return nothing.
if string.lower(game.GetMap()) == "rp_evocity_v2d" then
function CheckLightEnvs( ent )
if ValidEntity(ent) and ent:GetClass() == 'light_environment' then
ServerLog("Found light environment " .. ent:EntIndex())
hook.Add("OnEntityCreated", "CheckLightEnvs", CheckLightEnvs)
Used that script above to set a name…
Now my map is opposite of fullbright… The props around are still fullbright though.