;FIX SPAWN SETTINGS FOR ZOMBIES AND DISABLE TURBOPHYSICS (bugs with later parts) AND ADD A GODDAMN GRAVITY RESET FOR THE NIGGERS
modify:
{
	match:
	{
		"classname" "logic_auto"
		"origin" "11743.1 -13778.7 -6004.32"
		"hammerid" "10021"
	}
	insert:
	{
		"OnMapSpawn" "server command,Command,zr_infect_spawntime_max 8,0,-1"
		"OnMapSpawn" "server command,Command,zr_infect_spawntime_min 8,0,-1"
		"OnMapSpawn" "server command,Command,sv_turbophyiscs 0,0,-1"
		"OnMapSpawn" "player,AddOutput,gravity 1,0,-1"
		"OnMapSpawn" "player,AddOutput,gravity 1,0.1,-1"
		"OnMapSpawn" "player,AddOutput,gravity 1,0.2,-1"
		"OnMapSpawn" "player,AddOutput,gravity 1,0.3,-1"
	}
}

;FIX SHITTY TELEPORTING = BETWEEN CROWD
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "lv1 trigger1"
		"origin" "11171.4 -11919.6 -5005"
		"model" "*1"
		"hammerid" "621"
	}
	delete:
	{
		"OnStartTouch" "tele_lv1,Enable,,10,1"
	}
	insert:
	{
		"OnStartTouch" "tele_lv1,Enable,,10.5,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "lv8 trigger"
		"origin" "11172.2 -11925.5 -5005"
		"model" "*65"
		"hammerid" "13744"
	}
	delete:
	{
		"OnStartTouch" "tele_lv8,Enable,,10,1"
	}
	insert:
	{
		"OnStartTouch" "tele_lv8,Enable,,10.5,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "lv15 trigger1"
		"origin" "11173.6 -11937.4 -5007"
		"model" "*316"
		"hammerid" "80069"
	}
	delete:
	{
		"OnStartTouch" "tele_lv15,Enable,,10,1"
	}
	insert:
	{
		"OnStartTouch" "tele_lv15,Enable,,10.5,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "selection trigger1"
		"origin" "11180.4 -11926.7 -5000"
		"model" "*405"
		"hammerid" "196243"
	}
	delete:
	{
		"OnStartTouch" "tele_mode_selection,Enable,,10,1"
	}
	insert:
	{
		"OnStartTouch" "tele_mode_selection,Enable,,10.5,1"
	}
}

;FIX NUKE GLITCH SPOTS
add:
{
	"targetname" "kill all zombies and humans"
	"spawnflags" "1"
	"model" "*394"
	"damagemodel" "0"
	"nodmgforce" "0"
	"damagetype" "0"
	"origin" "-9502 -13916 -5186"
	"damagecap" "20"
	"damage" "999999"
	"classname" "trigger_hurt"
	"StartDisabled" "1"
}
add:
{
	"targetname" "kill all zombies and humans"
	"spawnflags" "1"
	"model" "*339"
	"damagemodel" "0"
	"nodmgforce" "0"
	"damagetype" "0"
	"origin" "11019.5 -9980.11 -3445.5"
	"damagecap" "20"
	"damage" "999999"
	"classname" "trigger_hurt"
	"StartDisabled" "1"
}
add:
{
	"targetname" "stage2 hurt"
	"spawnflags" "1"
	"model" "*339"
	"damagemodel" "0"
	"nodmgforce" "0"
	"damagetype" "0"
	"origin" "11019.5 -9980.11 -3445.5"
	"damagecap" "20"
	"damage" "999999"
	"classname" "trigger_hurt"
	"StartDisabled" "1"
}
add:
{
	"targetname" "stage3 hurt"
	"spawnflags" "1"
	"model" "*339"
	"damagemodel" "0"
	"nodmgforce" "0"
	"damagetype" "0"
	"origin" "11019.5 -9980.11 -3445.5"
	"damagecap" "20"
	"damage" "999999"
	"classname" "trigger_hurt"
	"StartDisabled" "1"
}

;RESET gravity in spawn area to be sure
add:
{
	"spawnflags" "1"
	"model" "*139"
	"origin" "11165 -12117 -5239"
	"classname" "trigger_multiple"
	"StartDisabled" "0"
	"wait" "0.1"
	"OnStartTouch" "!activator,AddOutput,gravity 1,0,-1"
	"OnTrigger" "!activator,AddOutput,gravity 1,0,-1"
	"OnEndTouch" "!activator,AddOutput,gravity 1,0,-1"
}