Disclaimer: I have neither compiled nor played with ioquake3/quakeIII yet, my recommended solution is based on my experience with working on another game that is based on ioquake3 (i.e. Tremulous). I have an idea on what the issue might be based on @MrSenatorial 's & @kloffy 's comments, and from browsing the ioquake3 code a bit.
If I’m wrong about anything related specifically to ioquake3, someone who is more experienced with it should feel free to correct me.
If you are working on just modding the game logic, and this is meant for compatibility with Quake III Arena, try the following:
-
Take note of the values of you have set for the cvars
fs_basepath
,fs_homepath
, andfs_game
. You can find their current values by entering those cvar names in the console while you have the game running without any arguments. Note that if any of those paths have for a value.
that means the path is set to the current path your client binary (or if you are running the dedicated server binary, the current path of that file) is located. -
You would want to keep all your default Quake III pk3 files inside the directory
baseq3
which should be inside your basepath directory (indicated by fs_basepath), and not located in any other folder. -
Make up an
fs_game
name. As I understand it, it can be alphanumeric and it can contain-
or_
. This is would be the name of your “mod directory”. Inside the location of your homepath (found from fs_homepath), create a new folder that has the name you chose for thefs_game
. You would place all your modded files inside this directory. -
Load your
fs_game
, one way this can be done is by setting its value at startup. As an example (based on a post above by kloffy), if you picked thefs_game
nameawesome-name
, and you are using windows, it would be:
ioquake3.x86_64.exe +set fs_game "awesome-name"
The above steps should still load all your default assets, and any modded files you might include (like modded QVMs) would override the corresponding default files.
Side note: makefiles can be tricky at times when you rebuild, and if it seems that code is not being updated, another possible source of the issue might be with previous build artifacts, in which case you would want to execute: make clean
(that would rebuild everything from scratch when you run make
next time).