//fog 0.01 0.9 0.9 0.9
fog 0.0001 0.01 0.01 0.01
//fog 0 0 0 0
title Closer To Heaven
author MikeeUSA
description 
//cdtrack Suprfist //probwont work umx
//cdtrack Suprfist.umx //neither worked
cdtrack Suprfist //if you provide it
//cdtrack UNR_City01
settemp_for_type all r_shadow_bumpscale_basetexture 8
//settemp_for_type all r_shadow_bumpscale_basetexture 3
settemp_for_type all r_fullbright_directed 1
settemp_for_type all r_fullbright_directed_ambient 0.1
settemp_for_type all r_fullbright_directed_diffuse 0.75
settemp_for_type all r_fullbright_directed_pitch 100
settemp_for_type all r_fullbright_directed_pitch_relative 0
settemp_for_type all r_fakelight 0 
settemp_for_type all r_ambient 0 //Dark
////settemp_for_type all g_objfrommc_spawntraceadd 3024
////settemp_for_type all g_objfrommc_stringent 3
settemp_for_type all g_objfrommc_nospawnconstraints 1
//settemp_for_type all g_suggested_spawnfoliagearound_waterlevel -385
//settemp_for_type all g_suggested_spawnfoliagearound_watertype 2


//we have rtlights now, so for them
settemp_for_type all r_fullbright_directed_color_enable 1 //with nothing else set this turns it black
settemp_for_type all r_shadow_realtime_world 1 //enable real time world lighting for our colours
settemp_for_type all r_shadow_usenormalmap 1 //lighting obeys walls
//Just incase

//For this map we set some lighting by default, half:
settemp_for_type all r_fullbright_directed_color_ambient_blue 0.5
settemp_for_type all r_fullbright_directed_color_ambient_green 0.5
settemp_for_type all r_fullbright_directed_color_ambient_red 0.5
settemp_for_type all r_fullbright_directed_color_diffuse_blue 0.5
settemp_for_type all r_fullbright_directed_color_diffuse_green 0.5
settemp_for_type all r_fullbright_directed_color_diffuse_red 0.5

//With these all 0 it turns it black, so the rtlights shine through nice, 
//settemp_for_type all r_ambient 4 //some light for the rest





gametype dm 
gametype tdm 
gametype lms 
gametype rune 
gametype ka 
gametype kh





//settemp_for_type all g_teleport_noparticles 1
//settemp_for_type all g_teleport_nosound 1
//settemp_for_type all g_teleport_nowaypoints 1





settemp_for_type all sv_gameplayfix_send_contents 1

//clientsettemp_for_type all hud_contents_water_svgmplyfxsndcntnts_color "0.03 0.08 0.1" 
////clientsettemp_for_type all hud_contents_water_svgmplyfxsndcntnts_alpha 0.58



//A try to fix
settemp_for_type all r_shadow_bumpscale_basetexture 0

//This is needed to fix it (the crashing on static rtlights) Bounce grid can't be static for this map or else crashes with an error about 3d textures:
settemp_for_type all r_shadow_bouncegrid_static 0
clientsettemp_for_type all r_shadow_bouncegrid_static 0
//above looks better for this map
clientsettemp_for_type all r_ambient 4


gametype dm 
gametype tdm 
gametype lms 
gametype rune 
gametype ka 
gametype kh

