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

com_hunkMegs

SoF2 CVAR Console Commands for Soldier of Fortune 2

com_hunkMegs is a Soldier of Fortune 2 console variable (CVAR) in the Performance group. Amount of memory in megabytes allocated for the engine hunk. Its default value is "56".

Default
56
Syntax
seta com_hunkMegs "128"
Example
seta com_hunkMegs "128"
Notes
Increase if you get 'Hunk_Alloc failed' errors on large maps or with many mods. Requires game restart.

How to change it

Open the console with ~ and type the command:

seta com_hunkMegs "128"

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.