I tried following the instructions at
http://wiki.ioquake3.org/Hello,_Qworld for my first mod (modifies code/game/g_missile.c). In the process I noticed that some subdirectories like code/game, code/cgame are not even being built. I am building on Ubuntu.
Next, I tried building as "make BUILD_GAME_SO=1 BUILD_BASEGAME=1". This built code/game and created some .so's, but the changes to g_missile.c logic were not picked up in the game.
I also tried building with "BUILD_GAME_QVM=1 BUILD_BASEGAME=1", but this produced multiple definition error messages.
"baseoa/qcommon/q_math.asm:7355 Multiple definitions for vresWidth"
I have the following questions.
1. I have placed the .pk3 files from
http://www.openarena.ws/download.php in the baseoa/ build directory. This allows the game to launch successfully. Do these .pk3 files already contain the logic for game, cgame, ui, etc? Is this why the new .so files are not loaded?
2. What is the recommended procedure for the cgamex86_64.so, qagamex86_64.so and uix86_64.so files to be picked up by the launched game? Do these have to packaged as .qvm's or replace one of the pk3 files? Mainly I need the changes I make to the code/game/ logic to show up in the gameplay.