Compiling, but code changes not applying
Posted: Sat Oct 04, 2014 10:52 am
Hello,
On linux, im using ioquake3 souce code with quake3 arena pak files in baseq3.
So in cg_main.c: { &cg_zoomFov, "cg_zoomfov", "22.5", CVAR_CHEAT } and changed 22.5 to 30, I compiled in game the default value is still 22.5.
Also I added { &gen_drawWeapon, "gen_drawWeapon", "2", CVAR_ARCHIVE} and in cg_local.h I added extern vmCvar_t gen_drawWeapon;
In-game cmd /gen_drawWeapon not recognized.
To compile, in the main dir where makefile is, I use terminal command "make" and I run ioquake3.x86_64, from <maindir>/build/release-linux-x86_64.
Are my changes getting replaced by code in the quake3 pak3 files? Or am I not compiling correctly (I didnt do any changes to makefile)?
Thank you reading
On linux, im using ioquake3 souce code with quake3 arena pak files in baseq3.
So in cg_main.c: { &cg_zoomFov, "cg_zoomfov", "22.5", CVAR_CHEAT } and changed 22.5 to 30, I compiled in game the default value is still 22.5.
Also I added { &gen_drawWeapon, "gen_drawWeapon", "2", CVAR_ARCHIVE} and in cg_local.h I added extern vmCvar_t gen_drawWeapon;
In-game cmd /gen_drawWeapon not recognized.
To compile, in the main dir where makefile is, I use terminal command "make" and I run ioquake3.x86_64, from <maindir>/build/release-linux-x86_64.
Are my changes getting replaced by code in the quake3 pak3 files? Or am I not compiling correctly (I didnt do any changes to makefile)?
Thank you reading