Help out for the developer wiki

Thingy Person

L1: Registered
Sep 6, 2009
45
5

Thanks, but I've never seriously used the SDK. I loaded it in hammer and saw a bunch of icons and stuff. I don't even know the function of the numbers I'm looking for.

Hold on, it looks like my right-click instincts were wrong. The only thing I can't find now is the ideal sun pitch.
 
Last edited:

Impulse

L2: Junior Member
Nov 1, 2009
51
18
what you can do is just copy and paste the light environment into your map (and if you select the light envirnonment and it selects the other entities then right click and click on ungroup)
 
Last edited:
Dec 25, 2007
566
439
Here are the values as extracted from the decompiled maps:
koth_harvest_final:
Code:
env_sun:
	"rendercolor" "100 80 80"
	"pitch" "-20"
	"angles" "0 300 0"

light_environment:
	"pitch" "-20"
	"angles" "0 300 0"
	"_lightHDR" "238 218 181 450"
	"_light" "238 218 181 450"
	"_ambientHDR" "224 188 122 250"
	"_ambient" "224 188 122 250"

fog_controller:
	"fogstart" "100"
	"fogmaxdensity" "1"
	"foglerptime" "2"
	"fogend" "11000"
	"fogenable" "1"
	"fogdir" "1 0 0"
	"fogcolor2" "255 255 255"
	"fogcolor" "232 205 155"
	"fogblend" "0"
	"farz" "-1"

shadow_control:
	"distance" "75"
	"color" "109 121 152"
	"angles" "66 300 0"

koth_harvest_event:
Code:
light_environment:
	"SunSpreadAngle" "3"
	"pitch" "-20"
	"angles" "0 285 0"
	"_lightscaleHDR" "1"
	"_lightHDR" "133 101 158 275"
	"_light" "133 101 158 275"
	"_AmbientScaleHDR" "1"
	"_ambientHDR" "114 100 151 75"
	"_ambient" "114 100 151 75"

shadow_control:
	"distance" "75"
	"color" "164 164 191"
	"angles" "66 285 0"

fog_controller:
	"fogstart" "100"
	"fogmaxdensity" "1"
	"foglerptime" "2"
	"fogend" "15000"
	"fogenable" "1"
	"fogdir" "1 0 0"
	"fogcolor2" "255 255 255"
	"fogcolor" "96 66 94"
	"fogblend" "0"
	"farz" "-1"
 

Colt Seavers

L6: Sharp Member
Dec 30, 2007
288
82
Good work. I've found that page invaluable as i've been learning to map. It's Good to be able to use the environment library for quick testing and ease, but often you're map will benefit from bespoke lighting - and this is the single most useful page on the web for working that stuff out - i found....