SubL Posted July 1, 2002 Share Posted July 1, 2002 From the readme (JKII source code) quote: -------------------------------------------------------------------------------- 1. Open up the jk2mp-SDK.dsw in Microsoft Visual C++. 2. Set the "game" project as the active project. 3. Open the "g_local.h" file and change the GAMEVERSION define from "basejk" to "TestMod" 4. Save "g_local.h" 5. Open the "g_weapon.c" file. 6. Go to line 85 and change the 900 to 300. The old line reads: #define ROCKET_VELOCITY 900 The new line should read #define ROCKET_VELOCITY 300 7. Save "g_weapon.c" 8. Perform a Build All command and it should build a DLL for the game. At this point you have two options. You can run the debugger, choosing 'jk2MP.exe' as the executable host which will load your DLL for debugging -------------------------------------------------------------------------------- If I do this I get an error : jkiimp.exe does not contain debugging information. The small JKII starting window with all the data pops up, :couldn't load mpdefault.cfg. In the beginning it talks about quote: -------------------------------------------------------------------------------- 2. Set the "game" project as the active project. -------------------------------------------------------------------------------- Under project - set new project I chose jk2game (other choices are jkiicgame and ui). Should I create a new project with 'game'? If so, I'm not sure with files to choose there (there are a ton, also you seem to be able only to add new stuff to existing files). This may or may not cause the error. Any ideas? Also, how do you open a new DOS window? Link to comment Share on other sites More sharing options...
skew Posted July 1, 2002 Share Posted July 1, 2002 If you dont specify a working directory, jk2 will start using your current vc++ projects path as its working directory... and begin looking for jk2 files in that directory. Select the project in the left hand side of your screen, right click on its name and go to properties. Then go to the debugging properties. Set the working directory in there to your gamedata directory. Link to comment Share on other sites More sharing options...
bacon Posted July 1, 2002 Share Posted July 1, 2002 Just load the dsp. And you should do what some other people do: compile in vc++ only to check for errors then compile with the batch file to create the vm's. Link to comment Share on other sites More sharing options...
SubL Posted July 1, 2002 Author Share Posted July 1, 2002 When I just run game.bat I get an error: Error opening g_main.asm: No such file or directory I don't understand. How do I open such a DOS file? What is dsp? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.