Quake2 Engine Sourcecode
by MK · in Technical Issues · 04/11/2002 (2:06 pm) · 21 replies
Has anybody here tried to fiddle around with the Quake2 engine source code? I had a couple of questions.
#2
What I wanted to do was change the code to C++ with classes and objects and all and try to run the game and see if it still works. Problem is I haven't yet compiled it successfully as C++ let alone making the classes and all. It compiles fine as C though.
I've done a lot of casting, renamed some variables that are used as reserved keywords in C++, but right now I'm getting linking errors. Something to do with '#if !id386' preprocessor statements. I'll have to figure out why it is fine in the unmodified C code, but causes so many problems in C++ mode. Unless someone else could shed some light...
04/11/2002 (6:09 pm)
I know! I've already ordered the torque engine as I've recently joined a projected involving it, but I just wanna do something with the quake2 engine just for the sake of it. Mainly just wanna check out carmacks work.What I wanted to do was change the code to C++ with classes and objects and all and try to run the game and see if it still works. Problem is I haven't yet compiled it successfully as C++ let alone making the classes and all. It compiles fine as C though.
I've done a lot of casting, renamed some variables that are used as reserved keywords in C++, but right now I'm getting linking errors. Something to do with '#if !id386' preprocessor statements. I'll have to figure out why it is fine in the unmodified C code, but causes so many problems in C++ mode. Unless someone else could shed some light...
#3
04/11/2002 (6:57 pm)
It believe I saw a Quake3 sourcecode file via planetquake, today.
#4
04/11/2002 (7:09 pm)
Yeah, and I saw a $1,000,000 check addressed to me on the sidewalk yesterday...
#5
04/11/2002 (7:18 pm)
@eric, what you saw is the source code for the dll's, ie the game content, not the engine source code
#6
Matt. So, what are you going to do with all your newfound money? Smart ***
http://planetquake.com/quake3/files.shtml (toward the bottom) It takes you to the direct link of:
http://www.fileplanet.com/index.asp?file=53726
File Information: Q3A_TA_GameSource_129h.exe
Title: Quake 3 Arena and Team Arena Game Source
Author: id Software
Description: This is the combined source code for Quake III Arena and Quake III: Team Arena. It can be used to build the 1.29h point release or the Team Arena release. It contains buildable project files and all related game source code as well as prebuilt tool executables.
Size: 2.2 MB (2340636 bytes)
Date: 8/2/01 9:44:19 AM
Downloads: 25260
Download Now
I'm not interested in working with this software just because Q3 is pretty far behind at this point. I DID see a total conversion that had some pretty nice screenies. Just happened to see the post above and thought I'd be helpful. =)
Edit: On a side note, if you look further down the http://planetquake.com/quake3/files.shtml addy, you'll find source code to all the Q3 tools! Like QRad. Perhaps to gleen a little insight on how .map files are created? *evil laugh* heheh
04/11/2002 (7:30 pm)
Xavier... I don't think so. See below. =)Matt. So, what are you going to do with all your newfound money? Smart ***
http://planetquake.com/quake3/files.shtml (toward the bottom) It takes you to the direct link of:
http://www.fileplanet.com/index.asp?file=53726
File Information: Q3A_TA_GameSource_129h.exe
Title: Quake 3 Arena and Team Arena Game Source
Author: id Software
Description: This is the combined source code for Quake III Arena and Quake III: Team Arena. It can be used to build the 1.29h point release or the Team Arena release. It contains buildable project files and all related game source code as well as prebuilt tool executables.
Size: 2.2 MB (2340636 bytes)
Date: 8/2/01 9:44:19 AM
Downloads: 25260
Download Now
I'm not interested in working with this software just because Q3 is pretty far behind at this point. I DID see a total conversion that had some pretty nice screenies. Just happened to see the post above and thought I'd be helpful. =)
Edit: On a side note, if you look further down the http://planetquake.com/quake3/files.shtml addy, you'll find source code to all the Q3 tools! Like QRad. Perhaps to gleen a little insight on how .map files are created? *evil laugh* heheh
#7
04/11/2002 (7:43 pm)
Eric like he said before thats the source code to the game dll's. That is not the source code to the engine itself.
#8
04/11/2002 (7:46 pm)
Ahh ok. From the info, it sounded like it was. Just what can be changed via the .dlls?
#9
Click Here
then hit the q2 pic
some one already converted the c code for q2 to c++ already . checkout the q2 modmaking forums on planetquake
04/11/2002 (8:11 pm)
i have a reminder of how to compile q2 on my siteClick Here
then hit the q2 pic
some one already converted the c code for q2 to c++ already . checkout the q2 modmaking forums on planetquake
#10
> because Q3 is pretty far behind at this point.
Um, ok. This is why there are plenty of games out there using the Q3 engine that have yet to hit gold? No, its no further behind or ahead really than any other engine out currently on the market - generally they each have their own pluses and minuses.
04/11/2002 (9:27 pm)
> I'm not interested in working with this software just > because Q3 is pretty far behind at this point.
Um, ok. This is why there are plenty of games out there using the Q3 engine that have yet to hit gold? No, its no further behind or ahead really than any other engine out currently on the market - generally they each have their own pluses and minuses.
#11
When I play Q3, I think it pales in comparison to both UT and T2. To be honest, I had only bought it when I'd heard that gmax could work with Q3--and was hopeful that I could use it for T2 or Torque work. What the Q3 engine has morphed into at this point I don't know. All I know is I spent $30 for a tool I can't legally use and a set of games I'm not even interested in playing because the graphics aren't up to snuff any longer.
The engine is around 3 years old, right? Voodoo still ruled the earth? At the very least GeForce had come out? That alone tells me to stay away from it. Video cards have changed immensely, since.
04/11/2002 (9:53 pm)
Yaknow, I only wanted to help the guy--not get into a dissertation of why QuakeIII is/isn't the best engine on the planet.When I play Q3, I think it pales in comparison to both UT and T2. To be honest, I had only bought it when I'd heard that gmax could work with Q3--and was hopeful that I could use it for T2 or Torque work. What the Q3 engine has morphed into at this point I don't know. All I know is I spent $30 for a tool I can't legally use and a set of games I'm not even interested in playing because the graphics aren't up to snuff any longer.
The engine is around 3 years old, right? Voodoo still ruled the earth? At the very least GeForce had come out? That alone tells me to stay away from it. Video cards have changed immensely, since.
#12
Graphics smaphics!!! Q2 was a much better game then q3 and still is,imo, ya bump up the game speed in q2 a bit and set damage to instgib then your talking fun, They really killed q3 when they tried to pass off "playing against bots" as being the single player.
04/11/2002 (11:51 pm)
i had a monster fusion when q3 came out (it was some new technoligy at the time v1,v2,minniGL, combinded,) and it wouldnt work for q3 i have to get ahold of a edit minigl driver for it to work and then still it sucked enough for me to go buy a tnt2.Graphics smaphics!!! Q2 was a much better game then q3 and still is,imo, ya bump up the game speed in q2 a bit and set damage to instgib then your talking fun, They really killed q3 when they tried to pass off "playing against bots" as being the single player.
#13
04/12/2002 (1:17 am)
The Q3 engine fee is 300.000$ dude.
#14
04/12/2002 (4:58 am)
Is that $300 or $300,000?
#15
04/12/2002 (5:32 am)
heh, your kidding right? 3hundred looks like 300.00 not 300.000 the period is a typo it will cost you 300,000 for the q3 lic.
#16
Just as the extra zero could be a typo. ;-)
I'm sure it's a fine engine. Just not for me. And, just because it's expensive doesn't guarantee quality! :-)
04/12/2002 (5:47 am)
Heheh...Just as the extra zero could be a typo. ;-)
I'm sure it's a fine engine. Just not for me. And, just because it's expensive doesn't guarantee quality! :-)
#17
The q3 engine, imo cant even compare to the torque engine and is limited for what i wanted to do.
04/12/2002 (6:04 am)
well i would buy if i could get it for 100bucks, just to have it , but it would still be on a back burner cuz torque consumes all my spare time. Ive modded roughly 15 versions of the pwrweapons/pwrguns for the q3 engine in q3 and stvoy.The q3 engine, imo cant even compare to the torque engine and is limited for what i wanted to do.
#18
That's really about it. Stopped messing with it after I did that.
04/12/2002 (6:07 am)
I built the q2 exe.That's really about it. Stopped messing with it after I did that.
#19
I built the q2 engine and added the swinging grappling hook and learn to do cavrs to power up the weapons, then left it at that (on the back burner also) :)
04/12/2002 (6:15 am)
BTW i changed my name to the pq community name just to see if i could:).I built the q2 engine and added the swinging grappling hook and learn to do cavrs to power up the weapons, then left it at that (on the back burner also) :)
#20
04/12/2002 (7:02 am)
300.000 is the European format for thousands.
Torque Owner Matt W
No.
No.
Very ugly.
No.
No.
GPL.
Yes, use Torque instead. It's worth every one of the 10,000 pennies.