;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;FIX END NUKE DELAY
;-------------------

modify:
{
	match:
	{
		"targetname" "ka_boom"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "9999999"
	}
}


;; _

;; prevent ct's from delaying on top of a helicopter

add:
{
	"origin" "-7377 -510 849"
	"spawnflags" "1"
	"classname" "logic_auto"
	"OnMapSpawn" "heli_wind1,FireUser1,,0,-1"
	"OnMapSpawn" "heli_wind2,FireUser1,,0,-1"
	"OnMapSpawn" "heli_wind3,FireUser1,,0,-1"
}
add:
{
	"StartDisabled" "1"
	"targetname" "heli_wind1"
	"parentname" "choppah01"
	"speed" "10"
	"spawnflags" "1"
	"pushdir" "0 180 0"
	"origin" "-7281 -640 1072.5"
	"angles" "0 180 0"
	"alternateticksfix" "0"
	"classname" "trigger_push"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -447 -128 -79.5,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 447 128 79.5,0.1,1"
}
add:
{
	"StartDisabled" "1"
	"targetname" "heli_wind1"
	"parentname" "choppah01"
	"speed" "10"
	"spawnflags" "1"
	"pushdir" "0 180 0"
	"origin" "-7571 -624 965.5"
	"angles" "0 180 0"
	"alternateticksfix" "0"
	"classname" "trigger_push"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -51 -132 -26.5,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 51 132 26.5,0.1,1"
}
add:
{
	"StartDisabled" "1"
	"targetname" "heli_wind2"
	"parentname" "choppah01"
	"speed" "20"
	"spawnflags" "1"
	"pushdir" "0 180 0"
	"origin" "-7281 -640 1072.5"
	"angles" "0 180 0"
	"alternateticksfix" "0"
	"classname" "trigger_push"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -447 -128 -79.5,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 447 128 79.5,0.1,1"
}
add:
{
	"StartDisabled" "1"
	"targetname" "heli_wind2"
	"parentname" "choppah01"
	"speed" "20"
	"spawnflags" "1"
	"pushdir" "0 180 0"
	"origin" "-7571 -624 965.5"
	"angles" "0 180 0"
	"alternateticksfix" "0"
	"classname" "trigger_push"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -51 -132 -26.5,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 51 132 26.5,0.1,1"
}
add:
{
	"StartDisabled" "1"
	"targetname" "heli_wind3"
	"parentname" "choppah01"
	"speed" "290"
	"spawnflags" "1"
	"pushdir" "0 180 0"
	"origin" "-7281 -640 1072.5"
	"angles" "0 180 0"
	"alternateticksfix" "0"
	"classname" "trigger_push"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -447 -128 -79.5,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 447 128 79.5,0.1,1"
}
add:
{
	"StartDisabled" "1"
	"targetname" "heli_wind3"
	"parentname" "choppah01"
	"speed" "290"
	"spawnflags" "1"
	"pushdir" "0 180 0"
	"origin" "-7571 -624 965.5"
	"angles" "0 180 0"
	"alternateticksfix" "0"
	"classname" "trigger_push"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -51 -132 -26.5,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 51 132 26.5,0.1,1"
}
add:
{
	"StartDisabled" "1"
	"targetname" "heli_wind3"
	"parentname" "choppah01"
	"speed" "290"
	"spawnflags" "1"
	"pushdir" "0 -90 0"
	"origin" "-7644.5 -625 1045.5"
	"angles" "0 -90 0"
	"alternateticksfix" "0"
	"classname" "trigger_push"
	"OnUser1" "!self,AddOutput,solid 2,0,1"
	"OnUser1" "!self,AddOutput,mins -97.5 -10 -100.5,0.1,1"
	"OnUser1" "!self,AddOutput,maxs 97.5 10 100.5,0.1,1"
}

modify:
{
	match:
	{
		"targetname" "heli1_3"
		"classname" "path_track"
	}
	replace:
	{
		"speed" "100"
	}
	insert:
	{
		"OnPass" "heli_wind1,Enable,,0,1"
		"OnPass" "server,Command,say **The wind is getting stronger**,10,1"
		"OnPass" "heli_wind1,Kill,,20,1"
		"OnPass" "choppah01,SetSpeedReal,50,20,1"
		"OnPass" "heli_wind2,Enable,,20,1"
		"OnPass" "server,Command,say **It will be unsafe to stay on top**,30,1"
	}
}

modify:
{
	match:
	{
		"targetname" "heli1_4"
		"classname" "path_track"
	}
	replace:
	{
		"origin" "4000 429 1093"
	}
	insert:
	{
		"OnPass" "heli_wind2,Kill,,0,1"
		"OnPass" "heli_wind3,Enable,,0,1"
	}
}
