add:
{
	"origin" "-898 712 -311"
	"targetname" "TheCurrentLevelPlugin"
	"min" "1"
	"max" "4"
	"startvalue" "1"
	"classname" "math_counter"
}

modify:
{
	match:
	{
		"targetname" "EasyMode"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,1,0,1"
		"OnTrigger" "Console,Command,zr_infect_mzombie_ratio 8,0,1"
		"OnTrigger" "Console,Command,zr_infect_mzombie_respawn 1,0,1"
		"OnTrigger" "Console,Command,zr_infect_spawntime_max 16,0,1"
		"OnTrigger" "Console,Command,zr_infect_spawntime_min 16,0,1"
		"OnTrigger" "Console,Command,zr_respawn_delay 10,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "NormalMode"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,2,0,1"
		"OnTrigger" "Console,Command,zr_infect_mzombie_ratio 7,0,1"
		"OnTrigger" "Console,Command,zr_infect_mzombie_respawn 1,0,1"
		"OnTrigger" "Console,Command,zr_infect_spawntime_max 15,0,1"
		"OnTrigger" "Console,Command,zr_infect_spawntime_min 15,0,1"
		"OnTrigger" "Console,Command,zr_respawn_delay 5,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "HardMode"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,3,0,1"
		"OnTrigger" "Console,Command,zr_infect_mzombie_ratio 6,0,1"
		"OnTrigger" "Console,Command,zr_infect_mzombie_respawn 1,0,1"
		"OnTrigger" "Console,Command,zr_infect_spawntime_max 14,0,1"
		"OnTrigger" "Console,Command,zr_infect_spawntime_min 14,0,1"
		"OnTrigger" "Console,Command,zr_respawn_delay 3,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "ExtremeMode"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "TheCurrentLevelPlugin,SetValue,4,0,1"
		"OnTrigger" "Console,Command,zr_infect_mzombie_ratio 5,0,1"
		"OnTrigger" "Console,Command,zr_infect_mzombie_respawn 1,0,1"
		"OnTrigger" "Console,Command,zr_infect_spawntime_max 14,0,1"
		"OnTrigger" "Console,Command,zr_infect_spawntime_min 14,0,1"
		"OnTrigger" "Console,Command,zr_respawn_delay 1,0,1"
	}
}




;----------------------------------------
;changer hammerid duplicate for entwatch
;----------------------------------------
modify:
{
	match:
	{
		"targetname" "Rage_Button"
		"classname" "func_button"
	}
	replace:
	{
		"hammerid" "3283"
	}
}
modify:
{
	match:
	{
		"targetname" "Vortex_Button"
		"classname" "func_button"
	}
	replace:
	{
		"hammerid" "3284"
	}
}

;------------------------------------
;fix chooper client crash by Noctali
;------------------------------------

modify:
{
	match:
	{
		"classname" "func_tracktrain"
		"targetname" "Helicop"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}
modify:
{
	match:
	{
		"classname" "func_rotating"
		"targetname" "huey_blade"
	}
	replace:
	{
		"disableshadows" "1"
		"disablereceiveshadows" "1"
	}
}

;----------------------------------
; FIX ZOMBIE DETECTION CHOPPER END
;----------------------------------

modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "ZombieDetector"
		"origin" "-3150 -232.54 208.5"
		"model" "*46"
		"hammerid" "112658"
	}
	replace:
	{
		"origin" "-3135 -232.54 220"
	}
}




;; _

;; fix zm item strippers

modify:
{
	match:
	{
		"OnStartTouch" "stripper,Strip,,0,-1"
		"classname" "trigger_teleport"
	}
	delete:
	{
		"OnStartTouch" "stripper,Strip,,0,-1"
	}
	insert:
	{
		"OnStartTouch" "stripper,Strip,,0,1"
	}
}

;; fix heli lag

add:
{
	"model" "*140"
	"targetname" "heli_back"
	"parentname" "Helicop"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-3042.56 315.86 481.8"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*140"
	"targetname" "heli_front"
	"parentname" "Helicop"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-2826.85 314.75 480.66"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*31"
	"targetname" "heli_left"
	"parentname" "Helicop"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-2887.02 384.11 452.84"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*31"
	"targetname" "heli_left"
	"parentname" "Helicop"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-2887.02 384.11 509.84"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*31"
	"targetname" "heli_right"
	"parentname" "Helicop"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-2887.02 242.91 452.84"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*31"
	"targetname" "heli_right"
	"parentname" "Helicop"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-2887.02 242.91 509.84"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*288"
	"targetname" "heli_floor"
	"parentname" "Helicop"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-2937.29 314.91 423.81"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*288"
	"targetname" "heli_roof"
	"parentname" "Helicop"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-2937.29 311.91 542.81"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*288"
	"targetname" "heli_gear"
	"parentname" "Helicop"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-2968.69 327.29 384.13"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*288"
	"targetname" "heli_gear"
	"parentname" "Helicop"
	"spawnobject" "0"
	"spawnflags" "0"
	"rendermode" "10"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-2968.69 300.29 384.13"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "0"
	"health" "0"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}

modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "3552"
	}
	insert:
	{
		"OnMapSpawn" "heli_floor,AddOutput,angles 0 37 90,0,-1"
		"OnMapSpawn" "heli_roof,AddOutput,angles 0 37 90,0,-1"
		"OnMapSpawn" "heli_gear,AddOutput,angles 0 37 90,0,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "Helicop"
		"classname" "func_tracktrain"
	}
	replace:
	{
		"spawnflags" "523"
	}
}