stripper-configs/maps/ze_games_v2_2aold.cfg

334 lines
10 KiB
INI
Executable File

;-------------------------------------------------------------------------------
;Changes:
; - Adds logic_case's to choose game modes randomly
; - Fixes the safe spot on frogger, so humans get teleported after the first tp
;-------------------------------------------------------------------------------
;-----------------------------------------------
;Logic_case fix
;-----------------------------------------------
filter:
{
"origin" "-44.2389 377.47 9"
"targetname" "gamepick_autoselect_timer"
"classname" "logic_timer"
"hammerid" "203717"
}
add:
{
"classname" "logic_timer"
"origin" "-384 192 0"
"RefireTime" "10"
"spawnflags" "0"
"StartDisabled" "1"
"targetname" "gamepick_autoselect_timer"
"OnTimer" "gamepick_autoselect_run_*,Trigger,,0,-1"
}
;------------------------------------------
;Adds logic_cases for each difficulties
;------------------------------------------
add:
{
"classname" "logic_case"
"targetname" "ratio_easy_case"
"origin" "-406 104 7.99999"
"OnCase01" "dance_relay_easy,Trigger,,0.01,-1"
"OnCase02" "mitd_relay_easy,Trigger,,0.01,-1"
"OnCase03" "gamepick_autoselect_run_easy,Trigger,,0.01,-1"
"OnCase04" "frogger_relay,Trigger,,0.01,-1"
"OnCase05" "skyfall_relay,Trigger,,0.01,-1"
"OnCase06" "dance_relay_easy,Trigger,,0.01,-1"
"OnCase01" "dance_relay_easy,Enable,,0,-1"
"OnCase02" "mitd_relay_easy,Enable,,0,-1"
"OnCase03" "gamepick_autoselect_run_easy,Enable,,0,-1"
"OnCase04" "frogger_relay,Enable,,0,-1"
"OnCase05" "skyfall_relay,Enable,,0,-1"
"OnCase06" "dance_relay_easy,Enable,,0,-1"
}
add:
{
"classname" "logic_case"
"targetname" "ratio_normal_case"
"origin" "-426 104 8"
"OnCase01" "castle_relay_normal,Trigger,,0.01,-1"
"OnCase02" "dance_relay_normal,Trigger,,0.01,-1"
"OnCase03" "waterfall_relay_normal,Trigger,,0.01,-1"
"OnCase04" "race_relay_normal,Trigger,,0.01,-1"
"OnCase05" "mitd_relay_normal,Trigger,,0.01,-1"
"OnCase06" "gamepick_autoselect_run_normal,Trigger,,0.01,-1"
"OnCase07" "frogger_relay,Trigger,,0.01,-1"
"OnCase08" "lowgrav_relay,Trigger,,0.01,-1"
"OnCase01" "castle_relay_normal,Enable,,0,-1"
"OnCase02" "dance_relay_normal,Enable,,0,-1"
"OnCase03" "waterfall_relay_normal,Enable,,0,-1"
"OnCase04" "race_relay_normal,Enable,,0,-1"
"OnCase05" "mitd_relay_normal,Enable,,0,-1"
"OnCase06" "gamepick_autoselect_run_normal,Enable,,0,-1"
"OnCase07" "frogger_relay,Enable,,0,-1"
"OnCase08" "lowgrav_relay,Enable,,0,-1"
}
add:
{
"classname" "logic_case"
"targetname" "ratio_extreme_case"
"origin" "-466 104 8"
"OnCase01" "castle_relay_extreme,Trigger,,0.01,-1"
"OnCase02" "deathrun_relay_extreme,Trigger,,0.01,-1"
"OnCase03" "race_relay_extreme,Trigger,,0.01,-1"
"OnCase04" "gamepick_autoselect_run_extreme,Trigger,,0.01,-1"
"OnCase05" "waterfall_relay_extreme,Trigger,,0.01,-1"
"OnCase06" "trap_relay_extreme,Trigger,,0.01,-1"
"OnCase01" "castle_relay_extreme,Enable,,0,-1"
"OnCase02" "deathrun_relay_extreme,Enable,,0,-1"
"OnCase03" "race_relay_extreme,Enable,,0,-1"
"OnCase04" "gamepick_autoselect_run_extreme,Enable,,0,-1"
"OnCase05" "waterfall_relay_extreme,Enable,,0,-1"
"OnCase06" "trap_relay_extreme,Enable,,0,-1"
}
add:
"classname" "logic_case"
"targetname" "ratio_hard_case"
"origin" "-446 104 8"
"OnCase01" "race_relay_hard,Trigger,,0.01,-1"
"OnCase02" "waterfall_relay_hard,Trigger,,0.01,-1"
"OnCase03" "trap_relay_hard,Trigger,,0.01,-1"
"OnCase04" "deathrun_relay_hard,Trigger,,0.01,-1"
"OnCase05" "castle_relay_hard,Trigger,,0.01,-1"
"OnCase06" "gamepick_autoselect_run_hard,Trigger,,0.01,-1"
"OnCase07" "frogger_relay,Trigger,,0.01,-1"
"OnCase08" "lowgrav_relay,Trigger,,0.01,-1"
"OnCase09" "skyfall_relay,Trigger,,0.01,-1"
"OnCase01" "race_relay_hard,Enable,,0,-1"
"OnCase02" "waterfall_relay_hard,Enable,,0,-1"
"OnCase03" "trap_relay_hard,Enable,,0,-1"
"OnCase04" "deathrun_relay_hard,Enable,,0,-1"
"OnCase05" "castle_relay_hard,Enable,,0,-1"
"OnCase06" "gamepick_autoselect_run_hard,Enable,,0,-1"
"OnCase07" "frogger_relay,Enable,,0,-1"
"OnCase08" "lowgrav_relay,Enable,,0,-1"
"OnCase09" "skyfall_relay,Enable,,0,-1"
}
;-------------------------------
;Changes the mode picking system
;-------------------------------
modify:
{
match:
{
"classname" "logic_relay"
"targetname" "ratio_hard_relay"
"origin" "-446.729 82.0793 9"
}
delete:
{
"OnTrigger" "gamepick_door_deathrun,Open,,0,-1"
"OnTrigger" "gamepick_door_frogger,Open,,0,-1"
"OnTrigger" "gamepick_door_lowgravity,Open,,0,-1"
"OnTrigger" "gamepick_door_trap,Open,,0,-1"
"OnTrigger" "gamepick_door_slingshot,Open,,0,-1"
"OnTrigger" "gamepick_door_castle,Open,,0,-1"
"OnTrigger" "gamepick_door_obstacle,Open,,0,-1"
"OnTrigger" "race_relay_normal,Disable,,0,-1"
"OnTrigger" "race_relay_hard,Enable,,0,-1"
"OnTrigger" "waterfall_relay_extreme,Disable,,0,-1"
"OnTrigger" "waterfall_relay_normal,Disable,,0,-1"
"OnTrigger" "waterfall_relay_hard,Enable,,0,-1"
"OnTrigger" "trap_relay_hard,Enable,,0,-1"
"OnTrigger" "trap_relay_extreme,Disable,,0,-1"
"OnTrigger" "deathrun_relay_hard,Enable,,0,-1"
"OnTrigger" "deathrun_relay_extreme,Disable,,0,-1"
"OnTrigger" "castle_relay_extreme,Disable,,0,-1"
"OnTrigger" "castle_relay_hard,Enable,,0,-1"
"OnTrigger" "castle_relay_normal,Disable,,0,-1"
"OnTrigger" "gamepick_autoselect_run_normal,Disable,,0,-1"
"OnTrigger" "gamepick_autoselect_run_hard,Enable,,0,-1"
"OnTrigger" "race_relay_extreme,Disable,,0,-1"
}
insert:
{
"OnTrigger" "ratio_hard_case,PickRandom,,7,-1"
}
}
modify:
{
match:
{
"classname" "logic_relay"
"targetname" "ratio_easy_relay"
"origin" "-405.753 81.5675 9"
}
delete:
{
"OnTrigger" "gamepick_door_drop,Open,,0,-1"
"OnTrigger" "gamepick_door_frogger,Open,,0,-1"
"OnTrigger" "gamepick_door_mitd,Open,,0,-1"
"OnTrigger" "gamepick_door_conveyor,Open,,0,-1"
"OnTrigger" "gamepick_autoselect_run_easy,Enable,,0,-1"
"OnTrigger" "gamepick_autoselect_run_normal,Disable,,0,-1"
"OnTrigger" "mitd_relay_easy,Enable,,0,-1"
"OnTrigger" "mitd_relay_normal,Disable,,0,-1"
"OnTrigger" "dance_relay_easy,Enable,,0,-1"
"OnTrigger" "dance_relay_normal,Disable,,0,-1"
}
insert:
{
"OnTrigger" "ratio_easy_case,PickRandom,,7,-1"
}
}
modify:
{
match:
{
"classname" "logic_relay"
"targetname" "ratio_normal_relay"
"origin" "-431.193 81.4993 9"
}
delete:
{
"OnTrigger" "gamepick_door_drop,Open,,0,-1"
"OnTrigger" "gamepick_door_frogger,Open,,0,-1"
"OnTrigger" "gamepick_door_lowgravity,Open,,0,-1"
"OnTrigger" "gamepick_door_mitd,Open,,0,-1"
"OnTrigger" "gamepick_door_slingshot,Open,,0,-1"
"OnTrigger" "gamepick_door_castle,Open,,0,-1"
"OnTrigger" "gamepick_door_obstacle,Open,,0,-1"
"OnTrigger" "gamepick_door_conveyor,Open,,0,-1"
"OnTrigger" "race_relay_hard,Disable,,0,-1"
"OnTrigger" "race_relay_normal,Enable,,0,-1"
"OnTrigger" "waterfall_relay_hard,Disable,,0,-1"
"OnTrigger" "waterfall_relay_normal,Enable,,0,-1"
"OnTrigger" "waterfall_relay_extreme,Disable,,0,-1"
"OnTrigger" "castle_relay_normal,Enable,,0,-1"
"OnTrigger" "castle_relay_hard,Disable,,0,-1"
"OnTrigger" "castle_relay_extreme,Disable,,0,-1"
"OnTrigger" "race_relay_extreme,Disable,,0,-1"
"OnTrigger" "mitd_relay_normal,Enable,,0,-1"
"OnTrigger" "mitd_relay_easy,Disable,,0,-1"
"OnTrigger" "mitd_finish_easy_relay,Disable,,0,-1"
"OnTrigger" "dance_relay_normal,Enable,,0,-1"
"OnTrigger" "dance_relay_easy,Disable,,0,-1"
"OnTrigger" "dance_finish_easy_relay,Disable,,0,-1"
}
insert:
{
"OnTrigger" "ratio_normal_case,PickRandom,,7,-1"
}
}
modify:
{
match:
{
"classname" "logic_relay"
"targetname" "ratio_extreme_relay"
"origin" "-464.762 82.6429 9.00001"
}
delete:
{
"OnTrigger" "gamepick_door_deathrun,Open,,0,-1"
"OnTrigger" "gamepick_door_trap,Open,,0,-1"
"OnTrigger" "gamepick_door_slingshot,Open,,0,-1"
"OnTrigger" "gamepick_door_castle,Open,,0,-1"
"OnTrigger" "waterfall_relay_extreme,Enable,,0,-1"
"OnTrigger" "waterfall_relay_normal,Disable,,0,-1"
"OnTrigger" "waterfall_relay_hard,Disable,,0,-1"
"OnTrigger" "trap_relay_extreme,Enable,,0,-1"
"OnTrigger" "trap_relay_hard,Disable,,0,-1"
"OnTrigger" "deathrun_relay_extreme,Enable,,0,-1"
"OnTrigger" "deathrun_relay_hard,Disable,,0,-1"
"OnTrigger" "castle_relay_extreme,Enable,,0,-1"
"OnTrigger" "castle_relay_hard,Disable,,0,-1"
"OnTrigger" "castle_relay_normal,Disable,,0,-1"
"OnTrigger" "gamepick_autoselect_run_normal,Disable,,0,-1"
"OnTrigger" "gamepick_autoselect_run_extreme,Enable,,0,-1"
"OnTrigger" "gamepick_door_obstacle,Open,,0,-1"
"OnTrigger" "race_relay_normal,Disable,,0,-1"
"OnTrigger" "race_relay_extreme,Enable,,0,-1"
"OnTrigger" "race_relay_hard,Disable,,0,-1"
}
insert:
{
"OnTrigger" "ratio_extreme_case,PickRandom,,7,-1"
}
}
;--------------------------
;Adds teleports on Frogger
;--------------------------
add:
{
"model" "*198"
"UseLandmarkAngles" "1"
"targetname" "frogger_tele_ct_start"
"target" "frogger_middleexit_zombie_tele_destination"
"StartDisabled" "1"
"spawnflags" "4097"
"origin" "-4112 2336 -3408"
"filtername" "filter_ct"
"classname" "trigger_teleport"
}
add:
{
"model" "*199"
"UseLandmarkAngles" "1"
"targetname" "frogger_tele_ct_start"
"target" "frogger_middleexit_zombie_tele_destination"
"StartDisabled" "1"
"spawnflags" "4097"
"origin" "-3616 2472 -3416"
"filtername" "filter_ct"
"classname" "trigger_teleport"
}
add:
{
"origin" "-56.1511 339.932 1"
"targetname" "RandomPickStages"
"Case04" "Easy"
"Case03" "Normal"
"Case02" "Hard"
"Case01" "Extreme"
"classname" "logic_case"
"OnCase01" "gamepick_autoselect_run_extreme,Trigger,,0,1"
"OnCase04" "gamepick_autoselect_run_easy,Trigger,,0,1"
"OnCase03" "gamepick_autoselect_run_normal,Trigger,,0,1"
"OnCase02" "gamepick_autoselect_run_hard,Trigger,,0,1"
}
modify:
{
match:
{
"targetname" "gamepick_autoselect_timer"
}
replace:
{
"RefireTime" "10"
}
}
modify:
{
match:
{
"targetname" "gamepick_autoselect_start"
}
delete:
{
"OnTrigger" "cmd,Command,say -=[ Autopick in 1 minute ]=-,3,-1"
}
insert:
{
"OnTrigger" "cmd,Command,say -=[ Autopick in 10 seconds ]=-,3,-1"
"OnTrigger" "RandomPickStages,PickRandomShuffle,,0.1,-1"
}
}