You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I stumbled upon something obscure in hl2_pak_dir.vpk. In this VPK's "maps" folder, there are ".pat" files with names matching Half-Life 2 BSPs. These files are plaintext and are capable of adding new entities into maps some time during the game loading it. You can see these entities ingame with commands like ent_text, but since they aren't in the BSP, they aren't there in decompiles. Looking through a single file, it seems like they used this mainly for achievement logic. BSPSource should try to read from a map's associated pat file if possible.
The text was updated successfully, but these errors were encountered:
Today I stumbled upon something obscure in hl2_pak_dir.vpk. In this VPK's "maps" folder, there are ".pat" files with names matching Half-Life 2 BSPs. These files are plaintext and are capable of adding new entities into maps some time during the game loading it. You can see these entities ingame with commands like ent_text, but since they aren't in the BSP, they aren't there in decompiles. Looking through a single file, it seems like they used this mainly for achievement logic. BSPSource should try to read from a map's associated pat file if possible.
The text was updated successfully, but these errors were encountered: