stripper-configs/ze_boatescape6_remix_fix2.cfg
2019-06-17 01:13:20 +02:00

139 lines
3.1 KiB
INI

;-------------------------------------------------------------------------------
;STRIPPER CFG BY NEON - http://steamcommunity.com/profiles/76561198024759747
;-------------------------------------------------------------------------------
;-----------------------------------------------
;changes the several nukes to one constant nuke
;-----------------------------------------------
modify:
{
match:
{
"classname" "logic_relay"
"targetname" "end_sequence"
}
delete:
{
"OnTrigger" "command,Command,say *** Nuke launched! ***,5,-1"
"OnTrigger" "nuke_hurt,Enable,,14.3,-1"
"OnTrigger" "nuke_sound,PlaySound,,14.3,-1"
"OnTrigger" "nuke_fade,Fade,,14.3,-1"
"OnTrigger" "nuke_hurt,Disable,,15,-1"
}
insert:
{
"OnTrigger" "command,Command,say *** Nuke launched! ***,5,1"
"OnTrigger" "nuke_hurt,Enable,,14.3,1"
"OnTrigger" "nuke_sound,PlaySound,,14.3,1"
"OnTrigger" "nuke_fade,Fade,,14.3,1"
"OnTrigger" "trigger_anticamp,Enable,,21,1"
}
}
;-----------------------------------------------
;remove heli if too many humans
;-----------------------------------------------
add:
{
"classname" "filter_activator_team"
"targetname" "filter_humans"
"filterteam" "3"
"Negated" "0"
}
add:
{
"classname" "trigger_multiple"
"targetname" "trigger_anticamp"
"spawnflags" "1"
"model" "*19"
"origin" "608 9472 592"
"StartDisabled" "1"
"filtername" "filter_humans"
"OnStartTouch" "human_counter,Add,1,0,-1"
}
add:
{
"classname" "math_counter"
"targetname" "human_counter"
"startvalue" "0"
"min" "0"
"max" "10"
"OnHitMax" "trigger_anticamp,Kill,,0,1"
"OnHitMax" "command,Command,say *** Too many humans detected ***,0,1"
"OnHitMax" "command,Command,say *** Helicopter is going to explode in 10s ***,0.5,1"
"OnHitMax" "helicopter_explosion,Explode,,10.5,1"
"OnHitMax" "chinook,Kill,,10.7,1"
}
add:
{
"classname" "env_explosion"
"targetname" "helicopter_explosion"
"iMagnitude" "1000"
"fireballsprite" "sprites/zerogxplode.spr"
"rendermode" "5"
"spawnflags" "3"
"origin" "975.58 11912.2 526"
"parentname" "chinook"
}
add:
{
"classname" "env_explosion"
"targetname" "helicopter_explosion"
"iMagnitude" "1000"
"fireballsprite" "sprites/zerogxplode.spr"
"rendermode" "5"
"spawnflags" "3"
"origin" "475.58 11912.2 590"
"parentname" "chinook"
}
add:
{
"classname" "env_explosion"
"targetname" "helicopter_explosion"
"iMagnitude" "1000"
"fireballsprite" "sprites/zerogxplode.spr"
"rendermode" "5"
"spawnflags" "3"
"origin" "758.5 11912 242"
"parentname" "chinook"
}
add:
{
"classname" "env_explosion"
"targetname" "helicopter_explosion"
"iMagnitude" "1000"
"fireballsprite" "sprites/zerogxplode.spr"
"rendermode" "5"
"spawnflags" "3"
"origin" "494 11912 315"
"parentname" "chinook"
}
;----------------------------------------------------------------
;Fixes Glitch where players try to get stuck under the Helicopter
;----------------------------------------------------------------
add:
{
"model" "*17"
"spawnflags" "1"
"classname" "trigger_hurt"
"targetname" "hurt_antiglitch"
"origin" "544 12032 71"
"StartDisabled" "0"
"nodmgforce" "1"
"damage" "9999"
}
filter:
{
"classname" "light_environment"
}