twhl-community / halflife-updated

Half-Life SDK updated to compile under VS2019 and 2022. Check README.md for more information.
Other
382 stars 146 forks source link

Bug in map c2a5x #214

Closed morenohijazo closed 1 year ago

morenohijazo commented 1 year ago

This bug was in the original game, but I've checked, and it's still here.

There are several pickups in the map c2a5x (the third map in "Surface Tension", it's the one with the tentacle). There's a bug where they all disappear when leaving the map and entering c2a5w (easy to do, as there's several entrance and exits between these two maps). The pickups wil have vanished when re-entering c2a5x.

SamVanheer commented 1 year ago

This is caused by the same problem as https://github.com/ValveSoftware/halflife/issues/1923

Basically the save system can't handle moving between two maps using different level changes that have their own landmarks. Changes get merged incorrectly so entity position vectors get offset to the wrong position.

It's an engine bug so it can't be fixed at the mod level.