Jump to content

Home

adding new cvars


Super J

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...