Forum

Best docs on MAP creation?

Discuss programming topics for any language, any source base. If it is programming related but doesn't fit in one of the below categories, it goes here.

Moderator: InsideQC Admins

Best docs on MAP creation?

Postby JasonX » Wed Nov 13, 2013 4:18 pm

I'm working on a small random dungeon generator. It works perfectly right now, generates a 2D dungeon quite well. However, i'm planning to add a feature to my generator that generates a .MAP which can be compiled into a BSP. I could not find any kind of documentation on the hand-made creation of MAP files, or any kind of extensive info on the format itself. Do you guys know any obscure documents, tutorials, or even simple open source projects that can be of good use towards this effort?
JasonX
 
Posts: 407
Joined: Tue Apr 21, 2009 2:08 pm

Re: Best docs on MAP creation?

Postby qbism » Thu Nov 14, 2013 1:46 am

Check out Oblige, it is a random map generator controlled by lua script. Current focus is on doom but it also supports Quake and Q2. It has untapped potential. http://oblige.sourceforge.net/

This can actually be done with qc using prefabs contained in the compiled map. Preach made mapgen, and I modded a playable version of it, but if I were spending time on map generation again I'd start with Oblige.
User avatar
qbism
 
Posts: 1235
Joined: Thu Nov 04, 2004 5:51 am

Re: Best docs on MAP creation?

Postby JasonX » Thu Nov 14, 2013 6:41 pm

Yeah, i did look at Oblige, but i'm only interested in the MAP-related code. I prefer my approach to RDG, which is simpler and not based in prefabs. There's no MAP-related code in Oblige, it generates the BSP directly.
JasonX
 
Posts: 407
Joined: Tue Apr 21, 2009 2:08 pm

Re: Best docs on MAP creation?

Postby qbism » Fri Nov 15, 2013 12:46 am

At the third column of the build dialog, scroll down to the bottom. There's an option 'export map for debugging'. Maps are saved in the debug folder of oblige.

There's also bmp2map, which converts 2d bitmap images to maps based on color coding.
User avatar
qbism
 
Posts: 1235
Joined: Thu Nov 04, 2004 5:51 am


Return to General Programming

Who is online

Users browsing this forum: No registered users and 2 guests