Versions Compared

Key

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

Overview

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

...

Note
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.

...