;------------
;Fix Boss hp
;------------

filter:
{
	"targetname" "BossZoneCount"
	"classname" "game_zone_player"
}

add:
{
	"model" "*98"
	"targetname" "BossZoneCountFix"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-1086 7110 -248"
	"filtername" "CTFilter"
	"classname" "trigger_once"
	"OnStartTouch" "BossHPCounter,Add,100,0,-1"
	"OnStartTouch" "BossHPPlayersCounter,Add,1,0,-1"
}


modify:
{
	match:
	{
		"targetname" "BossEntranceTrigger"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "BossZoneCount,CountPlayersInZone,,19,-1"
		"OnStartTouch" "ConsoleTalk,Command,say ## Boss Room Door Closing 10 Seconds ##,0,-1"
		"OnStartTouch" "ConsoleTalk,Command,say ## Boss Room Door Closing 5 Seconds ##,5,-1"
		"OnStartTouch" "ConsoleTalk,Command,say ## Boss Room Door Closed...Prepare for BATTLE ##,10,-1"
		"OnStartTouch" "ConsoleTalk,Command,say ## All Players if not in the boss room will be teleported ##,1,-1"
		"OnStartTouch" "ConsoleTalk,Command,say ## REAPER SPLITTER KILL IT ##,23,-1"
		"OnStartTouch" "ConsoleTalk,Command,say ## You have 2minutes till the boss room explodes! Kill it Quick! ##,24,-1"
	}
	insert:
	{
		"OnStartTouch" "BossZoneCountFix,Enable,,19,1"
		"OnStartTouch" "ConsoleTalk,Command,say ## Boss Room Door Closing 10 Seconds ##,0,1"
		"OnStartTouch" "ConsoleTalk,Command,say ## Boss Room Door Closing 5 Seconds ##,5,1"
		"OnStartTouch" "ConsoleTalk,Command,say ## Boss Room Door Closed...Prepare for BATTLE ##,10,1"
		"OnStartTouch" "ConsoleTalk,Command,say ## All Players outside the boss room will be teleported ##,1,1"
		"OnStartTouch" "ConsoleTalk,Command,say ## REAPER SPLITTER KILL IT ##,23,1"
		"OnStartTouch" "ConsoleTalk,Command,say ## You have 2 minutes till the boss room explodes! Kill it Quick! ##,24,1"
	}
}



;; _

;; fix weapon strippers

modify:
{
	match:
	{
		"targetname" "borgTriggerStrip"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "borgWeaponStrip,Strip,,0,-1"
		"OnStartTouch" "!activator,AddOutput,rendermode 1,0,-1"
		"OnStartTouch" "!activator,Alpha,55,0,-1"
	}
	insert:
	{
		"OnStartTouch" "borgWeaponStrip,Strip,,0,1"
		"OnStartTouch" "!activator,AddOutput,rendermode 1,0,1"
		"OnStartTouch" "!activator,Alpha,55,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "CortezTriggerStrip"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "cortezWeaponStrip,Strip,,0,-1"
		"OnStartTouch" "!activator,AddOutput,rendermode 1,0,-1"
		"OnStartTouch" "!activator,Alpha,55,0,-1"
	}
	insert:
	{
		"OnStartTouch" "cortezWeaponStrip,Strip,,0,1"
		"OnStartTouch" "!activator,AddOutput,rendermode 1,0,1"
		"OnStartTouch" "!activator,Alpha,55,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "scorgTriggerStrip"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "scorgWeaponStrip,Strip,,0,-1"
		"OnStartTouch" "!activator,AddOutput,rendermode 1,0,-1"
		"OnStartTouch" "!activator,Alpha,55,0,-1"
	}
	insert:
	{
		"OnStartTouch" "scorgWeaponStrip,Strip,,0,1"
		"OnStartTouch" "!activator,AddOutput,rendermode 1,0,1"
		"OnStartTouch" "!activator,Alpha,55,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "violaTriggerStrip"
		"classname" "trigger_once"
	}
	delete:
	{
		"OnStartTouch" "violaWeaponStrip,Strip,,0,-1"
		"OnStartTouch" "!activator,AddOutput,rendermode 1,0,-1"
		"OnStartTouch" "!activator,Alpha,55,0,-1"
	}
	insert:
	{
		"OnStartTouch" "violaWeaponStrip,Strip,,0,1"
		"OnStartTouch" "!activator,AddOutput,rendermode 1,0,1"
		"OnStartTouch" "!activator,Alpha,55,0,1"
	}
}

;; music volume

modify:
{
	match:
	{
		"message" "tsmusic/tsanaconda.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#tsmusic/tsanaconda.mp3"
	}
}
modify:
{
	match:
	{
		"message" "tsmusic/TSGoteki.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#tsmusic/TSGoteki.mp3"
	}
}
modify:
{
	match:
	{
		"message" "tsmusic/TSStreets.mp3"
		"classname" "ambient_generic"
	}
	replace:
	{
		"message" "#tsmusic/TSStreets.mp3"
	}
}

