p_gravity_z command

p_gravity_z number
Command effect
This command changes the in-game gravity.
Default parameter
13
Example
p_gravity_z 10

How to enter a cheat code

Cheat codes are entered in the console. Open the console by pressing the § / ~ / ` key, which is usually located in the upper-left corner of the keyboard. Enter the cheat code and press the Enter key.

This cheat is only available after you add -devmode to the "SET LAUNCH OPTIONS..." section in the Steam properties of the game.