;; _

;; stage 2 - entity lag

;modify:
;{
;	match:
;	{
;		"targetname" "SpawnManagerS2P4"
;		"classname" "logic_relay"
;	}
;	replace:
;	{
;		; just disable the relay for now
;		"StartDisabled" "1"
;	}
;	delete:
;	{
;		"OnTrigger" "s_nksoldier,AddOutput,origin -8633 -2232 256,0,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 46 0,0,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,0.1,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -11520 780 64,0.2,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 311 0,0.2,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,0.3,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -12605 4168 64,0.4,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 270 0,0.4,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,0.5,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -13717 -1353 60,0.6,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 40 0,0.6,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,0.7,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -14624 -1957 192,0.8,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 320 0,0.8,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,0.9,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -12076 -1918 320,1,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 237 0,1,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,1.1,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -14935 -141 -447,1.2,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 180 0,1.2,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,1.3,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -14939 -524 -447,1.4,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 179 0,1.4,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,1.5,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -12556 480 40,0,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 89 0,0,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,0.1,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -12386 480 40,0.2,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 90 0,0.2,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,0.3,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -12183 478 40,0.4,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 90 0,0.4,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,0.5,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -11942 558 40,0.6,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 136 0,0.6,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,0.7,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -11805 696 40,0.8,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 134 0,0.8,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,0.9,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -11745 1008 40,1,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 179 0,1,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,1.1,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -11747 1303 40,1.2,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 179 0,1.2,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,1.3,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -11747 1585 40,1.4,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 179 0,1.4,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,1.5,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1762 270,0,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,0,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,0.1,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1729 270,0.2,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,0.2,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,0.3,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1798 270,0.4,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,0.4,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,0.5,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1846 270,0.6,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,0.6,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,0.7,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1788 270,0.8,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,0.8,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,0.9,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1708 270,1,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,1,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,1.1,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1664 270,1.2,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,1.2,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,1.3,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1753 270,1.4,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,1.4,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,1.5,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1819 270,1.6,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,1.6,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,1.7,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1844 270,1.8,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,1.8,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,1.9,-1"
;		"OnTrigger" "s_nkbabysoldier,AddOutput,origin -8768 -1326 256,0,-1"
;		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 270 0,0,-1"
;		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,0.1,-1"
;	}
;	insert:
;	{
;		"OnTrigger" "server,Command,say s_nksoldier,5,-1"
;;		"OnTrigger" "s_nksoldier,AddOutput,origin -8633 -2232 256,5,-1"
;;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 46 0,5,-1"
;;		"OnTrigger" "s_nksoldier,ForceSpawn,,5.3,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -11520 780 64,5.6,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 311 0,5.6,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,5.9,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -12605 4168 64,6.2,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 270 0,6.2,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,6.5,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -13717 -1353 60,6.8,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 40 0,6.8,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,7.1,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -14624 -1957 192,7.4,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 320 0,7.4,-1"
;;		"OnTrigger" "s_nksoldier,ForceSpawn,,7.7,-1"
;;		"OnTrigger" "s_nksoldier,AddOutput,origin -12076 -1918 320,8,-1"
;;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 237 0,8,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,8.3,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,origin -14935 -141 -447,8.6,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 180 0,8.6,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,8.9,-1"
;;		"OnTrigger" "s_nksoldier,AddOutput,origin -14939 -524 -447,9.2,-1"
;;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 179 0,9.2,-1"
;;		"OnTrigger" "s_nksoldier,ForceSpawn,,9.5,-1"
;		"OnTrigger" "server,Command,say s_babysuicide,10,-1"
;;		"OnTrigger" "s_babysuicide,AddOutput,origin -12556 480 40,10,-1"
;;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 89 0,10,-1"
;;		"OnTrigger" "s_babysuicide,ForceSpawn,,10.3,-1"
;;		"OnTrigger" "s_babysuicide,AddOutput,origin -12386 480 40,10.6,-1"
;;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 90 0,10.6,-1"
;;		"OnTrigger" "s_babysuicide,ForceSpawn,,10.9,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -12183 478 40,11.2,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 90 0,11.2,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,11.5,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -11942 558 40,11.8,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 136 0,11.8,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,12.1,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -11805 696 40,12.4,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 134 0,12.4,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,12.7,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -11745 1008 40,13,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 179 0,13,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,13.3,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,origin -11747 1303 40,13.6,-1"
;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 179 0,13.6,-1"
;		"OnTrigger" "s_babysuicide,ForceSpawn,,13.9,-1"
;;		"OnTrigger" "s_babysuicide,AddOutput,origin -11747 1585 40,14.2,-1"
;;		"OnTrigger" "s_babysuicide,AddOutput,angles 0 179 0,14.2,-1"
;;		"OnTrigger" "s_babysuicide,ForceSpawn,,14.5,-1"
;		"OnTrigger" "server,Command,say s_mine,15,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1762 270,15,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,15,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,15.3,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1729 270,15.6,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,15.6,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,15.9,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1798 270,16.2,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,16.2,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,16.5,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1846 270,16.8,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,16.8,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,17.1,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1788 270,17.4,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,17.4,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,17.7,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1708 270,18,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,18,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,18.3,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1664 270,18.6,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,18.6,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,18.9,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1753 270,19.2,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,19.2,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,19.5,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1819 270,19.8,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,19.8,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,20.3,-1"
;		"OnTrigger" "s_mine,AddOutput,origin -11568 1844 270,20.6,-1"
;		"OnTrigger" "s_mine,AddOutput,angles 0 -142 0,20.6,-1"
;		"OnTrigger" "s_mine,ForceSpawn,,20.9,-1"
;		"OnTrigger" "server,Command,say s_nkbabysoldier,21,-1"
;		"OnTrigger" "s_nkbabysoldier,AddOutput,origin -8768 -1326 256,21,-1"
;		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 270 0,21,-1"
;		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,21.3,-1"
;	}
;}

;modify:
;{
;	match:
;	{
;		"targetname" "SpawnManagerS2P1"
;		"classname" "logic_relay"
;	}
;	delete:
;	{
;		"OnTrigger" "s_nksoldier,AddOutput,origin -8069 -10375 192,0.2,-1"
;		"OnTrigger" "s_nksoldier,AddOutput,angles 0 90 0,0.2,-1"
;		"OnTrigger" "s_nksoldier,ForceSpawn,,0.3,-1"
;	}
;}

;; stage 3 - entity lag

modify:
{
	match:
	{
		"targetname" "SpawnManagerStage3"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "SpawnManagerS3P2,Trigger,,1,-1"
		"OnTrigger" "SpawnManagerS3P3,Trigger,,2,-1"
		"OnTrigger" "SpawnManagerS3P4,Trigger,,3,-1"
		"OnTrigger" "SpawnManagerS3P5,Trigger,,4,-1"
		"OnTrigger" "SpawnManagerS3P6,Trigger,,5,-1"
		"OnTrigger" "SpawnManagerS3P7,Trigger,,6,-1"
		"OnTrigger" "SpawnManagerS3P8,Trigger,,7,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "SpawnManagerS3P1"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "s_nksoldier,AddOutput,origin 9983 6551 3904,0.4,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 270 0,0.4,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.5,-1"
		"OnTrigger" "s_nksoldier,AddOutput,origin 5759 9979 4672,0.8,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 0 0,0.8,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.7,-1"
		"OnTrigger" "s_nksoldier,AddOutput,origin 9582 11567 4160,0.6,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 181 0,0.6,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.9,-1"
	}
	insert:
	{
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,70.9,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 90 0,70.8,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 7644 -439 4032,70.8,-1"
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,70.7,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 87 0,70.6,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 7643 -352 4032,70.6,-1"
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,70.5,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 87 0,70.4,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 7646 -283 4032,70.4,-1"
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,70.3,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 87 0,70,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 7648 -213 4032,70,-1"
		"OnTrigger" "s_nksoldier,AddOutput,origin 9983 6551 3904,75,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 270 0,75,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,75.1,-1"
	}
}

modify:
{
	match:
	{
		"targetname" "SpawnManagerS3P2"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "s_mine,ForceSpawn,,0.9,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0.8,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9988 7547 4104,0.8,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.7,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0.6,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9988 7423 4104,0.6,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.5,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 267 0,0.4,-1"
		"OnTrigger" "s_nksoldier,AddOutput,origin 10947 13013 10304,0.4,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.3,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 179 0,0.2,-1"
		"OnTrigger" "s_nksoldier,AddOutput,origin 9514 11004 9792,0.2,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.1,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 86 0,0,-1"
		"OnTrigger" "s_nksoldier,AddOutput,origin 5326 10742 9920,0,-1"
	}
	insert:
	{
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,1.9,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 224 0,1.7,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 10695 9927 4160,1.7,-1"
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,1.5,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 314 0,1.3,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 9265 9933 4160,1.3,-1"
		"OnTrigger" "s_mine,ForceSpawn,,1.1,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,1,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9988 7547 4104,1,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.9,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0.8,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9988 7423 4104,0.8,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.7,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0.6,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9988 8066 4104,0.6,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.5,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0.4,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9986 7938 4104,0.4,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.3,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0.2,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9987 7804 4104,0.2,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.1,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9987 7674 4104,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "10017 6704 4520"
		"classname" "trigger_multiple"
		"hammerid" "508367"
	}
	insert:
	{
		"OnStartTouch" "SpawnManagerS3P2,Trigger,,0,1"
	}
}

modify:
{
	match:
	{
		"targetname" "SpawnManagerS3P3"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "s_mine,ForceSpawn,,0.9,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 153 0,0.8,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9169 8906 7428,0.8,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.7,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0.6,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9988 8066 4104,0.6,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.5,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0.4,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9986 7938 4104,0.4,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.3,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0.2,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9987 7804 4104,0.2,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.1,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 90 0,0,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9987 7674 4104,0,-1"
	}
	insert:
	{
		"OnTrigger" "s_nksoldier,AddOutput,origin 5759 9979 4672,0.8,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 0 0,0.8,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.7,-1"
		"OnTrigger" "s_nksoldier,AddOutput,origin 9582 11567 4160,0.6,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 181 0,0.6,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.9,-1"
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,0.5,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 3 0,0.4,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 8039 10622 4160,0.4,-1"
	}
}
modify:
{
	match:
	{
		"origin" "10049 9984 4224"
		"classname" "trigger_multiple"
		"hammerid" "508409"
	}
	insert:
	{
		"OnStartTouch" "SpawnManagerS3P3,Trigger,,25,1"
	}
}

modify:
{
	match:
	{
		"targetname" "SpawnManagerS3P4"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "s_mine,ForceSpawn,,0.9,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 40 0,0.8,-1"
		"OnTrigger" "s_mine,AddOutput,origin 8719 8805 7444,0.8,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.7,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 40 0,0.6,-1"
		"OnTrigger" "s_mine,AddOutput,origin 8162 8747 7468,0.6,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.5,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 153 0,0.4,-1"
		"OnTrigger" "s_mine,AddOutput,origin 7756 8779 7422,0.4,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.3,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 153 0,0.2,-1"
		"OnTrigger" "s_mine,AddOutput,origin 8095 8792 7423,0.2,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.1,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 153 0,0,-1"
		"OnTrigger" "s_mine,AddOutput,origin 8626 8813 7425,0,-1"
	}
	insert:
	{
		"OnTrigger" "s_ikea_castlebox,ForceSpawn,,3.1,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,angles 0 90 0,3,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,origin 11767 12045 8210,3,-1"
		"OnTrigger" "s_ikea_castlebox,ForceSpawn,,2.9,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,angles 0 138 0,2.8,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,origin 11131 8226 7840,2.8,-1"
		"OnTrigger" "s_ikea_castlebox,ForceSpawn,,2.7,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,angles 0 144 0,2.6,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,origin 10983 8214 7315,2.6,-1"
		"OnTrigger" "s_ikea_castlebox,ForceSpawn,,2.5,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,angles 0 39 0,2.4,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,origin 7394 8221 7315,2.4,-1"
		"OnTrigger" "s_ikea_castlebox,ForceSpawn,,2.3,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,angles 0 180 0,2.2,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,origin 7452 9286 7700,2.2,-1"
		"OnTrigger" "s_ikea_castlebox,ForceSpawn,,2.1,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,angles 0 121 0,2,-1"
		"OnTrigger" "s_ikea_castlebox,AddOutput,origin 10332 9464 7400,2,-1"
		"OnTrigger" "s_mine,ForceSpawn,,1.3,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 40 0,1.2,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9269 8922 7419,1.2,-1"
		"OnTrigger" "s_mine,ForceSpawn,,1.1,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 153 0,1,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9169 8906 7428,1,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.9,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 40 0,0.8,-1"
		"OnTrigger" "s_mine,AddOutput,origin 8719 8805 7444,0.8,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.7,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 40 0,0.6,-1"
		"OnTrigger" "s_mine,AddOutput,origin 8162 8747 7468,0.6,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.5,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 153 0,0.4,-1"
		"OnTrigger" "s_mine,AddOutput,origin 7756 8779 7422,0.4,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.3,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 153 0,0.2,-1"
		"OnTrigger" "s_mine,AddOutput,origin 8095 8792 7423,0.2,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.1,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 153 0,0,-1"
		"OnTrigger" "s_mine,AddOutput,origin 8626 8813 7425,0,-1"
	}
}
modify:
{
	match:
	{
		"origin" "6689 8704 4672"
		"classname" "trigger_multiple"
		"hammerid" "595752"
	}
	insert:
	{
		"OnStartTouch" "SpawnManagerS3P4,Trigger,,20,1"
	}
}

modify:
{
	match:
	{
		"targetname" "SpawnManagerS3P5"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,0.9,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 90 0,0.8,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 7644 -439 4032,0.8,-1"
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,0.7,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 87 0,0.6,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 7643 -352 4032,0.6,-1"
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,0.5,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 87 0,0.4,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 7646 -283 4032,0.4,-1"
		"OnTrigger" "s_nkbabysoldier,ForceSpawn,,0.3,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,angles 0 87 0,0.2,-1"
		"OnTrigger" "s_nkbabysoldier,AddOutput,origin 7648 -213 4032,0.2,-1"
		"OnTrigger" "s_mine,ForceSpawn,,0.1,-1"
		"OnTrigger" "s_mine,AddOutput,angles 0 40 0,0,-1"
		"OnTrigger" "s_mine,AddOutput,origin 9269 8922 7419,0,-1"
	}
	insert:
	{
		"OnTrigger" "s_babysuicide,ForceSpawn,,2.8,-1"
		"OnTrigger" "s_babysuicide,AddOutput,angles 0 0 0 ,2.6,-1"
		"OnTrigger" "s_babysuicide,AddOutput,origin 9711 11007 9736,2.6,-1"
		"OnTrigger" "s_babysuicide,ForceSpawn,,2.4,-1"
		"OnTrigger" "s_babysuicide,AddOutput,angles 0 315 0,2.2,-1"
		"OnTrigger" "s_babysuicide,AddOutput,origin 9657 10827 9736,2.2,-1"
		"OnTrigger" "s_babysuicide,ForceSpawn,,2,-1"
		"OnTrigger" "s_babysuicide,AddOutput,angles 0 255 0,1.8,-1"
		"OnTrigger" "s_babysuicide,AddOutput,origin 9294 10825 9736,1.8,-1"
		"OnTrigger" "s_babysuicide,ForceSpawn,,1.6,-1"
		"OnTrigger" "s_babysuicide,AddOutput,angles 0 270 0,1.4,-1"
		"OnTrigger" "s_babysuicide,AddOutput,origin 9469 10767 9736,1.4,-1"
		"OnTrigger" "s_babysuicide,ForceSpawn,,1.2,-1"
		"OnTrigger" "s_babysuicide,AddOutput,angles 0 0 0,1,-1"
		"OnTrigger" "s_babysuicide,AddOutput,origin 6258 10367 10120,1,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.5,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 267 0,0.4,-1"
		"OnTrigger" "s_nksoldier,AddOutput,origin 10947 13013 10304,0.4,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.3,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 179 0,0.2,-1"
		"OnTrigger" "s_nksoldier,AddOutput,origin 9514 11004 9792,0.2,-1"
		"OnTrigger" "s_nksoldier,ForceSpawn,,0.1,-1"
		"OnTrigger" "s_nksoldier,AddOutput,angles 0 86 0,0,-1"
		"OnTrigger" "s_nksoldier,AddOutput,origin 5326 10742 9920,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "s3_pringles_roof_break"
		"classname" "func_breakable"
		"hammerid" "506160"
	}
	insert:
	{
		"OnBreak" "SpawnManagerS3P5,Trigger,,20,1"
	}
}

filter:
{
	"targetname" "SpawnManagerS3P6"
	"hammerid" "780829"
}
{
	"targetname" "SpawnManagerS3P7"
	"hammerid" "780831"
}
{
	"targetname" "SpawnManagerS3P8"
	"hammerid" "780833"
}

;; fix npc death animation

modify:
{
	match:
	{
		"targetname" "i_nksoldier_die_relay"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "i_nksoldier_model,SetAnimation,dieidle,1,-1"
		"OnTrigger" "i_nksoldier_model,SetAnimation,dieidle,5,-1"
	}
}

