PDA

View Full Version : Adding a new command


Super J
06-27-2002, 02:47 AM
i want to add new commands to the game. i've found the g_cmds.c file where the code for the command goes. once i add it in there what other files do i need to change. i noticed that g_cmds.c included g_local.h. are there any other files i need to modify? thanks for any help :)

Subject452
06-27-2002, 04:10 PM
g_cmds is just for server side commands, just take a command already in JK2 like "screenshot" and look where the changes were made.