Turn on the console by adding the following to your steam parameters or to the end of
the game shortcut for the retail release:
+set com_allowconsole 1
Then you can access the console from within the game by pressing the tilde (~) key.
From the console, the following commands can then be used in the console to activate
cheats. These commands usually set to 1 or 0 to enable/disable the effects. To reverse
the effect add the opposite amount to the variable.
cvarAdd g_permaGodMode 1 Enable God Mode
cvarAdd g_infiniteAmmo 1 Enable Infinite Ammo
cvarAdd g_vendorSalePriceScale -1 All Items Cost $1
cvarAdd g_EnableGore -1 Disable Gore
cvarAdd vehicle_god 1 Vehicles Take No Damage
cvarAdd vehicle_infiniteboost 1 Infinite Vehicle Boost