Compiling a Simple Nexuiz Mod- Game Won't Start

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Compiling a Simple Nexuiz Mod- Game Won't Start

Postby bengreenwood » Mon Aug 03, 2009 10:08 pm

Hi,

I'm interested in learning how to make a mod for Nexuiz in QuakeC. I saw this tutorial here which makes it sound pretty simple:

http://www.moddb.com/games/nexuiz/tutor ... uiz-part-1

That's clearly an outdated tutorial but from reading it I basically figured out some idea of how you're supposed to compile a mod for Nexuiz- I think. So I thought I'd give it a go.

I couldn't find the game dir they refer to in my Nexuiz dir, but I found a folder called qcsrc. I copied everything from that to mymod. Then, using the fteqcc that came with Nexuiz, I opened progs.src in the server folder in mymod. That loaded up loads of stuff in fteqcc, so I clicked compile. It seemed to compile properly because there were no warnings.

Then I loaded up nexuiz.exe -game mymod. When I tried to create a new multiplayer game, it wouldn't start. There was also an error message: something along the lines of "please update defaultconfig to match the quakec code".

So does anyone know what's going wrong here? It'd be great to find out because it actually seems pretty simple to edit this stuff (I've programmed C++ for a year or two so have an idea of how the code works).

Thanks.
bengreenwood
Advanced member
 
Posts: 67
Joined: Sat Sep 29, 2007 4:47 am

Re: Compiling a Simple Nexuiz Mod- Game Won't Start

Postby FruitieX » Mon Aug 03, 2009 10:26 pm

bengreenwood wrote:Hi,
Then I loaded up nexuiz.exe -game mymod. When I tried to create a new multiplayer game, it wouldn't start. There was also an error message: something along the lines of "please update defaultconfig to match the quakec code".


To work around this, use the following cvars before starting a game:

cvar_check_default bypass
cvar_check_weapons bypass
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby Mr. Bougo » Tue Aug 04, 2009 8:16 am

Yeah, for some reason, the source files that ship with nexuiz 2.5.1 are not synced to the config file D:

The actual source snapshot is available on svn, though, but I have no idea what revision number it was :p
Meh.
Mr. Bougo
Keyboard killer
 
Posts: 760
Joined: Mon Sep 10, 2007 3:29 pm

Re: Compiling a Simple Nexuiz Mod- Game Won't Start

Postby RoKenn » Tue Aug 04, 2009 8:37 pm

bengreenwood wrote:That's clearly an outdated tutorial


Go there for more recent programming intros:

http://ouns.nexuizninjaz.com/

On the left side you will see "QuakeC Guide", "Nexuiz Programming Introduction" and other stuff.
[Tue Aug 5 2008] [00:15:01] <Ronan`> RoKenn, you're an evil person :P
Image
RoKenn
Alien
 
Posts: 141
Joined: Wed Apr 25, 2007 10:25 pm


Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron