Hello,
I have a problem. I would like to take a screenshot of my map, but sv_cheats 1 doesn't work (nothing happens) ???
An idea ? What can I do ?
PS: sorry, it's ok (I went into mod spectator and I've hidden the HUD with the console).
Were you doing it on a local server or dedicated server? Because if you did it on a dedicated server you might not have access to the command. If you load the map from your console ('map yourmapname') that creates a local server. Typing
sv_cheats 1 won't do anything immediately until you try to use a command that is limited by sv_cheats, such as the '
noclip' command.
One way to have sv_cheats set automatically is to create a listenserver.cfg. Create a new text document in Notepad or Notepad++, put the cvars that you want to have set on startup (one per line) and save it as listenserver.cfg. Make sure it's a .cfg file not a .txt. Then just put the file in your '
common\Team Fortress 2\tf\cfg' folder. Then each and every time you load a map it will set those cvars.
This is what I have in my listenserver.cfg. You don't have to use all these commands, this is really just an example that I happen to use:
Code:
sv_cheats "1"
net_graph "1"
tf_allow_player_use "1"
mp_waitingforplayers_cancel "1"
mp_autoteambalance "0"
mp_teams_unbalance_limit "0"
mp_timelimit "0"
mp_winlimit "0"
mp_respawnwavetime "0"
mp_showrespawntimes "1"
mp_disable_respawn_times "1"