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

vm_ui

SoF2 CVAR Console Commands for Soldier of Fortune 2

vm_ui is a Soldier of Fortune 2 console variable (CVAR) in the Performance group. Execution mode for the UI virtual machine. 0 = native DLL, 1 = interpreted bytecode, 2 = compiled (JIT). Its default value is "2". The recommended value is "2".

Default
2
Recommended
2
Syntax
seta vm_ui "2"
Example
seta vm_ui "2"
Notes
0 (VMI_NATIVE) loads a native DLL and is fastest. 1 (VMI_BYTECODE) runs interpreted Q3VM bytecode and is slowest. 2 (VMI_COMPILED) JIT-compiles bytecode and is the recommended default.

How to change it

Open the console with ~ and type the command:

seta vm_ui "2"

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.