Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

selimnahimi/BSPHL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BSPHL

BSPHL - BSP HotLoader for S&box

Goals:

This will be a way to open and enjoy GoldSrc (and eventually Source) maps in S&box natively.

Current state:

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:

sbox-dev_zZp9kvvz7m

Loading a map

Note: for now, the map name is hardcoded into Pawn.cs.

  1. Navigate to <steam>/common/sbox/data/local/bsphl#local (create folders if they don't exist)
  2. Drop a HL1 bsp file in there
  3. Change the map file name in Pawn.cs
  4. Launch the gamemode and press left click to spawn the map on your position

Footnotes

HUGE thanks to the hlbsp project for documenting the structure of the HL1 BSP format

Releases

No releases published

Packages

No packages published

Languages