stripper-configs/maps/ze_the_parish_c5m1.cfg

154 lines
4.1 KiB
INI
Executable File

;--------------------------
; Fixes zombie spawn time
;--------------------------
modify:
{
match:
{
"classname" "logic_auto"
}
insert:
{
"OnMapSpawn" "CMD,Command,zr_infect_spawntime_max 18,0,-1"
"OnMapSpawn" "CMD,Command,zr_infect_spawntime_min 18,0,-1"
}
}
;--------------------------------------------------
; Removes disable & enable outputs to fix cutscene
;--------------------------------------------------
modify:
{
match:
{
"targetname" "relay_intro_start"
"classname" "logic_relay"
}
delete:
{
"OnTrigger" "intro_cam,Enable,,1,-1"
"OnTrigger" "intro_cam,Disable,,10,-1"
"OnTrigger" "fade_intro,Fade,,0,-1"
"OnTrigger" "tug_boat_intro,SetAnimation,c5m1_intro_tugboat,0,-1"
"OnTrigger" "tug_boat_intro,Kill,,35,-1"
"OnTrigger" "sound_intro_boat,PlaySound,,10,-1"
"OnTrigger" "intro_voice_case,PickRandomShuffle,,3,-1"
"OnTrigger" "fade_intro1,Fade,,8,-1"
"OnTrigger" "fade_intro2,Fade,,10,-1"
"OnTrigger" "tele1,Enable,,10,-1"
"OnTrigger" "intro_target,StartForward,,1,-1"
"OnTrigger" "spawn_soundscape,Enable,,3,-1"
}
insert:
{
"OnTrigger" "fade_intro,Fade,,0,1"
"OnTrigger" "tug_boat_intro,SetAnimation,c5m1_intro_tugboat,0,1"
"OnTrigger" "tug_boat_intro,Kill,,35,1"
"OnTrigger" "sound_intro_boat,PlaySound,,10,1"
"OnTrigger" "intro_voice_case,PickRandomShuffle,,3,1"
"OnTrigger" "fade_intro1,Fade,,8,1"
"OnTrigger" "fade_intro2,Fade,,10,1"
"OnTrigger" "tele1,Enable,,10,1"
"OnTrigger" "intro_target,StartForward,,1,1"
"OnTrigger" "spawn_soundscape,Enable,,3,1"
}
}
;--------------------------------------------------
; adds disable & enable outputs to fix cutscene
;--------------------------------------------------
modify:
{
match:
{
"targetname" "trigger_intro_2"
"classname" "game_zone_player"
}
insert:
{
"OnPlayerOutZone" "intro_cam,Enable,,1,-1"
"OnPlayerOutZone" "intro_cam,Disable,,10,-1"
}
}
;-----------------------------------------------
; Fixes & adds a nuke so it reaches everywhere
;-----------------------------------------------
add:
{
"model" "*9"
"targetname" "nuk"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-5096 -4048 -72"
"nodmgforce" "1"
"damagetype" "0"
"damagemodel" "0"
"damagecap" "99999"
"damage" "99999"
"classname" "trigger_hurt"
}
add:
{
"model" "*9"
"targetname" "nuk"
"StartDisabled" "1"
"spawnflags" "1"
"origin" "-5128 -3600 512"
"nodmgforce" "1"
"damagetype" "0"
"damagemodel" "0"
"damagecap" "99999"
"damage" "99999"
"classname" "trigger_hurt"
}
;-----------------------------------------------------------------------------
; Adds a new sprite for the correct door at the safehouse - prevent confusion
;-----------------------------------------------------------------------------
add:
{
"origin" "-3726 -1224 -304"
"targetname" "sprite_safedoor"
"spawnflags" "0"
"rendermode" "5"
"renderfx" "0"
"rendercolor" "255 255 255"
"renderamt" "255"
"model" "sprites/640_train.vmt"
"mindxlevel" "0"
"maxdxlevel" "0"
"HDRColorScale" "1.0"
"GlowProxySize" "2.0"
"framerate" "10.0"
"disablereceiveshadows" "0"
"classname" "env_sprite"
}
;---------------------------------------------
; Does so the sprite unhides and can be seen
;---------------------------------------------
modify:
{
match:
{
"origin" "-2476 -764 -296"
"classname" "trigger_once"
}
insert:
{
"OnStartTouch" "sprite_safedoor,ShowSprite,,38,1"
}
}
;---------------------------------------------
; Does so the sprite hides and cant be seen
;---------------------------------------------
modify:
{
match:
{
"origin" "-3504 -992 -231.5"
"classname" "trigger_once"
}
insert:
{
"OnStartTouch" "sprite_safedoor,HideSprite,,26,1"
}
}