ENSL / NS

Natural Selection mod for Half-life
http://www.unknownworlds.com/ns
GNU General Public License v3.0
43 stars 12 forks source link

Underwater issue #29

Open jirikivaari opened 5 years ago

jirikivaari commented 5 years ago

Sometimes all marines start underwater. Not sure what causes it.

NukemD commented 4 years ago

This is more a problem with quirks in the HL engine, terrible Valve coding practices and broken compile tools. "Worldspawn" being brush volumes that make up the world, can have several properties, some of which were not used (like fog), invalid (like AAATrigger) or water. Compile tools set flags for what this is supposed to be, but sometimes they're not set properly, especially if a mapper does something like put a sky texture, AAATrigger and a water texture on different faces of the same brush. The engine gets very confused and really anything can happen.

Hilarious bugs like non-solid skyboxes that you could swim around in used to be common with the original horribly buggy map compile tools, and even later 3rd party tools.

In some cases the engine can think a player is in water if they're teleported from inside a volume of worldspawn water (vs func_water, which is a whole different series of issues) to a different non-water area of the map.

jirikivaari commented 4 years ago

Thanks for the input, didn't know about this.