env_fog_controller

Im trying to see what I am able to edit as far as env_fog_controller and light_environment go. Further on I wish to make a sort of client sided weather thing for my server.

Anyway, I started with the fog and came up with this but during my tests I get ZERO results.



local function fogger()
local ent = ents.FindByClass("env_fog_controller")
	if !IsValid(ent) then
		ents.Create("env_fog_controller")
		print("Fog controller created!")
	else
		print("Found an existing fog controller!")
	end
ent:Fire("SetColor", 200,200,200)
ent:Fire("SetColorSecondary", 50,50,50)
end


Any insight on what I am doing wrong here? Also any help/links/code or documentation on the functions I can fire at env_fog_controller and light_environment?