Quake .MAP

Started by
9 comments, last by alex_r 21 years, 7 months ago
How I use .MAPs files from quake using OpenGL without glut??? Thx.
Advertisement
What does opengl, glut, or even direct3d for that matter have to do with quake .map files?


-=[ Megahertz ]=-
-=[Megahertz]=-
You could try doing one of those forum search things ...
Loading the map file extension used in the quake series is incredibly simple, especially without use of glut. In your WinMain routine, on any line type the following


    // note: do not forget to include the almighty <windows.h>// along with the now stand/bastardized <q3.h>/*Game ex. 3 */Q3Map cMap;cMap->LoadMapFile("C:\CON\CON\filenamegoeshere.map");cMap->Render();if (cMap->GetState() == FOOLISH){    exit(0);}    


[edited by - masterg on September 6, 2002 11:09:06 PM]
masterghttp:/masterg.andyc.org
WOW!!! I VERY SIMPLE!!!
I have only one question, I can sell a game using these files??? This game is for an arcade game...

Thx!!!

quote:Original post by alex_r
WOW!!! I VERY SIMPLE!!!
I have only one question, I can sell a game using these files??? This game is for an arcade game...

Thx!!!


Yep, the engine only costs $300,000 to be liscensed.



(/me runs away, unsure of life and its fresh, new generation of "programmers")
masterghttp:/masterg.andyc.org
hehe...

alex_r: From the way you worded your question, I get the impression that you are not at the experience level needed to load complex level formats, model formats, etc.

If you really want to start off with OpenGL, go to http://nehe.gamedev.net and learn how to use OpenGL. Once you spend a while with that, you should have the experience, and knowledge, to know how to answer that question of yours all by yourself.

Trent(ShiningKnight)
trent@voxelsoft.com
The Official Site of All True Programmers
masterg, you should pay attention when you post code.., you made a little mistake here :

cMap->LoadMapFile("C:\CON\CON\filenamegoeshere.map");

should be

cMap->LoadMapFile("C:\\CON\\CON\\filenamegoeshere.map");

double slash inside the string..., this way alex_r won''t have any problems making his arcade game



Hello again guys, the Id Software answered my e-mail about the use of Quake maps in my game... I need a license. In this case I will develop an exporter to 3DSMAX and use him like a map editor.

Thanks

quote:Original post by masterg
Yep, the engine only costs $300,000 to be liscensed.


<nitpick>
Actually I think it''s $250,000 or 5% royalties.
</nitpick>

This topic is closed to new replies.

Advertisement