File System Transparency

Xash3D

File System Transparency

Xash3D ignores the string “wad” in maps and does not crash if one or more WADs are not found. In GoldSrc, the situation was complicated by the engine not verifying that the map actually used anything from the WAD it said it needed. This means that Half-Life would occasionally demand a WAD for some map for no good reason.

You can now also load textures from WAD files using the pfnLoadFileForMe function on the server and the COM_LoadFile function on the client. Just specify the name of the texture in the WAD file, and the engine will know how to find it. You can also supply the WAD you need in the path if the texture must come from this particular file. For example, gfx.wad/conback.