stripper-configs/maps/ze_ancient_wrath_v1_fix2.cfg

182 lines
3.5 KiB
INI

;--------------------------------------------------------------------
;STRIPPER CFG BY MOLTARD http://steamcommunity.com/id/0123456789ABC/
;--------------------------------------------------------------------
;FIX ELEVATOR ISSUES
;--------------------
modify:
{
match:
{
"classname" "logic_auto"
"hammerid" "1087185"
}
insert:
{
"OnMapSpawn" "IFixAStupidMistake,FireUser1,,1,1"
}
}
modify:
{
match:
{
"targetname" "Cargoelevator_top_relay_4"
"classname" "logic_relay"
}
insert:
{
"OnTrigger" "IFixAStupidMistake,Enable,,0,-1"
"OnTrigger" "IFixAStupidMistake,Kill,,26.95,-1"
}
}
add:
{
"targetname" "IFixAStupidMistake"
"target" "mainroom_teleport_destination"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-329 1136 256"
"classname" "trigger_teleport"
"OnUser1" "!self,AddOutput,solid 2,0,1"
"OnUser1" "!self,AddOutput,mins -13 -174 -256,0.1,1"
"OnUser1" "!self,AddOutput,maxs 13 174 256,0.1,1"
}
add:
{
"targetname" "IFixAStupidMistake"
"target" "mainroom_teleport_destination"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-834 1136 256"
"classname" "trigger_teleport"
"OnUser1" "!self,AddOutput,solid 2,0,1"
"OnUser1" "!self,AddOutput,mins -13 -174 -256,0.1,1"
"OnUser1" "!self,AddOutput,maxs 13 174 256,0.1,1"
}
add:
{
"targetname" "IFixAStupidMistake"
"target" "mainroom_teleport_destination"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-578 881 256"
"classname" "trigger_teleport"
"OnUser1" "!self,AddOutput,solid 2,0,1"
"OnUser1" "!self,AddOutput,mins -174 -13 -256,0.1,1"
"OnUser1" "!self,AddOutput,maxs 174 13 256,0.1,1"
}
add:
{
"targetname" "IFixAStupidMistake"
"target" "mainroom_teleport_destination"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-578 1393 256"
"classname" "trigger_teleport"
"OnUser1" "!self,AddOutput,solid 2,0,1"
"OnUser1" "!self,AddOutput,mins -174 -13 -256,0.1,1"
"OnUser1" "!self,AddOutput,maxs 174 13 256,0.1,1"
}
;--------------------------------------------------
;RESTART ROUND ON WARMUP INSTEAD OF SLAYING PLAYERS
;--------------------------------------------------
modify:
{
match:
{
"classname" "logic_relay"
"targetname" "Stage_0_initate"
}
delete:
{
"OnTrigger" "Trigger_nuke2,Enable,,59,-1"
"OnTrigger" "ending_explosion_sound2,PlaySound,,59,-1"
}
insert:
{
"OnTrigger" "command,Command,mp_restartgame 1,59,1"
}
}
;-------------------------------------
;FIX ZOMBIE GLITCH AFTER STAGE 4 BOSS
;-------------------------------------
add:
{
"model" "*238"
"targetname" "zombie_prison_push_antiglitch_s4"
"origin" "-3475 -1917 -702"
"filtername" "Zombie_only"
"StartDisabled" "1"
"pushdir" "0 90 0"
"spawnflags" "1"
"speed" "500"
"classname" "trigger_push"
}
modify:
{
match:
{
"targetname" "boss_3_knockback_1_counter"
"classname" "math_counter"
}
insert:
{
"OnHitMin" "zombie_prison_push_antiglitch_s4,Enable,,1,-1"
}
}
modify:
{
match:
{
"origin" "-3475 -1923 -702"
"classname" "trigger_once"
}
insert:
{
"OnStartTouch" "zombie_prison_push_antiglitch_s4,Disable,,8,-1"
}
}
; Also better automatically kill the pushes in case the CT dont want to go out of the room
modify:
{
match:
{
"targetname" "boss_3_knockback_1_counter"
"classname" "math_counter"
}
insert:
{
"OnHitMin" "Zombie_Prison_push1,Kill,,20,-1"
"OnHitMin" "Zombie_Prison_push2,Kill,,20,-1"
"OnHitMin" "zombie_prison_push_antiglitch_s4,Kill,,20,-1"
}
}
;; _
;; stage 2 - prevent players from blocking trains
modify:
{
match:
{
"targetname" "train_teleporter"
"classname" "trigger_teleport"
}
replace:
{
"origin" "-200 1760 18"
}
}