;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;Disable Bhop in Sonic
;-----------------------

modify:
{
	match:
	{
		"targetname" "Sonic_Trigger"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnStartTouch" "Server,Command,sv_enablebunnyhopping 0,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "Sonic_End_Trigger"
		"classname" "trigger_once"
	}
	insert:
	{
		"OnStartTouch" "Server,Command,sv_enablebunnyhopping 1,35,1"
	}
}

modify:
{
	match:
	{
		"classname" "logic_auto"
	}
	insert:
	{
		"OnMapSpawn" "Server,Command,sv_enablebunnyhopping 1,0,-1"
	}
}

;----------------------------
;Fix No Damage after Zomeal
;----------------------------

modify:
{
	match:
	{
		"targetname" "Zeal_Path2"
		"classname" "path_track"
	}
	insert:
	{
		"OnPass" "Zeal_NoDamage,Disable,,0,1"
	}
}

;--------------------------------
;UNLOZE: Disable Fail Nade Spawn
;--------------------------------

modify:
{
	match:
	{
		"targetname" "Spawn_Trigger"
		"classname" "trigger_multiple"
		"hammerid" "1024673"
	}
	insert:
	{
		"OnStartTouch" "Server,Command,exec nadekboff,0,1"
		"OnStartTouch" "Server,Command,exec nadekbon,35,1"
	}
}



;; _

;; zombie murder - prevent zombies getting stuck on grenade box, remove nade box on final attack

add:
{
	"model" "*425"
	"targetname" "Ammo_Box_Tp"
	"target" "ZombieMurder_DestZ"
	"StartDisabled" "0"
	"filtername" "Filter_T"
	"spawnflags" "1"
	"origin" "10664 -5184 -8620"
	"classname" "trigger_teleport"
}

modify:
{
	match:
	{
		"targetname" "ZombieMurder_Relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "Ammo_Box_Tp,Kill,,1,1"
	}
	insert:
	{
		"OnUser1" "Ammo_Box_*,Kill,,0,1"
	}
}

;; deathrun - fix fire origin

modify:
{
	match:
	{
		"origin" "10688 -14260 15900"
		"targetname" "Deathrun_Fire"
		"classname" "env_fire"
	}
	replace:
	{
		"origin" "10688 -14260 15964"
	}
}

;; zomeal - delay POD teleport

modify:
{
	match:
	{
		"targetname" "Zeal_Boss_Break"
		"classname" "func_breakable"
	}
	delete:
	{
		"OnBreak" "Zeal_End_Trigger,Enable,,0,1"
	}
	insert:
	{
		"OnBreak" "Zeal_End_Trigger,Enable,,7,1"
	}
}

;; classic (test) - reduce stage duration

modify:
{
	match:
	{
		"targetname" "Level_Case"
		"classname" "logic_case"
	}
	delete:
	{
		"OnCase02" "Spawn_Tele_CT,Disable,,105,1"
		"OnCase02" "Spawn_Tele_T,Disable,,105,1"
	}
	insert:
	{
		"OnCase02" "Spawn_Tele_CT,Disable,,90,1"
		"OnCase02" "Spawn_Tele_T,Disable,,90,1"
	}
}

modify:
{
	match:
	{
		"targetname" "Classic_Trigger"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "Server,Command,say ***Hide and survive for 90secs!***,20,1"
		"OnStartTouch" "Classic_TeleCT,Enable,,110,1"
		"OnStartTouch" "Classic_TeleT,Enable,,110,1"
		"OnStartTouch" "Server,Command,say ***Survive for 20secs!***,90,1"
		"OnStartTouch" "Music_Classic,Volume,0,110,1"
		"OnStartTouch" "Music_Classic,Kill,,111,1"
		"OnStartTouch" "Classic_*,Kill,,111,1"
	}
	insert:
	{
		"OnStartTouch" "Server,Command,say ***Hide and survive for 75secs!***,20,1"
		"OnStartTouch" "Server,Command,say ***Survive for 20secs!***,75,1"
		"OnStartTouch" "Classic_TeleCT,Enable,,95,1"
		"OnStartTouch" "Classic_TeleT,Enable,,95,1"
		"OnStartTouch" "Music_Classic,Volume,0,95,1"
		"OnStartTouch" "Music_Classic,Kill,,96,1"
		"OnStartTouch" "Classic_*,Kill,,96,1"
	}
}

;; volcano alter - fix ct teleport origin

modify:
{
	match:
	{
		"targetname" "Lava_Dest"
		"classname" "info_teleport_destination"
	}
	replace:
	{
		"origin" "-4288 -8260 7451"
	}
}

;; zomeal - fix zombie "knockback"

modify:
{
	match:
	{
		"targetname" "Zeal_NoDamage"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnEndTouch" "!activator,SetDamageFilter,,0,-1"
	}
	insert:
	{
		"OnEndTouch" "!activator,SetDamageFilter,,0.1,-1"
	}
}

;; deathrun - fix glitch spot

add:
{
	"model" "*71"
	"targetname" "Deathrun_Curse2"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "10239 -14144 16159"
	"nodmgforce" "0"
	"damagetype" "0"
	"damagemodel" "0"
	"damagecap" "2"
	"damage" "2"
	"classname" "trigger_hurt"
}
add:
{
	"model" "*71"
	"targetname" "Deathrun_AFK_Tele"
	"target" "Spawn_Dest_T"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "10239 -14144 16159"
	"classname" "trigger_teleport"
}

;; (experimental) sonic - shorten holds

modify:
{
	match:
	{
		"targetname" "Sonic_Spring1"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,basevelocity 0 0 800,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,basevelocity 0 0 600,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "Sonic_Break1_Trigger"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "Server,Command,say ***Tunnel path will open in 15secs!***,0,1"
		"OnStartTouch" "Server,Command,say ***Tunnel path is open!***,15,1"
		"OnStartTouch" "Sonic_Break1,Break,,15,1"
		"OnStartTouch" "Sonic_Sfx4,PlaySound,,15,1"
		"OnStartTouch" "Sonic_Clip1,FireUser1,,20,1"
		"OnStartTouch" "Sonic_BreakCade,Kill,,20,1"
	}
	insert:
	{
		"OnStartTouch" "Server,Command,say ***Tunnel path is open!***,5,1"
		"OnStartTouch" "Sonic_Break1,Break,,5,1"
		"OnStartTouch" "Sonic_Sfx4,PlaySound,,5,1"
		"OnStartTouch" "Sonic_Clip1,FireUser1,,10,1"
		"OnStartTouch" "Sonic_BreakCade,Break,,10,1"
	}
}
modify:
{
	match:
	{
		"targetname" "Sonic_Break2_Trigger"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "Server,Command,say ***Tunnel path will open in 15secs!***,0,1"
		"OnStartTouch" "Server,Command,say ***Tunnel path will open!***,15,1"
		"OnStartTouch" "Sonic_BreakCade2,Break,,20,1"
		"OnStartTouch" "Sonic_Sfx4,PlaySound,,15,1"
		"OnStartTouch" "Sonic_Clip2,Kill,,20,1"
		"OnStartTouch" "Sonic_Break2,Break,,15,1"
	}
	insert:
	{
		"OnStartTouch" "Server,Command,say ***Tunnel path is open!***,5,1"
		"OnStartTouch" "Sonic_BreakCade2,Break,,10,1"
		"OnStartTouch" "Sonic_Sfx4,PlaySound,,5,1"
		"OnStartTouch" "Sonic_Clip2,Kill,,10,1"
		"OnStartTouch" "Sonic_Break2,Break,,5,1"
	}
}

add:
{
	"model" "*349"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-7614 -3264 4864"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "8"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*349"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-7614 -3264 4928"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "8"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}
add:
{
	"model" "*349"
	"spawnobject" "0"
	"spawnflags" "1"
	"rendermode" "0"
	"renderfx" "0"
	"rendercolor" "255 255 255"
	"renderamt" "255"
	"propdata" "0"
	"pressuredelay" "0"
	"physdamagescale" "1.0"
	"PerformanceMode" "0"
	"origin" "-7614 -3264 4992"
	"nodamageforces" "0"
	"minhealthdmg" "0"
	"material" "8"
	"health" "1"
	"gibdir" "0 0 0"
	"explosion" "0"
	"ExplodeRadius" "0"
	"explodemagnitude" "0"
	"ExplodeDamage" "0"
	"disableshadows" "1"
	"disablereceiveshadows" "1"
	"classname" "func_breakable"
}

;; music volume

modify:
{
	match:
	{
		"message" "music/a_whole_new _world.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/a_whole_new _world.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/beat_the_angel.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/beat_the_angel.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/big_arms.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/big_arms.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/black_mesa_inbound.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/black_mesa_inbound.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/dusty_desert.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/dusty_desert.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/feels _so_good.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/feels _so_good.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/final_destination.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/final_destination.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/forest_entrance.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/forest_entrance.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/ge_999_open.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/ge_999_open.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/ge_999_planet_maetel.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/ge_999_planet_maetel.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/green_hill_zone.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/green_hill_zone.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/kingdom_valley.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/kingdom_valley.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/let_it_go.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/let_it_go.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/new_quack_city.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/new_quack_city.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/push_it_to_the_limit.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/push_it_to_the_limit.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/rusty_ruins_2.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/rusty_ruins_2.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/sa_icecap_1.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/sa_icecap_1.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/shadowy_woods.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/shadowy_woods.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/shenmue_nightfall.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/shenmue_nightfall.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/the_fall.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/the_fall.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/volcano_valley_1.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/volcano_valley_1.mp3"
	}
}
modify:
{
	match:
	{
		"message" "music/yakety_sax.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#music/yakety_sax.mp3"
	}
}

;; sonic - faster ending teleport

modify:
{
	match:
	{
		"targetname" "Sonic_End_Trigger"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "Sonic_End_Tele,Enable,,35,1"
	}
	insert:
	{
		"OnStartTouch" "Sonic_End_Tele,Enable,,30.1,1"
	}
}

;; icecap - shorter last hold

modify:
{
	match:
	{
		"targetname" "Icecap_End_Trigger"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "Server,Command,say ***Boat and washtub leaving in 45secs!***,0,1"
		"OnStartTouch" "Server,Command,say ***Boat and washtub leaving in 10secs!***,35,1"
		"OnStartTouch" "Icecap_Case,PickRandom,,40,1"
		"OnStartTouch" "Spawn_Tele_CT,Disable,,45,1"
		"OnStartTouch" "Spawn_Tele_T,Disable,,45,1"
	}
	insert:
	{
		"OnStartTouch" "Server,Command,say ***Boat and washtub leaving in 30secs!***,0,1"
		"OnStartTouch" "Server,Command,say ***Boat and washtub leaving in 10secs!***,20,1"
		"OnStartTouch" "Icecap_Case,PickRandom,,25,1"
		"OnStartTouch" "Spawn_Tele_CT,Disable,,30,1"
		"OnStartTouch" "Spawn_Tele_T,Disable,,30,1"
	}
}

;; sonic - absvelocity instead of basevelocity

modify:
{
	match:
	{
		"targetname" "Sonic_Spring2"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,basevelocity 0 0 800,0,-1"
		"OnStartTouch" "!activator,AddOutput,basevelocity 0 100 0,1,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,absvelocity 0 100 900,0,-1"
	}
}