mod help / modding tutorials

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

mod help / modding tutorials

Postby The mysterious Mr. 4m » Mon Aug 21, 2006 12:07 pm

What is the latest / best tool for creating mods? How should i make the architecture? (file/folder paths) Which files should be modified for bindings / weapon behavior / player movement / skins? How to make the mod available from the mod menu?

And how about a modding tutorial thread?
4m [PB] (amoebios)

This is Your world.
The mysterious Mr. 4m
Forum addon
 
Posts: 1402
Joined: Wed Mar 01, 2006 6:03 pm
Location: germany

Re: mod help / modding tutorials

Postby esteel » Mon Aug 21, 2006 12:57 pm

4m wrote:What is the latest / best tool for creating mods?

A editor/ide of you choice and fteqcc from http://fteqw.com to compile the gamelogic.
I use this in my ~/.emacs to make emacs highlight the .qh and .qc files in C-mode:
(add-to-list 'auto-mode-alist '("\\.q[ch]\\'" . c-mode))
4m wrote:How should i make the architecture? (file/folder paths)

IF you want to keep in sync with Nexuiz development its best to use the Nexuiz code from svn and keep your changes as seperated as possible. This means more or less: Just keep the current architecture. The quake-way is not the best in this regard as you will have to keep merging the Nexuiz changes into your code (to keep in sync).
4m wrote:Which files should be modified for bindings / weapon behavior / player movement / skins?

In general everything under data/qcsrc.
Bindings are handled in data/default.cfg (and data/menu + data/qcsrc/menu to display them).
Weapon behavior is in data/qcsrc/server/w_*.qc and data/qcsrc/server/cl_weapon*.qc
Playermovement and skins are handled in data/qcsrc/server/cl_client.qc
4m wrote:How to make the mod available from the mod menu?

Change data/qcsrc/server/progs.src first line from progs.dat to a filename your mod wants to use and copy a file data/nexuiz.modinfo to <MODNAME>.modinfo and adapt it accordingly.
Though i like it more to create a new directory beside Nexuiz/data ala Nexuiz/<MODNAME> as its much less of a hassle to make sure you do not break anything. Your mod will however not be in the list but you have to start Nexuiz with the parameter -game <MODNAME> instead. But DO NOT change the name progs.dat then!!
4m wrote:And how about a modding tutorial thread?

Hmm Mauvebib wrote a bit and right now i do not have enough time nor do i feel qualified enough for such a thing :)
Last edited by esteel on Thu Aug 24, 2006 8:45 am, edited 1 time in total.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby The mysterious Mr. 4m » Thu Aug 24, 2006 1:01 am

Danke! :) I knew youd be one of the first to reply! :mrgreen:

You people are great! *thumbs up*
4m [PB] (amoebios)

This is Your world.
The mysterious Mr. 4m
Forum addon
 
Posts: 1402
Joined: Wed Mar 01, 2006 6:03 pm
Location: germany

Postby esteel » Thu Aug 24, 2006 8:30 am

Bitte. If you have a question #nexuiz on quakenet and #alientrap, #darkplaces on anynet are good places to ask persons. And of course there are lots of tutorials on the net, just ask google. Google knows everything :)

Made some small edits to the previous post..
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am


Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron