From b67577f1681e2b7ee1f30242fb1379fc89f17ee6 Mon Sep 17 00:00:00 2001 From: Aaron K <45914779+notkoen@users.noreply.github.com> Date: Sun, 15 Oct 2023 17:53:16 -0700 Subject: [PATCH] Fix trigger_push spawnflag bugs on sh maps (#538) --- stripper/ze_silent_hill_2_illusion_b5.cfg | 14 ++++++++++++++ stripper/ze_silent_hill_3_dawn_v2.cfg | 14 ++++++++++++++ stripper/ze_silent_hill_3_flee_v4.cfg | 14 ++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/stripper/ze_silent_hill_2_illusion_b5.cfg b/stripper/ze_silent_hill_2_illusion_b5.cfg index 3873c5b6..a927426c 100644 --- a/stripper/ze_silent_hill_2_illusion_b5.cfg +++ b/stripper/ze_silent_hill_2_illusion_b5.cfg @@ -1,3 +1,17 @@ +;fix trigger_push spawnflag bug due to csgo jank +modify: +{ + match: + { + "classname" "trigger_push" + "spawnflags" "4097" + } + replace: + { + "spawnflags" "1" + } +} + ;Replace physics-based level system with a vscript one filter: { diff --git a/stripper/ze_silent_hill_3_dawn_v2.cfg b/stripper/ze_silent_hill_3_dawn_v2.cfg index b31436f3..74ddf8e6 100644 --- a/stripper/ze_silent_hill_3_dawn_v2.cfg +++ b/stripper/ze_silent_hill_3_dawn_v2.cfg @@ -1,3 +1,17 @@ +;fix trigger_push spawnflag bug due to csgo jank +modify: +{ + match: + { + "classname" "trigger_push" + "spawnflags" "4097" + } + replace: + { + "spawnflags" "1" + } +} + ;Replace physics-based bonus trigger(?) with a vscript one filter: { diff --git a/stripper/ze_silent_hill_3_flee_v4.cfg b/stripper/ze_silent_hill_3_flee_v4.cfg index 9b20a7b5..6c767e12 100644 --- a/stripper/ze_silent_hill_3_flee_v4.cfg +++ b/stripper/ze_silent_hill_3_flee_v4.cfg @@ -1,3 +1,17 @@ +;fix trigger_push spawnflag bug due to csgo jank +modify: +{ + match: + { + "classname" "trigger_push" + "spawnflags" "4097" + } + replace: + { + "spawnflags" "1" + } +} + ;Replace physics-based level system with a vscript one filter: {