Skip to content

Client Variables

EDITz edited this page Mar 1, 2024 · 6 revisions

⚠️

  • Booleans are only accepted as 0 or 1.
  • Integers are only accepted as decimal.
  • Strings should be wrapped in double quotes.

Variables

Variable Alternative Type Default Value Notes
addnpcfrineds addnpcfriends bool
addsearchpath string
allowcustomim allowim bool 1
allowlowspec als int
allowMultipleApps multiApp bool 1 Sets CLIENT_INIT_MULTIPLE_APPS flag
allowthreading allowthreading bool 1
animgraphanimtimeepsilon agate float 0.001
animgraphdeltaepsilon agdte float 0.005
animgraphplaybacknodesmax agpgn int 100
api_key api_key string projectv-client Used in /api/authentication/applications/names/login
api_secret api_secret string projectv-client Used in /api/authentication/applications/names/login
applicationglobals appglobals int 100
asserts asserts int 1 Unused
auth string When set the Frontend State SGLogin is used
behaviourfactories befa int 0x100
blitzaudioactivesounds baas int 0x200
blitzaudiodiskstreams bads int 8 Unused
blitzaudioresources baar int 0x100 Unused
bpp b int 32
charname string When set it will override the username
collNodeNumEntriesPerPage collNodeNumEntries int 0x80
collNodeNumPages collNodeNumPages int 100
collNodePageDeleteWhenEmpty collNodePageDelete bool 1
collNodePreallocPageContents collNodePreallocPages int
dataCentreCheck dcc bool 1
dataCentreSpecific dcs string
debugcampcinput dcpc bool 1
debuginvertxaxis dcix bool
debuginvertyaxis dciy bool
debuglogpath dlpth string
debugswapsticks dcss bool
designernodefactories dnfa int 0x20
devim devim string
devimip devimip string
dfthighestfreq dfthighf int 1300
disable_ambience disamb bool
disable_music dismusic bool
dispflags df int See Client Display Flags
dispscale dps string 1.0f Has to be between 0.1 and 10.0
dispx dpx int X Position of window on windowed mode
dispy dpy int Y Position of window on windowed mode
dynamichelp help bool 1
emulatedMem1InMem2 mem1mem2 int
enableDebugConsole dConsole bool Sets CLIENT_INIT_DEBUG_CONSOLE flag
enableDebugLog dLog bool Sets CLIENT_INIT_DEBUG_LOG flag
enableDebugOutput dOut bool 1 Sets CLIENT_INIT_DEBUG_OUTPUT flag
endsceneflags esf int
entitydatafactories edfa int 0x40
envvarsfile evf string Data\envvars
envvarsfromfile revf bool
escapetoquit etq bool
farclip fclp int 50000
fixuptime ft int 85
floatexceptions fpexp bool
fmoddecodebuffersize fmoddec int 0x190
fmoddetailedsounddef fmodddef bool
fmoddoppler fmoddop bool
fmodmaxcodecs fmodcods int 32
fmodmultithreaded fmodmt bool
fmodnetworking fmodnet bool
fmodprofiling fmodprof bool
fmodstreambuffersize fmodbufs int 0x100
fontbuffersize fntbs int 0x1000
forceadventure fadv string No_Adventure
forcebiome fbio string
forceseed fseed int 0xFFFFFFFF
fps f int 60
fullscreen fs bool Default value can come from GameConfig.json Sets DISPLAY_FLAGS_FULLSCREEN flag
heapallocfill haf bool 1 Unused
heapfreefill hff bool 1 Unused
heapsize hs int 0x96000
heapsizereservedforos hsros int
hideOverlays ho bool
homeworld home string w_World
initflags if int See Client Init Flags
interfacevariables ivar int 32
language lang string Language code from Client Languages
livelinkHttpOnly lhttp bool
livelinkPort lPort int 80
loadfromdisk disk bool Sets CLIENT_LOAD_TYPE_LOAD_FROM_DISK flag
loadfromDRM drm bool Sets CLIENT_LOAD_TYPE_LOAD_FROM_DRM flag
LuaBreakpointPauseGame LuaPauseGame bool 1
LuaStartPaused LuaStartPaused bool
maintainaspect ma bool Sets DISPLAY_FLAGS_MAINTAIN_ASPECT flag
manip manip string 127.0.0.1
manport manport int 11111
matchConsoleRes mcr bool Sets DISPLAY_FLAGS_MATCH_CONSOLE_RES flag
maxglyphs mg int 0x200
maxoccludersperroom maxopr int 8
maxpackages maxp int 0x80
maxportalsperroom maxppr int 8
maxroomsperworld maxrpw int 30
maxsectorsreservedperworld maxsrpw int 200
MaxSimultaneousTasks MaxSimulTasks int 32
MaxTaskDependencies MaxTaskDep int 500
MaxTasks MaxTasks int 1000
maxthreads t int 0x20
maxvidinstances mvidinsts int 2
minfps m int 10
minmicdftfrequency mdftfreq int
mode string
modefactories mofa int 0x40
modeleditor string Any string will enable Model Editor
modestackactionqueuesize msaqs int 16
modestackdepth msd int 32
multimethodrendererfactories mmrf int 32
nearclip nclp int 20
noloadfromdisk nodisk bool Sets CLIENT_LOAD_TYPE_NO_LOAD_FROM_DISK flag
nonExclusive nex bool Sets CLIENT_INIT_EXCLUSIVE flag
notifywindow nw int
noUserQuit noquit bool
nowinborder nwb int
nowinresize nwr int
package string
parentwindow pw int
password upw string
pcframebufalpha fba bool Sets DISPLAY_FLAGS_PC_FRAME_BUF_ALPHA flag
pcpadmapping pcpm string xbox360
pooling pool bool 1
propertytasks pt int 0x200
pspclipping pspclip bool Sets DISPLAY_FLAGS_PSP_CLIPPING flag
qnanheapfill qnan bool
randomusername ranun bool
reduceHotbarSlots reduceHotbarSlots int 2
refcountedfactories rcfa int 0x100
refraster ref bool Sets DISPLAY_FLAGS_REF_RASTER flag
resourcelinks rl int 12000
resourceLoadQueueReserveSize resourceLoadQueueReserveSize int 0x40
resourceResourcesNumEntriesPerPage resourceResourcesNumEntries int 0x80
resourceResourcesNumPages resourceResourcesNumPages int 100
resourceResourcesPageEmptyStrategy resourceResourcesPageEmptyStrategy int 3
resourceResourcesPreallocPageContents resourceResourcesPreallocPages int
resourcestreammaxsharedresources rsmsr int 0x400
resourcestreamwindowalignment rswa int 0x80
resourcestreamwindowsize rsws int 0x10000
screenspaceareaglobalcull ssagc float
screenspaceareainnerradiussqr ssairs float
screenspaceareaouterradiussqr ssaors float
SectorBehaviourLists sbl int 50
sectorfactories sefa int 8
sleepSeconds sleep int
timeout to int
useAnalytics useAnalytics bool 1
useexehomedir exehome bool 1
uselivelink ll bool 1
useMaximumHeap maxHeap bool Sets CLIENT_INIT_USE_MAXIMUM_HEAP flag
usenetcomms nc bool 1
username un string
useusername useuser bool
verboselevel vl int 5
verboseresources vr bool Sets CLIENT_INIT_VERBOSE_RESOURCES flag
verts2d int Unused
verts3d int Unused
windowtitle title string
world w string
worldclass wc string blitztech::lighting::LitWorldMode
worldNodeNumEntriesPerPage nodeNumEntries int 0x80
worldNodeNumPages nodeNumPages int 100
worldNodePageDeleteWhenEmpty nodePageDelete bool 1
worldNodePreallocPageContents nodePreallocPages int
ws_host ws_host string 10.0.102.81
ws_port ws_port int 80
WwiseAudioListenersNum WwiseListeners int 4 Unused
WwiseDefaultPoolSize WwiseDefPoolSize int 0x200000
WwiseEnginePoolSize WwiseEngPoolSize int 0x200000
WwiseInputOoutputPoolSize WwiseIOPoolSize int 0x200000
WwiseMaxPoolsNumber WwiseMaxPools int 20
WwiseSoundBanksPathPC WwisePathPC string GeneratedSoundBanks\Windows
WwiseStreamPoolSize WwiseStrPoolSize int 0x200000
xres x int 1280 Default value can come from GameConfig.json
yres y int 720 Default value can come from GameConfig.json
zdepth z int 24

Clone this wiki locally