A collection of user-definable parameters that enable the modification of select aspects of a game. Questions about what settings to include, and/or how to implement them.

learn more… | top users | synonyms

2
votes
3answers
252 views

“CVar system” - are CVar always looked up or cached?

Many famous game such as Quake or Half-Life use CVars to allow easy and flexible game parameter manipulations. You can simply open up the console and write something like sv_cheats 1 to enable ...
1
vote
1answer
150 views

How can I have human-readable key names in a configuration file?

Given a file mapping keys to controls, such as this: up w down s left a right d jump space run shift crouch ctrl The values need to be converted into game commands, ...