Rune Central

The Official Rune Quake Message Board
It is currently Fri Dec 15, 2017 7:28 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Compiling RuneQuake
PostPosted: Sat Sep 26, 2015 8:29 am 
Offline
User avatar

Joined: Fri Sep 11, 2015 9:18 am
Posts: 32
I'm trying to compile the RuneQuake source for normal netplay. I put the Frikqcc compilier into the src folder and when I run it I get the following errors:

I get errors in the defs.qc with: "IN_QW" is not a type AND also "IN_POQ" is not a type.

How do I resolve that?


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiling RuneQuake
PostPosted: Sat Sep 26, 2015 2:03 pm 
Offline
Site Admin
User avatar

Joined: Fri Mar 07, 2003 7:41 pm
Posts: 1205
Location: New Jersey, USA
The src directory builds the poq and qw directories. You'll need a linux environment to compile that folder. Instead, drop the compiler in either poq (netquake) or qw (quakeworld), depending on your desired flavor. Keep in mind you can only use qccx and frikc 2.5. Both are available here: ftp://ftp.runequake.com/quake/quakec/compilers/

If you're downloading the source from github, it will only contain the src folder. As I mentioned previously, I can provide you with a compiled zip that contains all the poq and qw built already.

_________________
Slot Zero
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiling RuneQuake
PostPosted: Sat Sep 26, 2015 2:59 pm 
Offline
User avatar

Joined: Fri Sep 11, 2015 9:18 am
Posts: 32
Ahh. So if I'm only planning on doing netquake then do all my qc edits in the poq folder and just compile that? Can I even delete the other folders without issue?

Cheers,


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiling RuneQuake
PostPosted: Sat Sep 26, 2015 3:25 pm 
Offline
Site Admin
User avatar

Joined: Fri Mar 07, 2003 7:41 pm
Posts: 1205
Location: New Jersey, USA
Mezmorki wrote:
Ahh. So if I'm only planning on doing netquake then do all my qc edits in the poq folder and just compile that? Can I even delete the other folders without issue?

Yes.

_________________
Slot Zero
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiling RuneQuake
PostPosted: Sat Sep 26, 2015 5:03 pm 
Offline
Site Admin
User avatar

Joined: Fri Mar 07, 2003 7:41 pm
Posts: 1205
Location: New Jersey, USA
If you modified a file in the src folder and want to preserve it, check to see if there is a "IN_POQ" or "IN_QW". If not, you can overwrite the file into your POQ directory (from src). You could also remove any code surrounded by "IN_QW" (along with itself) and remove only the "IN_POQ" brackets. Although as I type this it sounds more confusing, so just ignore it if this sounds too complicated. :D

Let me provide an example. Assuming you modified the src directory. Take the file settings.qc as an example. There are only two lines of code to modify (lines 89, 549):
Code:
string FORWARD_DEST      = IN_POQ("quake.runequake.com", "qw.runequake.com");
float SUCK_FORCE      = IN_QW(0.35, 0.25);


You could make this change,

Code:
string FORWARD_DEST      = "quake.runequake.com";
float SUCK_FORCE      = 0.25;


Save the file, then drop it into your poq directory and compile and that will work. If you haven't made that many changes, then it's probably just easier to modify the file in the poq folder, but in the event you made a bunch of changes and don't feel like going through each one, follow this method.

_________________
Slot Zero
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiling RuneQuake
PostPosted: Sat Sep 26, 2015 5:31 pm 
Offline
User avatar

Joined: Fri Sep 11, 2015 9:18 am
Posts: 32
Good to know. I think I've only modified settings.qc so far.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group