ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
637 stars 74 forks source link

[TF2] Mannhattan Gate B alarm not playing #4473

Open CopCorvette opened 1 year ago

CopCorvette commented 1 year ago

Recently i was playing a mann up match and then the team got back capped with no warnings or alarm then i decided to investigate myself using server plugins in a private SRCDS server to test it, Gate A works fine but Gate B the alarm sound doesn't play.

Video recorded in 1080p but github doesn't accept videos large than 10 mb so i rendered the video in 480p.

https://user-images.githubusercontent.com/71981755/199145498-c55bfbc3-5a42-4fcd-b90d-732d9ce9ff9b.mp4

FrozenDragon0 commented 1 year ago

I've been playing Mann up for a few years and this bug has always been like that.

Whurrhurr commented 1 year ago

OK, so here's the problem: the trigger_multiple (called gate2_door_alarm) used to sound the alarm when gatebots get near gate B after capping A is never enabled. so what i did was i took a decompiled VMF, found the relay that enables the cap on gate B (called gate1_relay) added an input to it of OnTrigger gate2_door_alarm Enable with a delay of 22.0s. image then i compiled the map and loaded it up in-game, complete with a copy of empire escalation and watched gatebots approach gate B.

https://user-images.githubusercontent.com/33162051/199663032-1444a3bb-b418-465e-b095-33061ac62f4f.mp4

it works properly when gatebots get close enough to gate B and gate A has been capped.

(edited to include a better video showcasing the fix)

CopCorvette commented 1 year ago

Nice! I have looked into this trigger_multiple before but i wasn't sure if the inputs was correct or not because you can put a bunch of outputs inside a logic_relay and i thought the Output to enable the trigger was inside the gate2_relay... So my first suspicion was correct then. Thanks for finding the problem 😄