In the directory with the installed game there is a folder “TBB”, and in it the file
Hard to Be a God: Cheat Codes [PC] Free Download
“HardToBeGod.ini” (by default C: \ TBG \ TBB \ HardToBeGod.ini)
Open this file with notepad and find the line “g_console 0”
replace it with “g_console 1”.
During the game, press the [~] (tilde) key, after which we enter the following cheat codes:
god 1 – invulnerability on.
god 0 – invulnerability off.
r_shadow_volume 1 – on stencil shadows (makes graphics much prettier)
r_shadow_volume 0 – off stencil shadows
r_fog 0 – turns off fog
r_grass_show 0 – disable rendering of grass
(performance is greatly improved)
g_collision 1 – walking through walls
g_skip_video 1 – skips the opening videos when the game starts
The above are the most useful console commands,
however, there are many more. To see them all, press [Tab] in the console window.
Also keep in mind that almost all commands can be written in the local.ini file..
Then they will be executed automatically.