BSPHL - BSP HotLoader for S&box
This will be a way to open and enjoy GoldSrc (and eventually Source) maps in S&box natively.
The state of this S&box addon is extremely early, thus only proof-of-concept features are implemented.
It reads information from BSP files using S&box's FileSystem API.
Using these details, it constructs a mesh using VertexBuffers:
Note: for now, the map name is hardcoded into Pawn.cs.
- Navigate to
<steam>/common/sbox/data/local/bsphl#local
(create folders if they don't exist) - Drop a HL1 bsp file in there
- Change the map file name in Pawn.cs
- Launch the gamemode and press left click to spawn the map on your position
HUGE thanks to the hlbsp project for documenting the structure of the HL1 BSP format