ui_glCustom is a Soldier of Fortune 2 console variable (CVAR) in the UI group. Graphics quality preset selected in the UI advanced settings. Its default value is "4".
- Default
4- Syntax
seta ui_glCustom "4"- Example
seta ui_glCustom "4"- Notes
- 4 typically indicates a custom configuration. Lower values apply preset quality levels.
How to change it
Open the console with ~ and type the command:
seta ui_glCustom "4"
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.

