stripper-configs/maps/ze_fracture_v1b_css.cfg

249 lines
6.4 KiB
INI

;-----------------------------------------------------------------------------------------
; Removes a trigger_teleport and replaces it with a trigger_multiple random tp system
;-----------------------------------------------------------------------------------------
filter:
{
"targetname" "st1_zmtp_3"
"classname" "trigger_teleport"
"origin" "5120 0 864"
}
add:
{
"model" "*385"
"wait" "1"
"targetname" "st1_zmtp_3"
"StartDisabled" "1"
"spawnflags" "4097"
"origin" "5120 0 864"
"classname" "trigger_multiple"
"OnStartTouch" "tp_split_case_2,PickRandomShuffle,,0,-1"
}
add:
{
"origin" "7744 -8560 2313"
"targetname" "tp_split_case_2"
"classname" "logic_case"
"OnCase02" "tp_des1_4_one,Teleport,,0,-1"
"OnCase01" "tp_des1_4_two,Teleport,,0,-1"
}
add:
{
"origin" "8192 1152 960"
"targetname" "tp_des1_4_one"
"target" "!activator"
"spawnflags" "0"
"angles" "0 90 0"
"classname" "point_teleport"
}
add:
{
"origin" "8192 5504 960"
"targetname" "tp_des1_4_two"
"target" "!activator"
"spawnflags" "0"
"angles" "0 270 0"
"classname" "point_teleport"
}
;------------------------------------------------------------------------------------------------------------------
; Removes 2 trigger_teleports and adds 2 trigger_multiples instead for random teleportation instead at the water
;------------------------------------------------------------------------------------------------------------------
filter:
{
"targetname" "st1_falltp_1"
"classname" "trigger_teleport"
"origin" "8192 4416 272"
}
filter:
{
"targetname" "st1_falltp_1"
"classname" "trigger_teleport"
"origin" "8192 2240 272"
}
add:
{
"model" "*362"
"wait" "1"
"targetname" "st1_falltp_1_1"
"StartDisabled" "0"
"spawnflags" "4097"
"origin" "8192 2240 272"
"classname" "trigger_multiple"
"OnStartTouch" "tp_split_case_2,PickRandomShuffle,,0,-1"
}
add:
{
"model" "*363"
"wait" "1"
"targetname" "st1_falltp_1_2"
"StartDisabled" "0"
"spawnflags" "4097"
"origin" "8192 4416 272"
"classname" "trigger_multiple"
"OnStartTouch" "tp_split_case_2,PickRandomShuffle,,0,-1"
}
;---------------------------------------------------------------------
; Fixes spawn teleportation not splitting into 2 different segments
;---------------------------------------------------------------------
add:
{
"model" "*362"
"wait" "1"
"targetname" "start_tp1_random"
"StartDisabled" "1"
"spawnflags" "4097"
"origin" "0 0 192"
"classname" "trigger_multiple"
"OnStartTouch" "tp_split_case_1,PickRandomShuffle,,0,-1"
}
add:
{
"origin" "7744 -8560 2313"
"targetname" "tp_split_case_1"
"classname" "logic_case"
"OnCase02" "tp_des1_1_one,Teleport,,0,-1"
"OnCase01" "tp_des1_1_two,Teleport,,0,-1"
}
add:
{
"origin" "2048 1024 48"
"targetname" "tp_des1_1_one"
"target" "!activator"
"spawnflags" "0"
"angles" "0 270 0"
"classname" "point_teleport"
}
add:
{
"origin" "2048 -1024 48"
"targetname" "tp_des1_1_two"
"target" "!activator"
"spawnflags" "0"
"angles" "0 90 0"
"classname" "point_teleport"
}
;---------------------------------------------------------------------------------------------------------------------------
; Disables the first teleportation trigger in spawn and enables the trigger_multiple instead to create the random split
;---------------------------------------------------------------------------------------------------------------------------
modify:
{
match:
{
"classname" "logic_auto"
"origin" "-96 480 288"
}
delete:
{
"OnNewGame" "start_tp1,Enable,,8,-1"
}
insert:
{
"OnNewGame" "start_tp1_random,Enable,,8,-1"
}
}
modify:
{
match:
{
"targetname" "st1_trigger_04"
"classname" "trigger_once"
"origin" "5184 0 560"
}
insert:
{
"OnStartTouch" "start_tp1,Enable,,10,1"
"OnStartTouch" "start_tp1_random,Disable,,10,-1"
}
}
;-----------------------------------------------------------------------------------------------------------------------------
; Kills the newly added spawn split trigger_multiple "start_tp1_random" so it gets killed on other stages than stage 1
;-----------------------------------------------------------------------------------------------------------------------------
modify:
{
match:
{
"targetname" "diff_st2"
"classname" "logic_relay"
}
insert:
{
"OnTrigger" "start_tp1_random,Kill,,1,-1"
}
}
modify:
{
match:
{
"targetname" "diff_rtv"
"classname" "logic_relay"
}
insert:
{
"OnTrigger" "start_tp1_random,Kill,,1,-1"
}
}
modify:
{
match:
{
"targetname" "diff_rtv2"
"classname" "logic_relay"
}
insert:
{
"OnTrigger" "start_tp1_random,Kill,,1,-1"
}
}
;-----------------------------------------------------------------------------------------------------------------------------
; Disables bhop after the elevator part and enables it after on stage 1
;-----------------------------------------------------------------------------------------------------------------------------
modify:
{
match:
{
"targetname" "st1_platform_01"
"classname" "func_movelinear"
}
insert:
{
"OnFullyOpen" "Scommand,Command,sv_enablebunnyhopping 0,10,-1"
}
}
modify:
{
match:
{
"targetname" "st1_trigger_07_counter"
"classname" "math_counter"
}
insert:
{
"OnHitMax" "Scommand,Command,sv_enablebunnyhopping 1,25,-1"
}
}
;-----------------------------------------------------------------------------------------------------------------------------
; Disables bhop after the 2nd trigger and enables it after on stage 2
;-----------------------------------------------------------------------------------------------------------------------------
modify:
{
match:
{
"targetname" "st2_trigger_02_counter"
"classname" "math_counter"
}
insert:
{
"OnHitMax" "Scommand,Command,sv_enablebunnyhopping 0,20,-1"
}
}
modify:
{
match:
{
"targetname" "st2_trigger_03"
"classname" "trigger_once"
}
insert:
{
"OnStartTouch" "Scommand,Command,sv_enablebunnyhopping 1,1,-1"
}
}