stripper-configs/maps/ze_icecap_escape_act2_b3s_fix.cfg

382 lines
8.0 KiB
INI
Executable File

;; ze_icecap_escape_act2_b3s_fix
;; fix vehicle parenting
add:
{
"origin" "-6070 15131 552"
"targetname" "filter_not"
"Negated" "Allow entities that match criteria"
"filtername" "notinvehicle"
"classname" "filter_activator_name"
}
; heli
add:
{
"targetname" "heli_clear"
"parentname" "heli"
"StartDisabled" "0"
"spawnflags" "1"
"origin" "-6392.5 14978.5 669"
"classname" "trigger_multiple"
"OnUser1" "!self,AddOutput,solid 2,0,1"
"OnUser1" "!self,AddOutput,mins -195.5 -196.5 -60,0.1,1"
"OnUser1" "!self,AddOutput,maxs 195.5 196.5 60,0.1,1"
"OnEndTouch" "!activator,ClearParent,,0,-1"
}
; boat
add:
{
"targetname" "car_clear"
"parentname" "Car"
"StartDisabled" "0"
"spawnflags" "1"
"origin" "-15675 11865 242.5"
"classname" "trigger_multiple"
"OnUser1" "!self,AddOutput,solid 2,0,1"
"OnUser1" "!self,AddOutput,mins -90 -90 -45.5,0.1,1"
"OnUser1" "!self,AddOutput,maxs 90 90 45.5,0.1,1"
"OnEndTouch" "!activator,ClearParent,,0,-1"
}
; snowmobile
add:
{
"origin" "-7380 12769 520"
"targetname" "filter_moblie"
"Negated" "Allow entities that match criteria"
"filtername" "inmoblie"
"classname" "filter_activator_name"
"OnPass" "Game3,Activate,,0,-1"
"OnPass" "moblie,EnableMotion,,0,1"
"OnPass" "!activator,SetParent,mobliecontrol,0,-1"
}
add:
{
"targetname" "moblie_clear"
"parentname" "moblie"
"StartDisabled" "0"
"spawnflags" "1"
"origin" "-7442 12641 544"
"classname" "trigger_multiple"
"OnUser1" "!self,AddOutput,solid 2,0,1"
"OnUser1" "!self,AddOutput,mins -17 -17 -8,0.1,1"
"OnUser1" "!self,AddOutput,maxs 17 17 8,0.1,1"
"OnStartTouch" "!activator,AddOutput,targetname inmoblie,0,-1"
"OnEndTouch" "!activator,ClearParent,,0,-1"
"OnEndTouch" "!activator,AddOutput,targetname notinvehicle,0,-1"
}
modify:
{
match:
{
"targetname" "mobliecontrol"
"classname" "func_button"
}
delete:
{
"OnPressed" "Game3,Activate,,0,-1"
"OnPressed" "moblie,EnableMotion,,0,1"
"OnPressed" "!activator,SetParent,mobliecontrol,0,-1"
}
insert:
{
"OnPressed" "filter_moblie,TestActivator,,0,-1"
}
}
; battery
add:
{
"origin" "-5440 12480 1800"
"targetname" "filter_battery"
"Negated" "Allow entities that match criteria"
"filtername" "inbattery"
"classname" "filter_activator_name"
"OnPass" "!activator,SetParent,batterycontrol,0,-1"
"OnPass" "battery,EnableMotion,,0,-1"
"OnPass" "Game4,Activate,,0,-1"
"OnPass" "secreth,Break,,0,1"
}
add:
{
"targetname" "battery_clear"
"parentname" "battery"
"StartDisabled" "0"
"spawnflags" "1"
"origin" "-5248 12544 1871"
"classname" "trigger_multiple"
"OnUser1" "!self,AddOutput,solid 2,0,1"
"OnUser1" "!self,AddOutput,mins -48 -32 -8,0.1,1"
"OnUser1" "!self,AddOutput,maxs 48 32 8,0.1,1"
"OnStartTouch" "!activator,AddOutput,targetname inbattery,0,-1"
"OnEndTouch" "!activator,ClearParent,,0,-1"
"OnEndTouch" "!activator,AddOutput,targetname notinvehicle,0,-1"
}
modify:
{
match:
{
"targetname" "batterycontrol"
"classname" "func_button"
}
delete:
{
"OnPressed" "!activator,SetParent,batterycontrol,0,-1"
"OnPressed" "battery,EnableMotion,,0,-1"
"OnPressed" "Game4,Activate,,0,-1"
"OnPressed" "secreth,Break,,0,1"
}
insert:
{
"OnPressed" "filter_battery,TestActivator,,0,-1"
}
}
modify:
{
match:
{
"classname" "logic_auto"
"hammerid" "78731"
}
insert:
{
"OnMapSpawn" "heli_clear,FireUser1,,0,-1"
"OnMapSpawn" "car_clear,FireUser1,,0,-1"
"OnMapSpawn" "moblie_clear,FireUser1,,0,-1"
"OnMapSpawn" "battery_clear,FireUser1,,0,-1"
}
}
;; slightly rearrange boat buttons
modify:
{
match:
{
"targetname" "Control"
"classname" "func_button"
}
replace:
{
"origin" "-15645 11836.5 207"
}
}
modify:
{
match:
{
"targetname" "leftseat"
"classname" "func_button"
}
replace:
{
"origin" "-15697 11902 208"
}
}
modify:
{
match:
{
"targetname" "rightseat"
"classname" "func_button"
}
replace:
{
"origin" "-15699 11830 208"
}
}
modify:
{
match:
{
"targetname" "Game"
"classname" "game_ui"
}
delete:
{
"PlayerOff" "!activator,SetParent,,0,-1"
}
insert:
{
"PlayerOff" "!activator,ClearParent,,0,-1"
}
}
;; fix nuke
modify:
{
match:
{
"targetname" "nuke"
"classname" "trigger_hurt"
}
replace:
{
"damagemodel" "0"
}
}
modify:
{
match:
{
"targetname" "nukebutton"
"classname" "func_button"
}
insert:
{
"OnPressed" "nuke,AddOutput,damage 100000,9.5,1"
}
}
;; disable vehicles after nuke
modify:
{
match:
{
"targetname" "nukebutton"
"classname" "func_button"
}
insert:
{
"OnPressed" "com,Command,say ***Helicopter is out of fuel!***,22,1"
"OnPressed" "Push2,Kill,,23,1"
"OnPressed" "helirot,Stop,,24,1"
"OnPressed" "Push2,Kill,,25,1"
"OnPressed" "Game2,Deactivate,,30,1"
"OnPressed" "Gameseat*,Deactivate,,30,1"
"OnPressed" "helicontrol,Lock,,30.05,1"
"OnPressed" "Seat*,Lock,,30.05,1"
"OnPressed" "helicontrol,Kill,,30.1,1"
"OnPressed" "Seat*,Kill,,30.1,1"
"OnPressed" "heli,EnableMotion,,31,1"
"OnPressed" "heli,Kill,,40,1"
"OnPressed" "com,Command,say ***Boat engine failure!***,35,1"
"OnPressed" "Front,Kill,,35,1"
"OnPressed" "Back,Kill,,35,1"
"OnPressed" "Game,Deactivate,,40,1"
"OnPressed" "Gameleft,Deactivate,,40,1"
"OnPressed" "Gameright,Deactivate,,40,1"
"OnPressed" "Control,Lock,,40.05,1"
"OnPressed" "leftseat,Lock,,40.05,1"
"OnPressed" "rightseat,Lock,,40.05,1"
"OnPressed" "Control,Kill,,40.1,1"
"OnPressed" "leftseat,Kill,,40.1,1"
"OnPressed" "rightseat,Kill,,40.1,1"
"OnPressed" "car,Kill,,45,1"
"OnPressed" "com,Command,say ***Battery is fully discharged!***,42,1"
"OnPressed" "Push4,Kill,,44,1"
"OnPressed" "Game4,Deactivate,,48,1"
"OnPressed" "batterycontrol,Lock,,48.05,1"
"OnPressed" "batterycontrol,Kill,,48.1,1"
"OnPressed" "battery,Kill,,50,1"
}
}
modify:
{
match:
{
"parentname" "heli"
"classname" "func_rotating"
"dmg" "2000"
}
insert:
{
"targetname" "helirot"
}
}
;; this part is probably by Soft Serve
modify:
{
match:
{
"hammerid" "458037"
}
delete:
{
"OnStartTouch" "com,Command,say ***SPREAD OUT!! YOU HAVE 5 MINUTES TO DISABLE AS MANY AS YOU CAN!!***,1,1"
"OnStartTouch" "nukehurt10,Enable,,300,1"
"OnStartTouch" "nukehurt10,Disable,,300.25,1"
"OnStartTouch" "deathhurt,Enable,,302,1"
"OnStartTouch" "com,Command,say ***60 SECONDS LEFT!!***,240,1"
"OnStartTouch" "com,Command,say ***15 SECONDS LEFT!!***,285,1"
"OnStartTouch" "core9,Kill,,300,1"
"OnStartTouch" "core7,Kill,,300,1"
"OnStartTouch" "core6,Kill,,300,1"
"OnStartTouch" "core5,Kill,,300,1"
"OnStartTouch" "core4,Kill,,300,1"
"OnStartTouch" "core3,Kill,,300,1"
"OnStartTouch" "core2,Kill,,300,1"
"OnStartTouch" "core,Kill,,300,1"
"OnStartTouch" "corebuttons,Kill,,300,1"
"OnStartTouch" "core8,Kill,,300,1"
}
insert:
{
"OnStartTouch" "com,Command,say ***SPREAD OUT!! YOU HAVE 4 MINUTES TO DISABLE AS MANY AS YOU CAN!!***,1,1"
"OnStartTouch" "nukehurt10,Enable,,240,1"
"OnStartTouch" "nukehurt10,Disable,,240.25,1"
"OnStartTouch" "deathhurt,Enable,,242,1"
"OnStartTouch" "com,Command,say ***60 SECONDS LEFT!!***,180,1"
"OnStartTouch" "com,Command,say ***15 SECONDS LEFT!!***,225,1"
"OnStartTouch" "core9,Kill,,240,1"
"OnStartTouch" "core7,Kill,,240,1"
"OnStartTouch" "core6,Kill,,240,1"
"OnStartTouch" "core5,Kill,,240,1"
"OnStartTouch" "core4,Kill,,240,1"
"OnStartTouch" "core3,Kill,,240,1"
"OnStartTouch" "core2,Kill,,240,1"
"OnStartTouch" "core,Kill,,240,1"
"OnStartTouch" "corebuttons,Kill,,240,1"
"OnStartTouch" "core8,Kill,,240,1"
}
}
modify:
{
match:
{
"targetname" "9"
}
insert:
{
"OnBreak" "nukehurt10,Kill,,0,1"
"OnBreak" "com,Command,SAY ***ALL 9 CORES HAVE BEEN DISABLED!!***,2,1"
"OnBreak" "com,Command,SAY ***ESCAPE PATHS WILL OPEN IN 5 SECONDS!!***,3,1"
"OnBreak" "com,Command,say ***Tunnel boat leaving in 5secs!***,4,1"
"OnBreak" "boatsign,Break,,4,1"
"OnBreak" "6of9,Break,,8,1"
"OnBreak" "7of9,Break,,8,1"
"OnBreak" "8of9,Break,,8,1"
"OnBreak" "9of9,Break,,8,1"
"OnBreak" "com,Command,SAY ***ESCAPE PATH OPEN!!***,8,1"
"OnBreak" "boat3,SetSpeedReal,350,9,1"
"OnBreak" "deathhurt,Kill,,0,1"
}
}