;; _

;; fix global teleport

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

;; reset modelscale on spawn

modify:
{
	match:
	{
		"targetname" "spawnroom_reset_trigger"
		"classname" "trigger_multiple"
	}
	insert:
	{
		"OnStartTouch" "!activator,SetModelScale,1,0,-1"
	}
}

;; fix zm custom model

modify:
{
	match:
	{
		"origin" "-12048 -3960 3216"
		"classname" "trigger_teleport"
		"hammerid" "4204570"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,modelindex 229,0.05,-1"
	}
}

;; apply playermodel only for ct's

modify:
{
	match:
	{
		"targetname" "Player_Skin_Trigger"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,modelindex 303,0.05,-1"
	}
	insert:
	{
		"filtername" "filter_ct"
		"OnStartTouch" "!activator,AddOutput,modelindex 303,0,-1"
	}
}



