stripper-configs/maps/ze_crashbandicoot_v1fix.cfg

106 lines
1.8 KiB
INI

add:
{
"origin" "-1514 -3902 133"
"targetname" "TheCurrentLevelPlugin"
"min" "1"
"max" "6"
"startvalue" "1"
"classname" "math_counter"
}
modify:
{
match:
{
"targetname" "lvl1_compare"
"classname" "logic_compare"
}
insert:
{
"OnLessThan" "TheCurrentLevelPlugin,SetValue,1,0,1"
"OnEqualTo" "TheCurrentLevelPlugin,SetValue,4,0,1"
"OnGreaterThan" "TheCurrentLevelPlugin,SetValue,4,0,1"
}
}
modify:
{
match:
{
"targetname" "lvl2_compare"
"classname" "logic_compare"
}
insert:
{
"OnLessThan" "TheCurrentLevelPlugin,SetValue,2,0,1"
"OnEqualTo" "TheCurrentLevelPlugin,SetValue,5,0,1"
"OnGreaterThan" "TheCurrentLevelPlugin,SetValue,5,0,1"
}
}
modify:
{
match:
{
"targetname" "lvl3_compare"
"classname" "logic_compare"
}
insert:
{
"OnLessThan" "TheCurrentLevelPlugin,SetValue,3,0,1"
"OnEqualTo" "TheCurrentLevelPlugin,SetValue,6,0,1"
"OnGreaterThan" "TheCurrentLevelPlugin,SetValue,6,0,1"
}
}
;; _
;; stage 3 - teleport players, that got stuck in boss elevator
add:
{
"targetname" "s3_elevator_unstuck"
"target" "ukauka_teled"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-4588 -11265 -542.5"
"classname" "trigger_teleport"
"OnUser1" "!self,AddOutput,solid 2,0,1"
"OnUser1" "!self,AddOutput,mins -9 -9 -89.5,0.1,1"
"OnUser1" "!self,AddOutput,maxs 9 9 89.5,0.1,1"
}
add:
{
"origin" "-4652 -11097 -616"
"spawnflags" "1"
"classname" "logic_auto"
"OnMapSpawn" "s3_elevator_unstuck,FireUser1,,0,-1"
}
modify:
{
match:
{
"targetname" "boss2_hissi_track2"
"classname" "path_track"
}
insert:
{
"OnPass" "s3_elevator_unstuck,Enable,,0,1"
"OnPass" "s3_elevator_unstuck,Disable,,0.5,1"
}
}
;; stage 3 - fix elevator zm teleport
add:
{
"model" "*409"
"target" "zombies2"
"StartDisabled" "0"
"spawnflags" "1"
"origin" "-4660.5 -11250 78"
"filtername" "zombit"
"classname" "trigger_teleport"
}