Super J Posted July 16, 2002 Share Posted July 16, 2002 can someone please tell me how to add new cvars. also, how can i execute them from my code. thanks (i'm a n00b, sorry) Link to comment Share on other sites More sharing options...
WD_Rage Posted July 18, 2002 Share Posted July 18, 2002 There are three places: Twice in g_main.c and once in g_local.h. The cvar declarations start at about line 23 in g_main.c. Their definitions start at about line 131 in g_main.c. In g_local.h, their declarations start at about 945. You can find alot more information at: http://www.planetquake.com/code3arena/articles/article9.shtml#cvars You will also need q_shared.h open at about line 1088. This will give you an idea of how you want your cvar to be stored. Anyhow, go to the link. It helped me. Link to comment Share on other sites More sharing options...
Super J Posted July 19, 2002 Author Share Posted July 19, 2002 thanks for the help. i was looking in the completly wrong files. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.