;------------------------------------------------------------
;STRIPPER CFG BY NOCTALI http://steamcommunity.com/id/h4sard
;------------------------------------------------------------
;FIX STAGE SYSTEM
;-----------------
filter:
{
	"targetname" "barrel_dificulty"
	"classname" "prop_physics_multiplayer"
}
filter:
{
	"targetname" "brush_dif_ZM2"
	"classname" "func_brush"
}
filter:
{
	"targetname" "brush_dif_ZM"
	"classname" "func_brush"
}
filter:
{
	"targetname" "brush_dif_1"
	"classname" "func_brush"
}
filter:
{
	"targetname" "brush_dif_2"
	"classname" "func_brush"
}
filter:
{
	"targetname" "brush_dif_3"
	"classname" "func_brush"
}
filter:
{
	"targetname" "brush_extreme"
	"origin" "13581.3 -1925.26 12789.5"
	"classname" "func_brush"
}
filter:
{
	"origin" "13581.3 -1944 13032"
	"classname" "trigger_once"
}
filter:
{
	"origin" "13581.3 -1944 12944"
	"classname" "trigger_once"
}
filter:
{
	"origin" "13581.3 -1949.26 12866.9"
	"classname" "trigger_once"
}
filter:
{
	"origin" "13581.3 -1949.26 12778.9"
	"classname" "trigger_once"
}
filter:
{
	"origin" "13581.3 -1949.26 12682.9"
	"classname" "trigger_once"
}
filter:
{
	"origin" "13581.3 -1949.26 12586.9"
	"classname" "trigger_once"
}
filter:
{
	"origin" "13581.3 -1916 12712"
	"classname" "trigger_once"
}
filter:
{
	"origin" "9663.29 915.928 10024"
	"classname" "logic_auto"
}
filter:
{
	"origin" "13395.4 -2069.26 12452.4"
	"classname" "prop_dynamic"
}
filter:
{
	"origin" "13400.3 -1941.26 12520.4"
	"classname" "trigger_once"
}
filter:
{
	"origin" "13390.5 -2069.26 12520.4"
	"classname" "trigger_once"
}
filter:
{
	"origin" "13390.5 -2213.26 12520.4"
	"classname" "trigger_once"
}
filter:
{
	"origin" "13701 -2496 12520.4"
	"classname" "trigger_once"
}
modify:
{
	match:
	{
		"origin" "129.08 749.957 5711.62"
		"classname" "logic_auto"
	}
	delete:
	{
		"OnNewGame" "prop_extreme,TurnOff,,0,-1"
		"OnNewGame" "orcos_s_stage2,Stop,,0.5,-1"
		"OnNewGame" "esconder_,Open,,1,-1"
	}
	insert:
	{
		"OnNewGame" "consola,Command,mp_startmoney 16000,0,1"
		"OnNewGame" "consola,Command,mp_roundtime 9,0,1"
		"OnNewGame" "consola,Command,mp_freezetime 5,0,1"
		"OnNewGame" "consola,Command,mp_flashlight 0,0,1"
		"OnNewGame" "consola,Command,sv_turbophysics 1,0,1"
		"OnNewGame" "consola,Command,sv_gravity 800,0,1"
		"OnNewGame" "consola,Command,sv_friction 4,0,1"
		"OnNewGame" "consola,Command,sv_accelerate 5,0,1"
		"OnNewGame" "consola,Command,sv_airaccelerate 10,0,1"
		"OnNewGame" "consola,Command,sv_enablebunnyhopping 0,0,1"
		"OnNewGame" "consola,Command,sv_specspeed 8,0,1"
		"OnNewGame" "consola,Command,zr_infect_mzombie_respawn 1,0,1"
		"OnNewGame" "consola,Command,zr_infect_weapons_drop 1,0,1"
		"OnNewGame" "consola,Command,zr_ztele_zombie 1,0,1"
		"OnNewGame" "consola,Command,zr_ztele_max_zombie 10,0,1"
		"OnNewGame" "consola,Command,zr_ztele_max_human 1,0,1"
		"OnNewGame" "consola,Command,zr_respawn 1,0,1"
		"OnNewGame" "consola,Command,zr_respawn_team_zombie 1,0,1"
		"OnNewGame" "consola,Command,zr_respawn_team_zombie_world 1,0,1"
		"OnNewGame" "consola,Command,zr_zspawn 1,0,1"
		"OnNewGame" "consola,Command,zr_zspawn_team_override 1,0,1"
		"OnNewGame" "consola,Command,zr_zspawn_team_zombie 1,0,1"
		"OnNewGame" "consola,Command,zr_zspawn_block_rejoin 0,0,1"
		"OnNewGame" "consola,Command,zr_zspawn_timelimit 0,0,1"
		"OnNewGame" "consola,Command,zr_restrict smokegrenade,0,1"
		"OnNewGame" "consola,Command,ammo_50AE_max 4000,0,1"
		"OnNewGame" "consola,Command,ammo_762mm_max 4000,0,1"
		"OnNewGame" "consola,Command,ammo_556mm_box_max 4000,0,1"
		"OnNewGame" "consola,Command,ammo_556mm_max 4000,0,1"
		"OnNewGame" "consola,Command,ammo_338mag_max 4000,0,1"
		"OnNewGame" "consola,Command,ammo_9mm_max 4000,0,1"
		"OnNewGame" "consola,Command,ammo_buckshot_max 4000,0,1"
		"OnNewGame" "consola,Command,ammo_45acp_max 4000,0,1"
		"OnNewGame" "consola,Command,ammo_357sig_max 4000,0,1"
		"OnNewGame" "consola,Command,ammo_57mm_max 4000,0,1"
		"OnNewGame" "spawn_brush4,Disable,,0,1"
		"OnNewGame" "stage_2_portal2,Disable,,0,1"
		"OnNewGame" "item_goliath_22,SetParentAttachment,Cable6a,0,1"
		"OnNewGame" "musica_st_spawn,PlaySound,,2,1"
		"OnNewGame" "stage_2_bridge_4,Disable,,2,1"
		"OnNewGame" "consola,Command,say ** MAP BY Hannibal [SPA] (Rafuron) / Fixed by Noctali **,5,1"
		"OnNewGame" "consola,Command,say ** THE ROUND WILL START IN FEW SECONDS ** CHECK YOUR LEVEL AND PROCEED TO BUY AN ITEM **,10,1"
		"OnNewGame" "logica_start,Trigger,,35,1"
		"OnNewGame" "worldspawn,FireUser1,,0,1"
		"OnNewGame" "worldspawn,FireUser2,,0,1"
		"OnNewGame" "Level_Counter,GetValue,,0.02,1"
		"OnNewGame" "Diff_Counter,GetValue,,0.02,1"
	}
}
add:
{
	"classname" "math_counter"
	"origin" "13400 -1941 12520"
	"targetname" "Level_Counter"
	"startvalue" "1"
	"StartDisabled" "0"
	"min" "1"
	"max" "5"
	"OnGetValue" "!self,Kill,,0,1"
	"OnGetValue" "Level_Case,InValue,,0,1"
}
add:
{
	"classname" "logic_case"
	"targetname" "Level_Case"
	"origin" "13400 -1941 12520"
	"Case01" "1"
	"Case02" "2"
	"Case03" "3"
	"Case04" "4"
	"Case05" "5"
	"OnDefault" "consola,Command,say ** There is an error in the level system **,0,1"
	"OnCase01" "!self,Kill,,0,1"
	"OnCase01" "logica_nivel_zm,Trigger,,0,1"
	"OnCase02" "!self,Kill,,0,1"
	"OnCase02" "logica_nivel_1,Enable,,5.96,1"
	"OnCase02" "logica_nivel_1,Trigger,,5.98,1"
	"OnCase03" "!self,Kill,,0,1"
	"OnCase03" "logica_nivel_2,Enable,,5.96,1"
	"OnCase03" "logica_nivel_2,Trigger,,5.98,1"
	"OnCase04" "!self,Kill,,0,1"
	"OnCase04" "logica_nivel_3,Enable,,5.96,1"
	"OnCase04" "logica_nivel_3,Trigger,,5.98,1"
	"OnCase05" "!self,Kill,,0,1"
	"OnCase05" "logica_nivel_4,Enable,,5.96,1"
	"OnCase05" "logica_nivel_4,Trigger,,5.98,1"
}
add:
{
	"classname" "math_counter"
	"origin" "13400 -1941 12520"
	"targetname" "Diff_Counter"
	"startvalue" "1"
	"StartDisabled" "0"
	"min" "1"
	"max" "2"
	"OnGetValue" "!self,Kill,,0,1"
	"OnGetValue" "Diff_Case,InValue,,0,1"
}
add:
{
	"classname" "logic_case"
	"targetname" "Diff_Case"
	"origin" "13400 -1941 12520"
	"Case01" "1"
	"Case02" "2"
	"OnDefault" "consola,Command,say ** There is an error in the level system **,0,1"
	"OnCase01" "!self,Kill,,0,1"
	"OnCase02" "!self,Kill,,0,1"
	"OnCase02" "logica_extreme,Trigger,,0,1"
}
modify:
{
	match:
	{
		"targetname" "logica_nivel_zm"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "consola,Command,zombie_teleport_zombies_only 1,0.01,-1"
		"OnTrigger" "consola,Command,zombie_respawn_as_zombie 1,0.01,-1"
		"OnTrigger" "consola,Command,zombie_count_max 10,0.01,-1"
		"OnTrigger" "consola,Command,zombie_count_min 4,0.01,-1"
		"OnTrigger" "consola,Command,zombie_regen_health 200,0.01,-1"
		"OnTrigger" "consola,Command,zombie_regen_timer 5,0.01,-1"
		"OnTrigger" "consola,Command,zombie_timer_min  15,0.01,-1"
		"OnTrigger" "consola,Command,zombie_timer_max  15,0.01,-1"
		"OnTrigger" "consola,Command,mp_roundtime 9,0,-1"
		"OnTrigger" "consola,Command,mp_flashlight 0,0,-1"
		"OnTrigger" "consola,Command,sv_turbophysics 1,0,-1"
		"OnTrigger" "consola,Command,zr_ztele_zombie 1,0.03,-1"
		"OnTrigger" "consola,Command,zr_zspawn_team_zombie 1,0.03,-1"
		"OnTrigger" "consola,Command,zr_respawn_team_zombie 1,0.03,-1"
		"OnTrigger" "consola,Command,zr_respawn 1,0.03,-1"
		"OnTrigger" "consola,Command,zr_infect_weapons_drop 0,0.03,-1"
		"OnTrigger" "consola,Command,zr_infect_mzombie_respawn 1,0.03,-1"
		"OnTrigger" "consola,Command,zr_mzombie_min_time 15,0.02,-1"
		"OnTrigger" "consola,Command,zr_mzombie_max_time 15,0.02,-1"
		"OnTrigger" "consola,Command,zr_mzombie_respawn 1,0.02,-1"
		"OnTrigger" "consola,Command,zr_mzombie_ratio 6,0.02,-1"
		"OnTrigger" "consola,Command,zr_respawn 1,0.02,-1"
		"OnTrigger" "consola,Command,zr_infect_spawntime_min 15,0.03,-1"
		"OnTrigger" "consola,Command,zr_infect_spawntime_max 15,0.03,-1"
		"OnTrigger" "brush_dif_ZM,Disable,,0,-1"
		"OnTrigger" "global_nuke_spawn,Enable,,160,-1"
		"OnTrigger" "consola,Command,say ** WARMUP ROUND ** MASSIVE NUKE IN 160 SECONDS ** ,10,-1"
		"OnTrigger" "consola,Command,say ** MASSIVE NUKE IN 10 SECONDS ** ,150,-1"
		"OnTrigger" "consola,Command,say ** WARMUP ROUND ** MASSIVE NUKE IN 110 SECONDS ** ,60,-1"
		"OnTrigger" "consola,Command,say ** WARMUP ROUND ** MASSIVE NUKE IN 60 SECONDS ** ,110,-1"
		"OnTrigger" "consola,Command,say ** Tip 1 : press +use on pickable objects to build barricades ** ,15,-1"
		"OnTrigger" "consola,Command,say ** Tip 2 : reach and win the end of a stage to level up ** ,25,-1"
		"OnTrigger" "consola,Command,say ** Tip 3 : take items at zombie and human shops in spawn ** ,35,-1"
		"OnTrigger" "consola,Command,say ** Tip 4 : your current level is your score divided by 100 approximately **,45,-1"
		"OnTrigger" "consola,Command,say ** Tip 5 : barricades health depends on the size and material **,55,-1"
		"OnTrigger" "consola,Command,say ** Tip 6 : hold spots tend to be long  *  hold as much as possible at previous positions **,65,-1"
		"OnTrigger" "consola,Command,say ** Tip 7 : guards work as stoppers * but you can shoot throught them **,75,-1"
		"OnTrigger" "consola,Command,say ** Tip 8 : torches push zombies at dark places **,85,-1"
		"OnTrigger" "consola,Command,say ** Tip 9 : explosives hurt everything ** special items barricades guards breakables ... **,95,-1"
		"OnTrigger" "consola,Command,say ** Tip 10 : LVL 4 and LVL 5 items are specially powerful **,105,-1"
		"OnTrigger" "consola,Command,say ** Tip 11 : After finishing the 4 stages you will start from stage 1 in extreme mode! **,115,-1"
		"OnTrigger" "consola,Command,say ** Tip 12 : extreme mode unlocks all zombie items for all zombies and a special siege item but not the lvl 4 item **,125,-1"
		"OnTrigger" "consola,Command,say ** Tip 15 : Gandalf has a powerful attack with a combo you can perform with D/A/W/D/S keys **,155,-1"
		"OnTrigger" "consola,Command,say ** Tip 13 : there are no invisible walls! use whole level architecture! **,135,-1"
		"OnTrigger" "consola,Command,say ** Tip 14 : secret toilet barricades are specially powerful **,145,-1"
	}
	insert:
	{
		"OnTrigger" "consola,Command,zr_respawn_delay 15,0,1"
		"OnTrigger" "consola,Command,zr_infect_spawntime_min 11,0,1"
		"OnTrigger" "consola,Command,zr_infect_spawntime_max 11,0,1"
		"OnTrigger" "consola,Command,say ** WARMUP ROUND ** MASSIVE NUKE IN 60 SECONDS ** ,10,1"
		"OnTrigger" "consola,Command,say ** Tip 1 : press +use on pickable objects to build barricades ** ,15,1"
		"OnTrigger" "consola,Command,say ** Tip 2 : reach and win the end of a stage to level up ** ,20,1"
		"OnTrigger" "consola,Command,say ** Tip 3 : take items at zombie and human shops in spawn ** ,25,1"
		"OnTrigger" "consola,Command,say ** Tip 4 : your current level is your score divided by 100 approximately **,30,1"
		"OnTrigger" "consola,Command,say ** Tip 5 : barricades health depends on the size and material **,35,1"
		"OnTrigger" "consola,Command,say ** Tip 6 : hold spots tend to be long  *  hold as much as possible at previous positions **,40,1"
		"OnTrigger" "consola,Command,say ** Tip 7 : guards work as stoppers * but you can shoot throught them **,45,1"
		"OnTrigger" "consola,Command,say ** Tip 8 : the bomb item is a powerful item * you must kill this zombie first! **,50,1"
		"OnTrigger" "consola,Command,say ** Tip 9 : you must put the barricades BEHIND the guards to get maximum efficacy **,55,1"
		"OnTrigger" "consola,Command,say ** Tip 10 : horse and armor (while shield is not broken) items can push zombies **,60,1"
		"OnTrigger" "consola,Command,say ** WARMUP ROUND ** MASSIVE NUKE IN 10 SECONDS ** ,65,1"
		"OnTrigger" "consola,Command,say ** Tip 11 : Balrog scream heals near zombies and increases speed temporally **,66,1"
		"OnTrigger" "consola,Command,say ** Tip 12 : the stage 4 WC is in the top of the second tower (turn right after the wooden ramp) **,70,1"
		"OnTrigger" "consola,Command,say ** Tip 13 : Gandalf +You shall not pass!+ is DAWDS and White Knight is AADDSWSW **,75,1"
		"OnTrigger" "global_nuke_spawn,Enable,,75,1"
		"OnTrigger" "worldspawn,FireUser1,,0,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:1:0:1,0.02,1"
		"OnTrigger" "worldspawn,FireUser1,,74.98,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0:1,75,1"
	}
}
modify:
{
	match:
	{
		"targetname" "stage_1_fin"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "brush_dif_1,Disable,,0,1"
	}
	insert:
	{
		"OnTrigger" "worldspawn,FireUser1,,0,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:3:0:1,0.02,1"
	}
}
modify:
{
	match:
	{
		"targetname" "stage_2_fin"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "brush_dif_2,Disable,,0,1"
	}
	insert:
	{
		"OnTrigger" "worldspawn,FireUser1,,0,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0:1,0.02,1"
	}
}
modify:
{
	match:
	{
		"targetname" "stage_3_fin"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "brush_dif_3,Disable,,15.5,1"
	}
	insert:
	{
		"OnTrigger" "worldspawn,FireUser1,,15,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:5:0:1,15.02,1"
	}
}
modify:
{
	match:
	{
		"targetname" "stage_4_end_of_all_things"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "brush_dif_1,Enable,,15,-1"
		"OnTrigger" "brush_dif_2,Enable,,15,-1"
		"OnTrigger" "brush_dif_3,Enable,,15,-1"
		"OnTrigger" "brush_extreme,Disable,,15,-1"
	}
	insert:
	{
		"OnTrigger" "worldspawn,FireUser1,,15.5,1"
		"OnTrigger" "worldspawn,FireUser2,,15.5,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0:1,15.52,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser2 Diff_Counter:SetValue:2:0:1,15.52,1"
		"OnTrigger" "consola,Command,zr_infect_mzombie_ratio 5,15.52,1"
		"OnTrigger" "consola,Command,zr_infect_spawntime_min 6,15.52,1"
		"OnTrigger" "consola,Command,zr_infect_spawntime_max 6,15.52,1"
	}
}
modify:
{
	match:
	{
		"targetname" "logica_extreme"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "worldspawn,FireUser2,,0,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser2 Diff_Counter:SetValue:2:0:1,0.02,1"
		"OnTrigger" "consola,Command,zr_infect_mzombie_ratio 5,0,1"
		"OnTrigger" "consola,Command,zr_infect_spawntime_min 6,0,1"
		"OnTrigger" "consola,Command,zr_infect_spawntime_max 6,0,1"
		"OnTrigger" "consola,Command,zr_respawn_delay 2,0,1"
		"OnTrigger" "consola,Command,say ** ALL ITEMS FOR ZOMBIE HAVE BEEN UNLOCKED BUT NOT LVL 4 **,2,1"
		"OnTrigger" "consola,Command,say ** ENABLED FAST RESPAWN **,5,1"
		"OnTrigger" "stage_2_brushes,Enable,,15,1"
	}
}
modify:
{
	match:
	{
		"targetname" "logica_nivel_1"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **CURRENT STAGE >> PART 1 >> OSGILIATH **,0,-1"
	}
	insert:
	{
		"OnTrigger" "worldspawn,FireUser1,,0,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:2:0:1,0.02,1"
		"OnTrigger" "consola,Command,say ** CURRENT STAGE >> PART 1 >> OSGILIATH **,0,1"
		"OnTrigger" "stage_2_brushes,Disable,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "logica_nivel_2"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **CURRENT STAGE >> PART 2 >> MAIN GATES **,0,-1"
	}
	insert:
	{
		"OnTrigger" "worldspawn,FireUser1,,0,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:3:0:1,0.02,1"
		"OnTrigger" "consola,Command,say ** CURRENT STAGE >> PART 2 >> MAIN GATES **,0,1"
		"OnTrigger" "stage_2_brushes,Disable,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "logica_nivel_3"
		"classname" "logic_relay"
	}
	delete:
	{
		"OnTrigger" "consola,Command,say **CURRENT STAGE >> PART 3 >> CATAPULTS **,0,-1"
	}
	insert:
	{
		"OnTrigger" "worldspawn,FireUser1,,0,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:4:0:1,0.02,1"
		"OnTrigger" "consola,Command,say ** CURRENT STAGE >> PART 3 >> CATAPULTS **,0,1"
		"OnTrigger" "stage_2_brushes,Disable,,0,1"
	}
}
modify:
{
	match:
	{
		"targetname" "logica_nivel_4"
		"classname" "logic_relay"
	}
	insert:
	{
		"OnTrigger" "worldspawn,FireUser1,,0,1"
		"OnTrigger" "worldspawn,AddOutput,OnUser1 Level_Counter:SetValue:5:0:1,0.02,1"
		"OnTrigger" "stage_2_brushes,Disable,,0,1"
	}
}