Hi all,
Sorry this is such a newbie post, but I’ve read the readme and the manual to Q3Map2 and I’m not sure if it can do what I want it to… I’ll see if I can explain myself:
I’m trying to investigate weather its possible to automate the process of map creation.
(I’ll give you some background)
I’m working in a VR lab where we have a custom OpenGL Performer program used to ‘simulate’ walking through rooms. Different information can be presented (textures on the walls) in each room. At the moment, the rooms required are read in from a text file at startup and the rooms and info are generated on the fly.
I’ve looked into using CAVE Quake III (CAVElib is a library that allows for programs to easily be shown on the complex projector setup)
I could make a map with lots of rooms connected by tunnels, placing the required textures in each room.
What we really need is a way to automate this process (much like the text file solution). Is it in anyway possible to script Q3Map2 to create rooms/textures as required ?
Ie, I would basically use XML (or plain text) to specify how many rooms, and which ones are connected to which others and what textures to place on what walls etc.
From there, I write a Program that parses the XML and writes out a corresponding .map file. ( all the map files created will be very similar (ie, romms connected by tunnels) so this shouldn’t be too hard.) from here, I can just throw the written map file onto Q3Map2, and hopefully have generated a dynamic quake level (I realise it will take time to ‘compile’ but thats fine.)
Is this going to be possible? where can I learn about writing a .map file to achieve this?
I greatly appreciate any help given,
-Daniel Grec


