modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "1794 5772 660"
	}
	insert:
	{
		"OnStartTouch" "glass_break1,Enable,,50,1"
		"OnStartTouch" "tp3,Enable,,50,1"
		"OnStartTouch" "tp_fix,Enable,,50,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_teleport"
		"origin" "436 -1628 -2966"
	}
	replace:
	{
		"origin" "436 -1628 -2918"
	}
}
add:
{
	"model" "*38"
	"classname" "trigger_teleport"
	"targetname" "tp_fix"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-22 3486 190"
	"target" "td4"
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "7246 7104 536.48"
	}
	insert:
	{
		"OnStartTouch" "cmd,Command,say ****Gate opens in 30 seconds****,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "logic_auto"
	}
	insert:
	{
		"OnMapSpawn" "cmd,Command,mp_roundtime 20,0,1"
		"OnMapSpawn" "cmd,Command,say ****Sorry for the holds on this map but i have lack of experience on that****,20,1"
		"OnMapSpawn" "cmd,Command,say ****Holds are now different than they were in the first try of the map****,25,1"
		"OnMapSpawn" "song1,Volume,7,0,-1"
	}
}
add:
{
	"classname" "point_viewcontrol"
	"origin" "490 2160 1136"
	"acceleration" "500"
	"deceleration" "500"
	"angles" "0 0 0"
	"spawnflags" "3"
	"target" "view_target"
	"interpolatepositiontoplayer" "0"
	"speed" "0"
	"wait" "10"
}
add:
{
	"classname" "info_target"
	"targetname" "view_target"
	"spawnflags" "0"
	"origin" "488 2480 1132"
}
add:
{
    "model" "*49"
    "targetname" "inv_hold"
    "spawnobject" "0"
    "spawnflags" "0"
    "rendermode" "0"
    "renderfx" "0"
    "rendercolor" "255 255 255"
    "renderamt" "255"
    "propdata" "0"
    "pressuredelay" "0"
    "physdamagescale" "1.0"
    "PerformanceMode" "0"
    "origin" "12138 6692 980"
    "nodamageforces" "0"
    "minhealthdmg" "0"
    "material" "10"
    "health" "0"
    "gibdir" "0 0 0"
    "explosion" "0"
    "ExplodeRadius" "0"
    "explodemagnitude" "0"
    "ExplodeDamage" "0"
    "disableshadows" "0"
    "disablereceiveshadows" "0"
    "classname" "func_breakable"
}
modify:
{
    match:
    {
        "classname" "func_door"
        "targetname" "door_gate2"
    }
    insert:
    {
        "dmg" "999999"
    }
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "flag_trig1"
	}
	replace:
	{
		"origin" "242.31 5234 1722"
	}
}
modify:
{
	match:
	{
		"classname" "prop_dynamic"
		"origin" "1108 4264 1840"
	}
	replace:
	{
		"origin" "244 5424 1840"
		"angles" "0 0 0"
	}
}
filter:
{
	"classname" "trigger_once"
	"targetname" "flag_trig2"
}
filter:
{
	"classname" "prop_dynamic"
	"origin" "-612 3520.62 1840"
}
modify:
{
	match:
	{
		"classname" "logic_relay"
		"targetname" "flag_relay"
	}
	delete:
	{
		"OnTrigger" "flagzm_tp,Disable,,130.02,1"
		"OnTrigger" "flag_trig3,Kill,,130,1"
		"OnTrigger" "flag_trig2,Kill,,130,1"
		"OnTrigger" "flag_trig1,Kill,,130,1"
		"OnTrigger" "flagzm_tp,Enable,,130,1"
		"OnTrigger" "!self,Enable,,30,1"
		"OnTrigger" "tp3,Enable,,30,1"
		"OnTrigger" "cmd,Command,say ****Zombies teleport in 10 seconds****,20,1"
		"OnTrigger" "cmd,Command,say ****If a zombie touched a flag you all would die****,12,1"
		"OnTrigger" "cmd,Command,say ****Yep! Defend the flags for 120 seconds until zombies get teleported to the jail****,10,1"
		"OnTrigger" "cmd,Command,say ****Defend Flags from the zombies?****,7,1"
		"OnTrigger" "cmd,Command,say ****Oh Where are we?****,4,1"
		"OnTrigger" "woodhold_break,Enable,,30,1"
		"OnTrigger" "door_gate1,Close,,30,1"
	}
	insert:
	{
		"OnTrigger" "flagzm_tp,Disable,,50.02,1"
		"OnTrigger" "flag_trig3,Kill,,50,1"
		"OnTrigger" "flag_trig2,Kill,,50,1"
		"OnTrigger" "flag_trig1,Kill,,50,1"
		"OnTrigger" "flagzm_tp,Enable,,50,1"
		"OnTrigger" "tp3,Enable,,16,1"
		"OnTrigger" "cmd,Command,say ****Zombies teleport in 5 seconds****,11,1"
		"OnTrigger" "cmd,Command,say ****If a zombie touched a flag you all would die****,12,1"
		"OnTrigger" "cmd,Command,say ****Yep! Defend the flags for 40 seconds until zombies get teleported to the jail****,10,1"
		"OnTrigger" "cmd,Command,say ****Defend Flags from the zombies?****,7,1"
		"OnTrigger" "cmd,Command,say ****Oh Where are we?****,4,1"
		"OnTrigger" "woodhold_break,Enable,,16,1"
		"OnTrigger" "door_gate1,Close,,16,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "1380 2140 616"
	}
	delete:
	{
		"OnStartTouch" "hold_breakable4,Break,,10,1"
		"OnStartTouch" "cmd,Command,say ****Gate opens in 10 seconds****,0,1"
	}
	insert:
	{
		"OnStartTouch" "hold_breakable4,Break,,15,1"
		"OnStartTouch" "cmd,Command,say ****Gate opens in 15 seconds****,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "496 2502 606"
	}
	delete:
	{
		"OnStartTouch" "hold_breakable3,Disable,,35,1"
		"OnStartTouch" "cmd,Command,say ****Gate opens in 30 seconds****,5,1"
	}
	insert:
	{
		"OnStartTouch" "hold_breakable3,Disable,,15,1"
		"OnStartTouch" "cmd,Command,say ****Gate opens in 10 seconds****,5,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "716 3004 1324"
	}
	delete:
	{
		"OnStartTouch" "door_gate1,Open,,50,1"
		"OnStartTouch" "cmd,Command,say ****Door opens in 50 seconds****,0,1"
	}
	insert:
	{
		"OnStartTouch" "door_gate1,Open,,30,1"
		"OnStartTouch" "cmd,Command,say ****Door opens in 30 seconds****,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "8706 8042 596"
	}
	delete:
	{
		"OnStartTouch" "hold6,Break,,30,1"
		"OnStartTouch" "cmd,Command,say ****Hold for 30 seconds****,0,1"
	}
	insert:
	{
		"OnStartTouch" "hold6,Break,,20,1"
		"OnStartTouch" "cmd,Command,say ****Hold for 20 seconds****,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "13278 11970 1596"
	}
	delete:
	{
		"OnStartTouch" "tp6,Enable,,10,1"
		"OnStartTouch" "cmd,Command,say ****Last door gets closed  in 40 seconds****,0,1"
		"OnStartTouch" "door_gate2,Close,,40,1"
	}
	insert:
	{
		"OnStartTouch" "tp6,Enable,,5,1"
		"OnStartTouch" "cmd,Command,say ****Last door gets closed  in 20 seconds****,0,1"
		"OnStartTouch" "door_gate2,Close,,20,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "13282 11696 1596"
	}
	delete:
	{
		"OnStartTouch" "door_gate2,Open,,60,1"
		"OnStartTouch" "cmd,Command,say ****Door opens in 60 seconds****,0,1"
		"OnStartTouch" "phys2_pcf,FireUser1,,40,1"
		"OnStartTouch" "phys2_pcf,FireUser2,,45,1"
		"OnStartTouch" "phys2_pcf,FireUser3,,50,1"
	}
	insert:
	{
		"OnStartTouch" "door_gate2,Open,,30,1"
		"OnStartTouch" "cmd,Command,say ****Door opens in 30 seconds****,0,1"
		"OnStartTouch" "phys2_pcf,FireUser1,,10,1"
		"OnStartTouch" "phys2_pcf,FireUser2,,15,1"
		"OnStartTouch" "phys2_pcf,FireUser3,,20,1"
	}
}
add:
{
	"model" "*39"
	"targetname" "extra_tp1"
	"target" "td2"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "794 2806 1506"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*39"
	"targetname" "extra_tp1"
	"target" "td2"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "438 4874 1506"
	"classname" "trigger_teleport"
}
add:
{
	"model" "*39"
	"targetname" "extra_tp2"
	"target" "td1"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "794 1430 34"
	"classname" "trigger_teleport"
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"targetname" "back_trigger1"
	}
	insert:
	{
		"OnStartTouch" "extra_tp1,Enable,,20,1"
		"OnStartTouch" "cmd,Command,say ****Zombies teleport in 5 seconds****,15,1"
		"OnStartTouch" "td2,AddOutput,angles 0 180 0,0,1"
	}
}
modify:
{
	match:
	{
		"classname" "func_breakable" 
		"targetname" "backward_break"
	}
	insert:
	{
		"OnBreak" "extra_tp2,Enable,,15,1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_once"
		"origin" "1794 5772 660"
	}
	delete:
	{
		"OnStartTouch" "cmd,Command,say ****Zombies teleport in 20 seconds****,30,1"
		"OnStartTouch" "tp4,Enable,,50,1"
		"OnStartTouch" "tp2,AddOutput,target td4,49.02,1"
		"OnStartTouch" "tp2,Enable,,50,1"
	}
	insert:
	{
		"OnStartTouch" "cmd,Command,say ****Zombies teleport in 10 seconds****,30,1"
		"OnStartTouch" "tp4,Enable,,40,1"
		"OnStartTouch" "tp2,AddOutput,target td4,39.02,1"
		"OnStartTouch" "tp2,Enable,,40,1"
	}
}