;---------------------------------------------
; Make unreachable Boxes reachable for Zombies
;---------------------------------------------
filter:
{
	"classname" "prop_physics_multiplayer"
	"model" "models/props_c17/woodbarrel001.mdl"
}
add:
{
	"classname" "prop_dynamic"
	"origin" "-971 -322 96"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
}
;---------------------------------------------
; Block the 2nd tree
;---------------------------------------------
add:
{
	"classname" "prop_dynamic"
	"origin" "203 -1185 383"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}
add:
{
	"classname" "prop_dynamic"
	"origin" "139 -1185 383"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}
add:
{
	"classname" "prop_dynamic"
	"origin" "139 -1185 319"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}
add:
{
	"classname" "prop_dynamic"
	"origin" "75 -1185 319"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}

add:
{
	"classname" "prop_dynamic"
	"origin" "102 -1318 380"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}

;---------------------------------------------
; 2nd way to get to the 'MOO-Box'
;---------------------------------------------

add:
{
	"classname" "prop_dynamic"
	"origin" "-2355 308 144"
	"model" "models/props/de_dust/du_crate_64x64.mdl"	
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
}


;---------------------------------------------
; Block roof access at the 'Moo-Sign'
;---------------------------------------------

add:
{
	"classname" "prop_dynamic"
	"origin" "-20 370 380"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}
add:
{
	"classname" "prop_dynamic"
	"origin" "44 370 380"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}
add:
{
	"classname" "prop_dynamic"
	"origin" "108 370 380"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}
add:
{
	"classname" "prop_dynamic"
	"origin" "172 370 380"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}
add:
{
	"classname" "prop_dynamic"
	"origin" "236 370 380"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}
add:
{
	"classname" "prop_dynamic"
	"origin" "300 370 380"
	"model" "models/props/de_dust/du_crate_64x64.mdl"
	"disablereceiveshadows" "1"
	"disableshadows" "1"
	"solid" "6"
	"rendermode" "10"
}


;---------------------------------------------
; MISC
;---------------------------------------------
add:
{
	"classname" "point_servercommand"
	"targetname" "servercommand"
	"origin" "280 -530 533"
}


add:
{
	"classname" "logic_auto"
	"targetname" "hint_logic"
	"OnNewGame" "explanation,FireUser1,,1,-1"
	"OnNewGame" "countdown,FireUser1,,0,-1"
	"OnNewGame" "servercommand,Command,say *** Objective: Kill all the Zombies before the time runs out! ***,40,-1"
	"OnNewGame" "servercommand,Command,say *** Hint: Do NOT camp in one place! HUNT the zombies! ***,70,-1"
	"OnNewGame" "servercommand,Command,say *** Objective: Kill all the Zombies before the time runs out! ***,150,-1"
	"OnNewGame" "servercommand,Command,say *** Hint: Do NOT camp in one place! HUNT the zombies! ***,170,-1"
	"OnNewGame" "servercommand,Command,say *** YOU FAILED - YOU DID NOT KILL ALL ZOMBIES IN TIME ***,241,-1"
}


add:
{
	"spawnflags" "1"
	"classname" "game_text"
	"targetname" "explanation"
	"origin" "-3584 -3584 1088"
	"channel" "0"
	"color" "255 255 255"
	"color2" "255 255 255"
	"fadein" ".1"
	"fadeout" ".1"
	"holdtime" "4"
	"message" "#ERROR"
	"x" "0.015"
	"y" "0.25"
	"OnUser1" "!self,AddOutput,message >>> Welcome to Zombie Hunt <<<,0,1"
	"OnUser1" "!self,AddOutput,message Humans need to kill all the Zombies before the time runs out,4,1"
	"OnUser1" "!self,AddOutput,message Killing a Zombie will turn them into Humans,7,1"
	"OnUser1" "!self,AddOutput,message Good Luck and have fun,10,1"
	"OnUser1" "!self,Display,,0.02,1"
	"OnUser1" "!self,Display,,4.02,1"
	"OnUser1" "!self,Display,,7.02,1"
	"OnUser1" "!self,Display,,10.02,1"
}

add:
{
	"spawnflags" "1"
	"classname" "game_text"
	"targetname" "countdown"
	"origin" "-3584 -3584 1088"
	"channel" "1"
	"color" "255 0 0"
	"color2" "255 0 0"
	"fadein" ".1"
	"fadeout" ".1"
	"holdtime" "4"
	"message" "#ERROR"
	"x" "-1"
	"y" "0.3"
	"OnUser1" "!self,AddOutput,message ZM Win in 3 Minutes ,0,1"
	"OnUser1" "!self,Display,,62,1"
	"OnUser1" "!self,AddOutput,message ZM Win in 2 Minutes ,72,1"
	"OnUser1" "!self,Display,,122,1"
	"OnUser1" "!self,AddOutput,message ZM Win in 1 Minute ,132,1"
	"OnUser1" "!self,Display,,182,1"
	"OnUser1" "!self,AddOutput,message ZM Win in 30 Seconds ,192,1"
	"OnUser1" "!self,Display,,212,1"
	"OnUser1" "!self,AddOutput,message HURRY - KILL THE ZOMBIES ,215,1"
	"OnUser1" "!self,Display,,227,1"
	"OnUser1" "!self,AddOutput,message YOU FAILED ,237,1"
	"OnUser1" "!self,Display,,241,1"

}

filter:
{	
	"origin" "-180 -560 102"
	"classname" "info_player_terrorist"
	"hammerid" "3477"
}

filter:
{
	"origin" "-182 -484 103"
	"classname" "info_player_terrorist"
	"hammerid" "3478"
}
