Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Quake2/Halflife .bsp file loader!

This topic is 5861 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi i need to use a loader for map files of q2/halflife (.bsp). i know the format of quake2 .bsp files but dont wanna reinvent the wheel..does anyone have some links to its code or if someone's coded it himself..kindly help me. thanks On a long enough time line, the survival rate drops to zero. [edited by - b1llz on November 4, 2002 4:33:21 PM]

Share this post

Link to post
Share on other sites
Ok, I have just released the source to my 2 year old engine that I forgot about . Grab the source here, about 640k zipped with the msvc 6 project included (no datafiles are included).

It loads half-life .bsp files and the model files with animations with support for rendering it in directx.

The relevant files are level.cpp, token.cpp, wad.cpp, level.h, token.h and wad.h for bsp loading and rendering.

Good luck .

Edit: can't link to files directly.

[edited by - premandrake on November 4, 2002 5:13:39 PM]

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!