Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


In this tutorial you will learn how to modify existing and create new CVars (Console Variables).


This tutorial is targeted at programmers, most of the contents deals with code.

Creating New CVars

In your code IDE, open up the Code\GameSDK\GameDll\GameCVars.h file, this file declares all the game-specific CVars.


After you finish making code changes, make sure to compile your changes!

Using the CVar

You can now write some code that uses the value of the CVar.