Live 64 humans online 13 active servers Peak online today 70 Record 102

ui_gametype

SoF2 CVAR Console Commands for Soldier of Fortune 2

ui_gametype is a Soldier of Fortune 2 console variable (CVAR) in the UI group. Gametype selected in the create server UI. Its default value is "0".

Default
0
Syntax
seta ui_gametype "3"
Example
seta ui_gametype "1"
Notes
Common values: 0 = Deathmatch, 1 = Team DM, 3 = Capture the Flag. Exact values depend on installed gametypes.

How to change it

Open the console with ~ and type the command:

seta ui_gametype "1"

To keep the setting, put the same line (starting with seta) in your config file, such as sof2mp.cfg in the game's base folder.