;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;INCREASE ROUND TIME
;----------------------

modify:
{
	match:
	{
		"targetname" "Map_Start"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnUser1" "Server,Command,mp_roundtime 12,0,1"
	}
	insert:
	{
		"OnSpawn" "Server,Command,mp_roundtime 12,0,1"
	}
}

;-------------------------------------
;VANYA TELEPORTATION NOT SPLITTING UP
;-------------------------------------

modify:
{
	match:
	{
		"targetname" "Map_Vanya_TP_Case_T"
		"classname" "logic_case"
	}
	delete:
	{
		"OnCase01" "vanya_teleport_zombies_b,Teleport,,0,-1"
	}
	insert:
	{
		"OnCase02" "vanya_teleport_zombies_b,Teleport,,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Map_Vanya_TP_Case_CT"
		"classname" "logic_case"
	}
	delete:
	{
		"OnCase01" "vanya_teleport_humans_b,Teleport,,0,-1"
	}
	insert:
	{
		"OnCase02" "vanya_teleport_humans_b,Teleport,,0,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "Map_Vanya_TP_Relay_T"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Map_Vanya_TP_Case_T,PickRandom,,0,-1"
	}
	insert:
	{
		"OnTrigger" "Map_Vanya_TP_Case_T,PickRandomShuffle,,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Map_Vanya_TP_Relay_CT"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Map_Vanya_TP_Case_CT,PickRandom,,0,-1"
	}
	insert:
	{
		"OnTrigger" "Map_Vanya_TP_Case_CT,PickRandomShuffle,,0,-1"
	}
}

;----------------------
;ROSS HOUSE MOVELINEAR
;----------------------

modify:
{
	match:
	{
		"targetname" "ross_teleport_end_ct"
		"classname" "trigger_teleport"
	}
	replace:
	{
		"spawnflags" "1"
	}
}


;-----------------
;BERKE FIX END TP
;-----------------

add:
{
	"model" "*79"
	"targetname" "berke1teleport1"
	"target" "Spawn_Dest_T"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-4768 11768 5600"
	"filtername" "Filter_T"
	"classname" "trigger_teleport"
}

;-----------------
;MOG RAISE SKYBOX
;-----------------

modify:
{
	match:
	{
		"targetname" "zombiepanic_3dskybox_model"
		"classname" "prop_dynamic"
		"origin" "317.38 -191.539 1103.48"
	}
	replace:
	{
		"origin" "317 -191 1124.5"
	}
}

;----------------
;WARPED FIX PUSH
;----------------

modify:
{
	match:
	{
		"targetname" "library_push_left"
		"classname" "trigger_push"
		;"speed" "400"
	}
	replace:
	{
		"speed" "600"
	}
}

;-------------------
;BERKE REDUCE HOLDS
;-------------------

modify:
{
	match:
	{
		"targetname" "berke1once1"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "Server,Command,say ***First grate door is opening in 45 seconds.***,0,1"
		"OnTrigger" "Server,Command,say ***First grate door is opening in 30 seconds.***,15,1"
		"OnTrigger" "Server,Command,say ***First grate door is opening in 15 seconds.***,30,1"
		"OnTrigger" "Server,Command,say ***First grate door is opening.***,45,1"
		"OnTrigger" "berke1door1,Open,,45,1"
		"OnTrigger" "berke1once2,Enable,,45,1"
	}
	insert:
	{
		"OnTrigger" "Server,Command,say ***First grate door is opening in 20 seconds.***,0,1"
		"OnTrigger" "Server,Command,say ***First grate door is opening in 10 seconds.***,10,1"
		"OnTrigger" "Server,Command,say ***First grate door is opening.***,20,1"
		"OnTrigger" "berke1door1,Open,,20,1"
		"OnTrigger" "berke1once2,Enable,,20,1"
	}
}
modify:
{
	match:
	{
		"targetname" "berke1once2"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "Server,Command,say ***Second grate door is opening in 30 seconds.***,0,1"
		"OnTrigger" "Server,Command,say ***Second grate door is opening in 15 seconds.***,15,1"
		"OnTrigger" "Server,Command,say ***Second grate door is opening.***,30,1"
		"OnTrigger" "berke1door5,Open,,30,1"
		"OnTrigger" "berke1breakable1,Break,,40,1"
		"OnTrigger" "Server,Command,say ***First zombie shortcut is open.***,40,1"
		"OnTrigger" "berke1once3,Enable,,30,1"
		"OnTrigger" "berke1wall1,Kill,,30,1"
	}
	insert:
	{
		"OnTrigger" "Server,Command,say ***Second grate door is opening in 25 seconds.***,0,1"
		"OnTrigger" "Server,Command,say ***Second grate door is opening in 10 seconds.***,15,1"
		"OnTrigger" "Server,Command,say ***Second grate door is opening.***,25,1"
		"OnTrigger" "berke1door5,Open,,25,1"
		"OnTrigger" "berke1wall1,Kill,,25,1"
		"OnTrigger" "berke1once3,Enable,,25,1"
		"OnTrigger" "berke1breakable1,Break,,35,1"
		"OnTrigger" "Server,Command,say ***First zombie shortcut is open.***,35,1"
	}
}
modify:
{
	match:
	{
		"targetname" "berke1once3"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "Server,Command,say ***Triple grate door is opening in 30 seconds.***,0,1"
		"OnTrigger" "Server,Command,say ***Triple grate door is opening in 15 seconds.***,15,1"
		"OnTrigger" "Server,Command,say ***Triple grate door is opening.***,30,1"
		"OnTrigger" "berke1door9,Open,,30,1"
		"OnTrigger" "berke1once4,Enable,,30,1"
	}
	insert:
	{
		"OnTrigger" "Server,Command,say ***Triple grate door is opening in 20 seconds.***,0,1"
		"OnTrigger" "Server,Command,say ***Triple grate door is opening in 10 seconds.***,10,1"
		"OnTrigger" "Server,Command,say ***Triple grate door is opening.***,20,1"
		"OnTrigger" "berke1door9,Open,,20,1"
		"OnTrigger" "berke1once4,Enable,,20,1"
	}
}
modify:
{
	match:
	{
		"targetname" "berke1once4"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "Server,Command,say ***Trollge wall will break in 30 seconds.***,0,1"
		"OnTrigger" "Server,Command,say ***Trollge wall will break in 15 seconds.***,15,1"
		"OnTrigger" "Server,Command,say ***Trollge wall is broken.***,30,1"
		"OnTrigger" "berke1breakable2,Break,,30,1"
		"OnTrigger" "berke1wall2,Kill,,30,1"
		"OnTrigger" "berke1once5,Enable,,30,1"
		"OnTrigger" "Server,Command,say ***Second zombie shortcut is open.***,40,1"
		"OnTrigger" "berke1breakable3,Break,,40,1"
		"OnTrigger" "berke1wall3,Kill,,40,1"
	}
	insert:
	{
		"OnTrigger" "Server,Command,say ***Trollge wall will break in 25 seconds.***,0,1"
		"OnTrigger" "Server,Command,say ***Trollge wall will break in 15 seconds.***,10,1"
		"OnTrigger" "Server,Command,say ***Trollge wall is broken.***,25,1"
		"OnTrigger" "berke1breakable2,Break,,25,1"
		"OnTrigger" "berke1wall2,Kill,,25,1"
		"OnTrigger" "berke1once5,Enable,,25,1"
		"OnTrigger" "Server,Command,say ***Second zombie shortcut is open.***,35,1"
		"OnTrigger" "berke1breakable3,Break,,35,1"
		"OnTrigger" "berke1wall3,Kill,,35,1"
	}
}

modify:
{
	match:
	{
		"targetname" "berke1once5"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "Server,Command,say ***Bunker door is closing in 45 seconds.***,0,1"
		"OnTrigger" "Server,Command,say ***Bunker door is closing in 30 seconds.***,15,1"
		"OnTrigger" "Server,Command,say ***Bunker door is closing in 15 seconds.***,30,1"
		"OnTrigger" "Server,Command,say ***Bunker door is closing.***,45,1"
		"OnTrigger" "berke1door10,Close,,45,1"
		"OnTrigger" "Spawn_Tele_CT,Disable,,47,1"
		"OnTrigger" "Spawn_Tele_T,Disable,,47,1"
		"OnTrigger" "Music_Berke,Volume,0,50,1"
		"OnTrigger" "Server,Command,say ***Poof!***,50,1"
		"OnTrigger" "!self,Kill,,50,1"
		"OnTrigger" "berke1sound1,StopSound,,50,1"
		"OnTrigger" "berke1teleport1,Enable,,50,1"
		"OnTrigger" "berke1*,Kill,,51,1"
	}
	insert:
	{
		"OnTrigger" "Server,Command,say ***Bunker door is closing in 30 seconds.***,0,1"
		"OnTrigger" "Server,Command,say ***Bunker door is closing in 15 seconds.***,15,1"
		"OnTrigger" "Server,Command,say ***Bunker door is closing.***,30,1"
		"OnTrigger" "berke1door10,Close,,30,1"
		"OnTrigger" "Spawn_Tele_CT,Disable,,32,1"
		"OnTrigger" "Spawn_Tele_T,Disable,,32,1"
		"OnTrigger" "Music_Berke,Volume,0,35,1"
		"OnTrigger" "Server,Command,say ***Poof!***,35,1"
		"OnTrigger" "!self,Kill,,35,1"
		"OnTrigger" "berke1sound1,StopSound,,35,1"
		"OnTrigger" "berke1teleport1,Enable,,35,1"
		"OnTrigger" "berke1*,Kill,,36,1"
	}
}


;-----------------------
;JOUEURNUL RAISE SKYBOX
;-----------------------

modify:
{
	match:
	{
		"targetname" "skybox_joueurnul"
		"classname" "func_breakable"
		"origin" "1088 -320 -208.61"
	}
	replace:
	{
		"origin" "1100 -320 -265"
	}
}


;-------------------
;FERELOZ RAISE DEST
;-------------------

modify:
{
	match:
	{
		"targetname" "fereloz_t_dest2"
		"classname" "info_teleport_destination"
		"origin" "12992 5152 11520"
	}
	replace:
	{
		"origin" "12992 5152 11536"
	}
}

;---------------------------
;FERELOZ REDUCE HURT DAMAGE
;---------------------------

modify:
{
	match:
	{
		"targetname" "fereloz_lavahurt"
		"classname" "trigger_hurt"
		;"damage" "180"
	}
	replace:
	{
		"damage" "130"
	}
}

;--------------------------
;FERELOZ LASER WRONG NAMES
;--------------------------

modify:
{
	match:
	{
		"targetname" "laser2"
		"classname" "env_beam"
	}
	replace:
	{
		"targetname" "fereloz_laser2"
		"LightningStart" "fereloz_laser2"
	}
}

modify:
{
	match:
	{
		"targetname" "laser4"
		"classname" "env_beam"
	}
	replace:
	{
		"targetname" "fereloz_laser4"
		"LightningStart" "fereloz_laser4"
	}
}

;------------------------------------
;FERELOZ PLATFORM, MOVE LESS FURTHER
;------------------------------------

modify:
{
	match:
	{
		"targetname" "fereloz_platform1"
		"classname" "func_movelinear"
		"origin" "13504 4264 11518"
	}
	replace:
	{
		"origin" "13456 4264 11518"
		"movedistance" "800"
	}
}

modify:
{
	match:
	{
		"targetname" "fereloz_platform2"
		"classname" "func_movelinear"
		"origin" "12448 4504 11518"
	}
	replace:
	{
		"origin" "12528 4504 11518"
		"movedistance" "800"
	}
}
modify:
{
	match:
	{
		"targetname" "fereloz_platform3"
		"classname" "func_movelinear"
		"origin" "13504 4704 11528"
	}
	replace:
	{
		"origin" "13456 4704 11528"
		"movedistance" "800"
	}
}

;-------------------------------
;GSBANY REMOVE EXTRA SPAWNPOINT
;-------------------------------

filter:
{
	"origin" "4804 -4928 656"
	"angles" "0 0 0"
	"classname" "info_player_terrorist"
}

add:
{
	"origin" "15488 -704 -1279"
	"angles" "0 270 0"
	"classname" "info_player_terrorist"
}


;-----------------------
;ADD MORE SPAWN BUTTONS
;-----------------------

filter:
{
	"targetname" "Spawn_Button3"
	"classname" "func_button"
}
add:
{
	"model" "*5"
	"wait" "-1"
	"unlocked_sound" "0"
	"unlocked_sentence" "0"
	"targetname" "Spawn_Button3"
	"speed" "5"
	"spawnflags" "3073"
	"sounds" "3"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "15744 -1248 -1260"
	"movedir" "0 0 0"
	"locked_sound" "0"
	"locked_sentence" "0"
	"lip" "0"
	"health" "0"
	"disablereceiveshadows" "0"
	"classname" "func_button"
	"OnPressed" "Spawn_AntiDelay,Disable,,0,1"
	"OnPressed" "Spawn_Button4,Unlock,,45,1"
	"OnPressed" "Spawn_Heal,Enable,,0,1"
	"OnPressed" "Spawn_AntiDelay,Enable,,45,1"
	"OnPressed" "Spawn_AntiDelay,FireUser1,,45,1"
	"OnPressed" "!self,Color,255 0 0,45,1"
	"OnPressed" "Level_Case,PickRandomShuffle,,5,1"
	"OnPressed" "Server,Command,say ***Good Luck!!***,1,1"
	"OnPressed" "Server,Command,say ***Teleporting to next map!***,0,1"
}
add:
{
	"model" "*6"
	"wait" "-1"
	"unlocked_sound" "0"
	"unlocked_sentence" "0"
	"targetname" "Spawn_Button4"
	"speed" "5"
	"spawnflags" "3073"
	"sounds" "3"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"origin" "15680 -1248 -1260"
	"movedir" "0 0 0"
	"locked_sound" "0"
	"locked_sentence" "0"
	"lip" "0"
	"health" "0"
	"disablereceiveshadows" "0"
	"classname" "func_button"
	"OnPressed" "Spawn_Tele_Win_CT,Enable,,5,1"
	"OnPressed" "Spawn_End_Hurt,Enable,,10,1"
	"OnPressed" "Server,Command,say ***Actually no. There is no final map yet ***,1,1"
	"OnPressed" "Server,Command,say ***Teleporting to FINAL MAP!***,0,1"
	"OnPressed" "Spawn_Heal,Enable,,0,1"
	"OnPressed" "Spawn_AntiDelay,Disable,,0,1"
	"OnPressed" "Server,Command,say ***This project was rushed in less than a week***,2,1"
	"OnPressed" "Server,Command,say ***Stay tuned for more update***,3,1"
}




;--------------------------
;JOUEURNUL STOP ALL MUSICS
;--------------------------

modify:
{
	match:
	{
		"targetname" "yume_once4"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnTrigger" "yume_music_*,Volume,0,21,1"
	}
}

;------------------------------------
;ROSS - MAKE IT EASIER TO GO ON ROOF
;------------------------------------

add:
{
	"origin" "-9532 -9440 -8432"
	"targetname" "ross_some_prop"
	"StartDisabled" "0"
	"spawnflags" "0"
	"solid" "2"
	"skin" "0"
	"SetBodyGroup" "0"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"RandomAnimation" "0"
	"pressuredelay" "0"
	"PerformanceMode" "0"
	"modelscale" "1.0"
	"model" "models/props/de_nuke/crate_extrasmall.mdl"
	"MinAnimTime" "5"
	"MaxAnimTime" "10"
	"fadescale" "1"
	"fademindist" "-1"
	"ExplodeRadius" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"DisableBoneFollowers" "0"
	"angles" "0 0 0"
	"classname" "prop_dynamic"
}

;add:
;{
;	"classname" "prop_dynamic"
;	"origin" "-9532 -9440 -8408"
;	"angles" "0 0 0"
;	"model" "models/props/de_nuke/crate_extrasmall.mdl"
;	"disablereceiveshadows" "1"
;	"disableshadows" "1"
;	"solid" "2"
;	"rendermode" "0"
;}

;-------------------
;ROSS - LONGER HOLD
;-------------------

modify:
{
	match:
	{
		"targetname" "ross_button_silo"
		"classname" "func_button"
	}
	delete:
	{
		"OnPressed" "!self,Lock,,0,1"
		"OnPressed" "Server,Command,say Door Opens in 10 Seconds!,0,1"
		"OnPressed" "ross_spark1,SparkOnce,,1,1"
		"OnPressed" "ross_spark2,SparkOnce,,2,1"
		"OnPressed" "ross_spark3,SparkOnce,,3,1"
		"OnPressed" "ross_spark4,SparkOnce,,4,1"
		"OnPressed" "ross_spark5,SparkOnce,,5,1"
		"OnPressed" "ross_spark6,SparkOnce,,6,1"
		"OnPressed" "ross_spark7,SparkOnce,,7,1"
		"OnPressed" "ross_spark8,SparkOnce,,8,1"
		"OnPressed" "ross_spark9,SparkOnce,,9,1"
		"OnPressed" "ross_spark10,SparkOnce,,10,1"
		"OnPressed" "ross_door_wood,Open,,10,0"
	}
	insert:
	{
		"OnPressed" "!self,Lock,,0,1"
		"OnPressed" "Server,Command,say Door Opens in 20 Seconds!,0,1"
		"OnPressed" "ross_spark1,SparkOnce,,2,1"
		"OnPressed" "ross_spark2,SparkOnce,,4,1"
		"OnPressed" "ross_spark3,SparkOnce,,6,1"
		"OnPressed" "ross_spark4,SparkOnce,,8,1"
		"OnPressed" "Server,Command,say Door Opens in 10 Seconds!,10,1"
		"OnPressed" "ross_spark5,SparkOnce,,10,1"
		"OnPressed" "ross_spark6,SparkOnce,,12,1"
		"OnPressed" "ross_spark7,SparkOnce,,14,1"
		"OnPressed" "ross_spark8,SparkOnce,,16,1"
		"OnPressed" "ross_spark9,SparkOnce,,18,1"
		"OnPressed" "ross_spark10,SparkOnce,,20,1"
		"OnPressed" "ross_door_wood,Open,,20,0"
	}
}

;----------------------------
;VANYA - RESET ZOMBIES SPEED
;----------------------------

modify:
{
	match:
	{
		"targetname" "Vanya_end_teleport_all"
		"classname" "trigger_teleport"
	}
	insert:
	{
		"OnStartTouch" "SpeedMod,ModifySpeed,1,0,-1"
	}
}

;-----------------------------------
;JOUEURNUL ENABLE TRIGGER WITH DOOR
;-----------------------------------

modify:
{
	match:
	{
		"targetname" "yume_once1"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "yume_teleport1,Enable,,11,1"
	}
	insert:
	{
		"OnTrigger" "yume_teleport1,Enable,,10.2,1"
	}
}
modify:
{
	match:
	{
		"targetname" "yume_once4"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnTrigger" "yume_teleport4,Enable,,21,1"
	}
	insert:
	{
		"OnTrigger" "yume_teleport4,Enable,,20.2,1"
	}
}



;-------------------------
;MOG SPRITES FIX
;-------------------------

modify:
{
	match:
	{
		"targetname" "zombiepanic_survivordead_sprite"
		"classname" "env_sprite"
		"model" "zombiepanic/survivors/survivordead.vmt"
		;"spawnflags" "2"
	}
	replace:
	{
		;"model" "sprites/autoaim_1a.vmt"
		;"scale" "1"
		"spawnflags" "0"
		;"rendermode" "9"
	}
}

;modify:
;{
;	match:
;	{
;		"targetname" "zombiepanic_survivordead_relay"
;		"classname" "logic_relay"
;	}
;	delete:
;	{
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 7,0.32,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 6,0.28,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 5,0.24,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 4,0.2,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 3,0.16,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 2,0.12,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 1,0.08,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 0,0.04,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 8,0.36,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 9,0.4,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 10,0.44,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 11,0.48,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 12,0.52,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,AddOutput,texframeindex 13,0.56,-1"
;	}
;	insert:
;	{
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,1.4,0.04,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,1.8,0.08,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,2.2,0.12,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,2.6,0.16,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,3,0.2,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,3.4,0.24,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,3.8,0.28,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,4.2,0.32,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,4.6,0.36,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,5,0.4,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,5.4,0.44,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,5.8,0.48,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,6.2,0.52,-1"
;		"OnSpawn" "zombiepanic_survivordead_sprite,SetScale,6.6,0.56,-1"
;	}
;}

modify:
{
	match:
	{
		"targetname" "zombiepanic_exitdoor_sprite"
		"classname" "env_sprite"
		"model" "zombiepanic/survivors/exitdoor.vmt"
		;"spawnflags" "2"
	}
	replace:
	{
		;"model" "sprites/640_train.vmt"
		;"model" "decals/decal_signroute006a.vmt"
		"spawnflags" "0"
		;"rendermode" "9"
	}
}

;--------------------
;MOG FENCE NO FILTER
;--------------------

modify:
{
	match:
	{
		"targetname" "zombiepanic_zombie_shortcut"
		"classname" "func_breakable"
		"origin" "-206 -12686 12992"
	}
	delete:
	{
		"damagefilter" "filter_t"
	}
}
modify:
{
	match:
	{
		"targetname" "zombiepanic_zombie_shortcut"
		"classname" "func_breakable"
		"origin" "-206 -12854 12992"
	}
	delete:
	{
		"damagefilter" "filter_t"
	}
}


;-------------------------------
;PASAS FIX WRONG FILTER BOSS HP
;-------------------------------

modify:
{
	match:
	{
		"targetname" "pasasroom_boss_hpadd"
		"classname" "trigger_once"
	}
	replace:
	{
		"filtername" "Filter_CT"
	}
}


;--------------------------
;PASAS BOUNDING BOX ISLAND
;--------------------------

modify:
{
	match:
	{
		; 1 to 6
		;"targetname" "pasasroom_island1"
		"model" "models/props_pasasroom/island_256x256.mdl"
		"classname" "prop_dynamic_override"
	}
	replace:
	{
		"solid" "2"
	}
}


;-----------------------------
;MOG MAKE TP ONLY ENABLE 
; AFTER ONE PERSON ENTER DOOR
;-----------------------------

modify:
{
	match:
	{
		"targetname" "zombiepanic_neighborssaved_counter"
		"classname" "math_counter"
	}
	delete:
	{
		"OnHitMax" "zombiepanic_exitdoor_maker,ForceSpawnAtEntityOrigin,!activator,0,1"
		"OnHitMax" "zombiepanic_neighborsleft_timer,Disable,,1,1"
		"OnHitMax" "zombiepanic_timelimit_relay,Disable,,0,1"
		"OnHitMax" "zombiepanic_teleport_end_all,Enable,,14,1"
		"OnHitMax" "Server,Command,say > Exit is open ! 12 seconds to escape ! <,1,1"
		"OnHitMax" "zombiepanic_teleport_end_ct,Enable,,13,1"
		"OnHitMax" "server,Command,say > All neighbors are saved...You win ! <,0,1"
		"OnHitMax" "Spawn_Tele_CT,Disable,,0,1"
		"OnHitMax" "Spawn_Tele_T,Disable,,0,1"
		"OnHitMax" "zombiepanic_3dskybox_model,Kill,,15,1"
	}
	insert:
	{
		"OnHitMax" "zombiepanic_exitdoor_maker,ForceSpawnAtEntityOrigin,!activator,0,1"
		"OnHitMax" "zombiepanic_timelimit_relay,Disable,,0,1"
		"OnHitMax" "zombiepanic_neighborsleft_timer,Disable,,1,1"
		"OnHitMax" "server,Command,say > All neighbors are saved...You win ! <,0,1"
		"OnHitMax" "Server,Command,say > Exit is open ! Escape quick ! <,1,1"
		"OnHitMax" "zombiepanic_teleport_end_all,Enable,,30,1"
		"OnUser1" "Spawn_Tele_CT,Disable,,0,1"
		"OnUser1" "Spawn_Tele_T,Disable,,0,1"
		"OnUser1" "Server,Command,say > Someone escaped ! 12 seconds left ! <,0,1"
		"OnUser1" "zombiepanic_teleport_end_ct,Enable,,12,1"
		"OnUser1" "zombiepanic_teleport_end_all,Enable,,13,1"
		"OnUser1" "zombiepanic_3dskybox_model,Kill,,14,1"
	}
}

modify:
{
	match:
	{
		"targetname" "zombiepanic_exitdoor_teleport"
		"classname" "trigger_teleport"
	}
	insert:
	{
		"OnStartTouch" "zombiepanic_neighborssaved_counter,FireUser1,,0,1"
	}
}
