modify:
{
	match:
	{
		"classname" "logic_auto"
		"hammerid" "32668"
	}
	insert:
	{
		"OnMapSpawn" "servercommand,Command,say Stripper version 2.1|17.05.2024,5.5,1"
	}
}
modify:
{
	match:
	{
		"targetname" "servercommand"
		"classname" "point_servercommand"
	}
	delete:
	{
		"OnUser1" "!self,Command,zr_class_modify zombies health_regen_interval 0.15,0,1"
	}
	insert:
	{
		"OnUser1" "!self,Command,zr_roundend_balance_teams 0,0,1"
		"OnUser1" "!self,Command,zr_class_modify zombies health_regen_interval 60.0,0,1"
	}
}

;add info what zone will start moving soon
modify:
{
	match:
	{
		"targetname" "zone_move_counter"
		"classname" "math_counter"
	}
	insert:
	{
		"OnUser1" "servercommand,Command,say The wall of death will start moving in 20 seconds,50,1"
		"OnUser1" "servercommand,Command,say The wall of death will start moving in 20 seconds,140,1"
		"OnUser1" "servercommand,Command,say The wall of death will start moving in 20 seconds,215,1"
		"OnUser1" "servercommand,Command,say The wall of death will start moving in 20 seconds,265,1"
		"OnUser1" "servercommand,Command,say The wall of death will start moving in 15 seconds,320,1"
	}
}

;teleport stand issue
modify:
{
	match:
	{
		"targetname" "stand_picker_teleport"
		"classname" "point_teleport"
	}
	replace:
	{
		"origin" "68 -898 1530"
	}
	insert:
	{
		"OnUser4" "!self,AddOutput,angles 0 0 0,0,1"
	}
}

;Fix sphere of time that gives you noting
modify:
{
	match:
	{
		"targetname" "stand_picker_teleport"
		"classname" "point_teleport"
	}
	delete:
	{
		"OnUser2" "stand_picker_case_zombie,PickRandomShuffle,,0.01,1"
		"OnUser1" "stand_picker_case_human,PickRandomShuffle,,0.01,1"
	}
	insert:
	{
		"OnUser2" "stand_picker_case_zombie,FireUser1,,0.01,1"
		"OnUser1" "stand_picker_case_human,FireUser1,,0.01,1"
	}
}
modify:
{
	match:
	{
		"targetname" "stand_picker_case_human"
		"classname" "logic_case"
	}
	insert:
	{
		"OnUser1" "!self,PickRandomShuffle,,0,-1"
		"OnUser1" "stand_picker_pickup_count_human,Add,1,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "stand_picker_case_zombie"
		"classname" "logic_case"
	}
	insert:
	{
		"OnUser1" "!self,PickRandomShuffle,,0,-1"
		"OnUser1" "stand_picker_pickup_count_zombie,Add,1,0,-1"
	}
}
add:
{
	"targetname" "stand_picker_pickup_count_zombie"
	"startvalue" "0"
	"StartDisabled" "0"
	"min" "0"
	"max" "3"
	"classname" "math_counter"
	"OnHitMax" "!self,Kill,,0,1"
	"OnHitMax" "stand_picker_case_zombie,Kill,,0.05,1"
}
add:
{
	"targetname" "stand_picker_pickup_count_human"
	"startvalue" "0"
	"StartDisabled" "0"
	"min" "0"
	"max" "3"
	"classname" "math_counter"
	"OnHitMax" "!self,Kill,,0,1"
	"OnHitMax" "stand_picker_case_human,Kill,,0.05,1"
}

;fix physbox pick that block
modify:
{
	match:
	{
		"targetname" "theworld_pick"
		"classname" "func_physbox_multiplayer"
	}
	replace:
	{
		"model" "*47"
	}
}
modify:
{
	match:
	{
		"targetname" "starplatinum_pick"
		"classname" "func_physbox_multiplayer"
	}
	replace:
	{
		"model" "*47"
	}
}
modify:
{
	match:
	{
		"targetname" "hierophant_pick"
		"classname" "func_physbox_multiplayer"
	}
	replace:
	{
		"model" "*47"
	}
}
modify:
{
	match:
	{
		"targetname" "harvest_pick"
		"classname" "func_physbox_multiplayer"
	}
	replace:
	{
		"model" "*47"
	}
}
modify:
{
	match:
	{
		"targetname" "firebird_pick"
		"classname" "func_physbox_multiplayer"
	}
	replace:
	{
		"model" "*47"
	}
}
modify:
{
	match:
	{
		"targetname" "emperor_pick"
		"classname" "func_physbox_multiplayer"
	}
	replace:
	{
		"model" "*47"
	}
}

;fix lags the wall moving
modify:
{
	match:
	{
		"targetname" "zone_move_case"
		"classname" "logic_case"
	}
	delete:
	{
		"OnCase02" "zone_side_hurt*,Enable,,0,1"
	}
	insert:
	{
		"OnCase03" "zone_side_hurt*,Disable,,0,1"
		"OnCase04" "zone_side_hurt*,Disable,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "zone_display_case"
		"classname" "logic_case"
	}
	insert:
	{
		"OnCase03" "zone_side_hurt*,Enable,,15.05,1"
		"OnCase04" "zone_side_hurt*,Enable,,15.05,1"
		"OnCase05" "zone_side_hurt*,Enable,,15.05,1"
		"OnCase06" "zone_side_hurt*,Enable,,0.0,1"
	}
}

;emperor boost rebalance
modify:
{
	match:
	{
		"OnTrigger" "emperor_push_d0,Enable,,4,-1"
		"OnTrigger" "emperor_push_s0,Enable,,4,-1"
		"OnTrigger" "emperor_push_w0,Enable,,4,-1"
		"OnTrigger" "emperor_push_a0,Enable,,4,-1"
	}
	delete:
	{
		"OnTrigger" "emperor_push_d0,Enable,,4,-1"
		"OnTrigger" "emperor_push_s0,Enable,,4,-1"
		"OnTrigger" "emperor_push_w0,Enable,,4,-1"
		"OnTrigger" "emperor_push_a0,Enable,,4,-1"
	}
	insert:
	{
		"OnTrigger" "emperor_push_d0,Enable,,8,-1"
		"OnTrigger" "emperor_push_s0,Enable,,8,-1"
		"OnTrigger" "emperor_push_w0,Enable,,8,-1"
		"OnTrigger" "emperor_push_a0,Enable,,8,-1"
	}
}

;rebalance emperor lmb
modify:
{
	match:
	{
		"targetname" "LMB_emperor_hurt"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "140"
	}
}

;theworld knife buff
modify:
{
	match:
	{
		"targetname" "LMB_theworld_hurt"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "100"
	}
}

;add more airdrops and change drop time
modify:
{
	match:
	{
		"targetname" "zone_airdroplaunch_timer"
		"classname" "logic_timer"
	}
	delete:
	{
		"OnTimer" "zone_airdropcount_counter,Subtract,1,0,-1"
	}
	replace:
	{
		"UpperRandomBound" "10"
		"LowerRandomBound" "0"
	}
}
modify:
{
	match:
	{
		"targetname" "zone_move_counter"
		"classname" "math_counter"
	}
	delete:
	{
		"OnUser1" "zone_airdroplaunch_timer,Enable,,0,1"
		"OnUser1" "zone_airdroplaunch_timer,Enable,,40,1"
		"OnUser1" "zone_airdroplaunch_timer,Enable,,120,1"
		"OnUser1" "zone_airdroplaunch_timer,Enable,,210,1"
	}
	insert:
	{
		"OnUser1" "zone_airdroplaunch_timer,Enable,,0,1"
		"OnUser1" "zone_airdroplaunch_timer,Enable,,50,1"
		"OnUser1" "zone_airdroplaunch_timer,Enable,,100,1"
		"OnUser1" "zone_airdroplaunch_timer,Enable,,150,1"
		"OnUser1" "zone_airdroplaunch_timer,Enable,,200,1"
	}
}

;rebalance flamethrower damage
modify:
{
	match:
	{
		"targetname" "flamethrower_trigger"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "500" ;now 125
	}
}

;rebalance shotgun
;more push
modify:
{
	match:
	{
		"targetname" "shotgun_trigger"
		"classname" "trigger_push"
	}
	replace:
	{
		"speed" "2000"
	}
}
;more damage
modify:
{
	match:
	{
		"targetname" "shotgun_trigger"
		"classname" "trigger_hurt"
	}
	replace:
	{
		"damage" "1000"
	}
}
;fix shotgun cd
modify:
{
	match:
	{
		"targetname" "shotgun_counter"
		"classname" "math_counter"
	}
	delete:
	{
		"OnHitMax" "shotgun_relay,Enable,,0,-1"
		"OnHitMin" "shotgun_counter,SetValueNoFire,8,60,-1"
	}
	replace:
	{
		"startvalue" "5"
		"max" "5"
	}
	insert:
	{
		"OnHitMin" "shotgun_relay,Enable,,59.9,-1"
		"OnHitMin" "shotgun_counter,SetValueNoFire,5,60,-1"
		"OnHitMin" "shotgun_sound_reload,PlaySound,,0,-1"
		"OnHitMin" "shotgun_sound_reload,PlaySound,,59.5,-1"
	}
}
;add shotgun reload sound
modify:
{
	match:
	{
		"targetname" "shotgun"
		"classname" "point_template"
	}
	insert:
	{
		"Template11" "shotgun_sound_reload"
	}
}
add:
{
	"targetname" "shotgun_sound_reload"
	"spawnflags" "48"
	"SourceEntityName" "shotgun_prop"
	"radius" "1250"
	"message" "jojo/hol horse new/weapon_ready.mp3"
	"health" "10"
	"classname" "ambient_generic"
}

;firebird buff
modify:
{
	match:
	{
		"targetname" "firebird_use_LMB"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnUser2" "!self,Enable,,5,-1"
	}
	insert:
	{
		"OnUser2" "!self,Enable,,3,-1"
	}
}

;hierophant reduce cd RMB
modify:
{
	match:
	{
		"targetname" "hierophant_use_RMB"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnUser1" "!self,FireUser2,,0.5,-1"
		"OnUser2" "!self,Enable,,1,-1"
	}
	insert:
	{
		"OnUser1" "!self,FireUser2,,0.3,-1"
		"OnUser2" "!self,Enable,,0.1,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "hierophant_use_stand"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnUser1" "player_speedmod,Modifyspeed,1.3,0,-1"
	}
	insert:
	{
		"OnUser1" "player_speedmod,Modifyspeed,1.5,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "hierophant_standstatus_theworld"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "player_speedmod,Modifyspeed,1.3,0,-1"
	}
	insert:
	{
		"OnTrigger" "player_speedmod,Modifyspeed,1.5,0,-1"
	}
}

;Harvest rebalance
modify:
{
	match:
	{
		"targetname" "harvest_morf_case"
		"classname" "logic_case"
	}
	delete:
	{
		"OnCase01" "player_speedmod,Modifyspeed,1.3,0,-1"
		"OnCase02" "player_speedmod,Modifyspeed,0.9,0,-1"
	}
	insert:
	{
		"OnCase01" "player_speedmod,Modifyspeed,0.75,0,-1"
		"OnCase02" "player_speedmod,Modifyspeed,1.3,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "harvest_standstatus_theworld_branc"
		"classname" "logic_branch"
	}
	delete:
	{
		"OnTrue" "player_speedmod,Modifyspeed,0.9,0,-1"
		"OnFalse" "player_speedmod,Modifyspeed,1.3,0,-1"
	}
	insert:
	{
		"OnFalse" "player_speedmod,Modifyspeed,0.75,0,-1"
		"OnTrue" "player_speedmod,Modifyspeed,1.3,0,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "harvest_standstatus_hp_branc"
		"classname" "logic_branch"
	}
	delete:
	{
		"OnTrue" "!activator,AddOutput,health 50,0,-1"
		"OnTrue" "!activator,AddOutput,max_health 50,0,-1"
	}
	insert:
	{
		"OnTrue" "!activator,AddOutput,health 100,0,-1"
		"OnTrue" "!activator,AddOutput,max_health 100,0,-1"
	}
}
;Harvest change E CD
modify:
{
	match:
	{
		"targetname" "harvest_use_E"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnUser1" "!self,FireUser2,,20,-1"
		"OnUser2" "harvest_text,FireUser4,,60,-1"
	}
	insert:
	{
		"OnUser1" "!self,FireUser2,,35,-1"
		"OnUser2" "harvest_text,FireUser4,,80,-1"
	}
}

;Harvest nuke after use stand CD
modify:
{
	match:
	{
		"targetname" "harvest_use_stand"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnUser1" "harvest_use_E,Enable,,0,-1"
	}
	insert:
	{
		"OnUser1" "harvest_use_E,Enable,,10,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "harvest_use_E"
		"classname" "logic_relay"
	}
	replace:
	{
		"StartDisabled" "1"
	}
}

add:
{
	"origin" "8261.91 9069.15 500"
	"TouchType" "0"
	"TextureScroll" "35"
	"texture" "sprites/laserbeam.spr"
	"targetname" "E_harvest_laser"
	"StrikeTime" "1"
	"spawnflags" "2"
	"renderfx" "0"
	"rendercolor" "0 0 255"
	"renderamt" "155"
	"Radius" "256"
	"NoiseAmplitude" "0"
	"LightningStart" "E_harvest_laser"
	"LightningEnd" "E_harvest_sound"
	"life" "0"
	"framestart" "0"
	"framerate" "0"
	"decalname" "Bigshot"
	"damage" "0"
	"BoltWidth" "2"
	"classname" "env_beam"

	"OnUser1" "!self,TurnOn,,0,1"
	"OnUser1" "!self,TurnOff,,8,1"
	"OnUser1" "!self,Kill,,8.05,1"
}

modify:
{
	match:
	{
		"targetname" "E_harvest"
		"classname" "point_template"
	}
	insert:
	{
		"Template08" "E_harvest_laser"
	}
}
modify:
{
	match:
	{
		"targetname" "E_harvest_hurt"
		"classname" "trigger_hurt"
	}
	insert:
	{
		"OnUser1" "E_harvest_laser,FireUser1,,0,1"
	}
}

;sandstorm cd
modify:
{
	match:
	{
		"targetname" "global_fog_timer"
		"classname" "logic_timer"
	}
	replace:
	{
		"UpperRandomBound" "260"
		"LowerRandomBound" "160"
	}
}

;reduce pick stand human clicks count
modify:
{
	match:
	{
		"targetname" "stand_picker_counter_human"
		"classname" "math_counter"
	}
	replace:
	{
		"max" "20"
	}
}

;rebalance HP
modify:
{
	match:
	{
		"targetname" "zone_zombieHP_case"
		"classname" "logic_case"
	}
	delete:
	{
		"OnCase01" "!activator,AddOutput,max_health 7000,0,-1"
		"OnCase01" "!activator,AddOutput,health 7000,0,-1"
		"OnCase02" "!activator,AddOutput,health 7000,0,-1"
		"OnCase02" "!activator,AddOutput,max_health 7000,0,-1"
		"OnCase03" "!activator,AddOutput,max_health 5000,0,-1"
		"OnCase03" "!activator,AddOutput,health 5000,0,-1"
		"OnCase04" "!activator,AddOutput,max_health 3000,0,-1"
		"OnCase04" "!activator,AddOutput,health 3000,0,-1"
		"OnCase05" "!activator,AddOutput,health 1500,0,-1"
		"OnCase05" "!activator,AddOutput,max_health 1500,0,-1"
		"OnCase06" "!activator,AddOutput,max_health 750,0,-1"
		"OnCase06" "!activator,AddOutput,health 750,0,-1"
	}
	insert:
	{
		"OnCase01" "!activator,AddOutput,max_health 5000,0,-1"
		"OnCase01" "!activator,AddOutput,health 5000,0,-1"

		"OnCase02" "!activator,AddOutput,max_health 5000,0,-1"
		"OnCase02" "!activator,AddOutput,health 5000,0,-1"

		"OnCase03" "!activator,AddOutput,max_health 3000,0,-1"
		"OnCase03" "!activator,AddOutput,health 3000,0,-1"

		"OnCase04" "!activator,AddOutput,max_health 2000,0,-1"
		"OnCase04" "!activator,AddOutput,health 2000,0,-1"

		"OnCase05" "!activator,AddOutput,max_health 1500,0,-1"
		"OnCase05" "!activator,AddOutput,health 1500,0,-1"

		;"OnCase06" "global_dynamic_health_count,GetValue,,0,-1"
		"OnCase06" "!activator,AddOutput,max_health 750,0,-1"
		"OnCase06" "!activator,AddOutput,health 750,0,-1"
	}
}

;modify:
;{
;	match:
;	{
;		"targetname" "zone_move_counter"
;		"classname" "math_counter"
;	}
;	delete:
;	{
;		"OnUser2" "zone_find_setHP,CountPlayersInZone,,0.05,1"
;	}
;	insert:
;	{
;		"OutValue" "global_dynamic_health_counter_zone,FireUser1,,0,-1"
;		"OutValue" "zone_find_setHP,CountPlayersInZone,,0.5,-1"
;	}
;}
;modify:
;{
;	match:
;	{
;		"targetname" "zone_display_case"
;		"classname" "logic_case"
;	}
;	delete:
;	{
;		"OnCase06" "zone_find_setHP,CountPlayersInZone,,0,1"
;	}
;}
;add:
;{
;	"model" "*51"
;	"targetname" "global_dynamic_health_counter_zone"
;	"classname" "game_zone_player"
;	"OnPlayerOutZone" "global_dynamic_health_filter,TestActivator,,0,-1"
;	"OnUser1" "servercommand,Command,say xxxxx,1.8,-1"
;	"OnUser1" "global_dynamic_health_count,SetValue,2,0,-1"
;	"OnUser1" "global_dynamic_health_counter_zone,CountPlayersInZone,,0.05,-1"
;	"OnUser1" "global_dynamic_health_count,FireUser1,,0.1,-1"
;}
;add:
;{
;	"classname" "filter_activator_team"
;	"filterteam" "3"
;	"Negated" "Allow entities that match criteria"
;	"targetname" "global_dynamic_health_filter"
;	"OnPass" "global_dynamic_health_count,Add,1,0,-1"
;}
;add:
;{
;	"classname" "math_counter"
;	"max" "0"
;	"min" "0"
;	"startvalue" "1"
;	"targetname" "global_dynamic_health_count"
;	"OnUser1" "global_dynamic_health_count,Multiply,25,0,-1"
;	"OnUser1" "global_dynamic_health_count,Add,250,0.05,-1"
;	"OnGetValue" "!activator,SetHealth,,0.05,-1"
;	"OnGetValue" "!activator,AddOutput,max_health 1500,0,-1"
;}

;disable respawn at previous zone
modify:
{
	match:
	{
		"targetname" "zone_display_case"
		"classname" "logic_case"
	}
	delete:
	{
		"OnCase04" "text1,Display,,25.1,1"
		"OnCase04" "servercommand,Command,say As soon as the next safe zone appears. Zombie resurrection will be disabled ,25.05,1"
		"OnCase04" "text1,AddOutput,message As soon as the next safe zone appears. Zombie resurrection will be disabled ,25.05,1"
		"OnCase05" "zone_move_counter,FireUser2,,0,1"
	}
	insert:
	{
		"OnCase04" "text1,Display,,25.1,1"
		"OnCase04" "servercommand,Command,say As soon as the wall of death starts moving. Zombie respawn will be disabled,25.05,1"
		"OnCase04" "text1,AddOutput,message As soon as the wall of death starts moving. Zombie respawn will be disabled,25.05,1"
	}
}
modify:
{
	match:
	{
		"targetname" "zone_move_case"
		"classname" "logic_case"
	}
	insert:
	{
		"OnCase04" "zone_move_counter,FireUser2,,0,1"
	}
}

;modify win detect
modify:
{
	match:
	{
		"targetname" "zone_path0x_4_template"
		"classname" "point_template"
	}
	delete:
	{
		"Template14" "zone_win_trigger_reward_ct"
	}
}
modify:
{
	match:
	{
		"targetname" "zone_win_trigger_reward_ct"
		"classname" "trigger_multiple"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,Health 99999,0,-1"
	}
	replace:
	{
		"origin" "32 -1056 77.96"
		"model" "*100"
	}
}
modify:
{
	match:
	{
		"targetname" "zone_win_trigger_detect_t"
		"classname" "trigger_multiple"
	}
	replace:
	{
		"origin" "32 -1056 77.96"
		"model" "*100"
	}
}
modify:
{
	match:
	{
		"targetname" "zone_win_relay"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "zone_win_trigger_reward_ct,FireUser4,,2,-1"
	}
	insert:
	{
		"OnTrigger" "zone_win_trigger_reward_ct,FireUser4,,0.25,-1"
	}
}

;unlose zombie hurt fix
modify:
{
	match:
	{
		"classname" "trigger_hurt"
		"filtername" "filter_zombie"
		"damagetype" "16384"
	}
	replace:
	{
		"damagetype" "0"
	}
}

;zone checker more cd
modify:
{
	match:
	{
		"targetname" "zone_protector_timer"
		"classname" "logic_timer"
	}
	replace:
	{
		"RefireTime" "5"
	}
}

;fix that rewards not count
modify:
{
	match:
	{
		"targetname" "zone_win_trigger_reward_ct"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "filter_winner05,TestActivator,,0.1,-1"
		"OnStartTouch" "!activator,FireUser1,,0.05,-1"
		"OnStartTouch" "!activator,AddOutput,OnUser1 !self:AddOutput:targetname winner05:0:-1,0.15,-1"
	}
	insert:
	{
;		"OnStartTouch" "filter_winner05,TestActivator,,0,-1"

		"OnStartTouch" "filter_winner05,TestActivator,,0.2,-1"
		"OnStartTouch" "filter_winner05,TestActivator,,0.25,-1"
		"OnStartTouch" "filter_winner05,TestActivator,,0.3,-1"
		"OnStartTouch" "!activator,FireUser1,,0.00,-1"
		"OnStartTouch" "!activator,FireUser1,,0.05,-1"
		"OnStartTouch" "!activator,FireUser1,,0.1,-1"
		"OnStartTouch" "!activator,AddOutput,OnUser1 !self:AddOutput:targetname winner05:0.05:-1,0.5,-1"
	}
}
modify:
{
	match:
	{
		"targetname" "filter_winner05"
		"classname" "filter_activator_name"
	}
	delete:
	{
		"OnPass" "!activator,AddOutput,OnUser2 !self:AddOutput:targetname winner:0:-1,0,-1"
	}
	insert:
	{
		"OnPass" "!activator,AddOutput,OnUser1 !self:AddOutput:targetname winner:0.10:-1,0,-1"
	}
}
modify:
{
	match:
	{
		"classname" "trigger_multiple"
		"hammerid" "171729"
	}
	delete:
	{
		"OnStartTouch" "!activator,FireUser1,,0.05,-1"
		"OnStartTouch" "!activator,FireUser2,,0.1,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,FireUser1,,0.00,-1"
		"OnStartTouch" "!activator,FireUser1,,0.05,-1"
		"OnStartTouch" "!activator,FireUser1,,0.1,-1"
	}
}

;----------------------
; VScripts - Parachute(plugin)
; /!\ DO NOT EDIT OR VSCRIPTS MAY BREAK /!\
;-------------------------------------------
; Add trigger for know when human jumped from plane
add:
{
	"model" "*196"
	"classname" "trigger_multiple"
	"targetname" "plane_player_drop"
	"parentname" "player_drop_train"
	"wait" "0"
	"StartDisabled" "1"
	"spawnflags" "1"
	"origin" "-12096 -14248 3708"
	"filtername" "filter_human"
	"hammerid" "999990"
	"OnStartTouch" "servercommand,Command,say Hold [E] to activate parachute ,6.0,1"
}

; Hook it in the template
modify:
{
	match:
	{
		"targetname" "player_drop"
		"classname" "point_template"
	}
	insert:
	{
		"Template09" "plane_player_drop"
	}
}

; Enable trigger when player are in plane
modify:
{
	match:
	{
		"targetname" "teleport_spawn_ct"
		"classname" "trigger_teleport"
	}
	insert:
	{
		"OnUser1" "plane_player_drop,Enable,,0.35,-1"
	}
}

; Kill the trigger when plane exploded
modify:
{
	match:
	{
		"targetname" "player_drop_explode"
		"classname" "trigger_hurt"
	}
	insert:
	{
		"OnUser1" "plane_player_drop,Kill,,0.05,1"
	}
}

; -- End of VScripts compat --


;; _

;; fix winner skin

modify:
{
	match:
	{
		"targetname" "getskin"
		"classname" "trigger_multiple"
	}
	delete:
	{
		"OnStartTouch" "!activator,AddOutput,modelindex 367,0,-1"
	}
	insert:
	{
		"OnStartTouch" "!activator,AddOutput,modelindex 371,0,-1"
	}
}

