WildStar:CVars: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
m (Bear moved page WildStar/CVars to //CVars)
m (Bear moved page //CVars to CVars without leaving a redirect)
(No difference)

Revision as of 03:25, 9 August 2023

Template:CVars/cvar In WildStar configuration options can be accessed through 'console variables' or 'CVars', sometimes referred to as 'config variables'. These variables affect many aspects of the game, including the graphics engine, sound system, and user interface. CVars in WildStar are object oriented or 'scoped', similar to setting a values in a Lua or JS table. Historically, the term [[../CVar/]] was meant to differentiate the console variables from the commands. Console variable names are not case sensitive.

Accessing configuration variables
  • .ini files - like [[../user.ini/]] in the user 'WildStar' folder, used for game settings: 'draw.shadows=false'.
  • /eval command - chat slash command to run Lua that will set a config value: '/eval Apollo.SetConsoleVariable("draw.shadows", false)'.
  • UI Esc menu - WildStar's in-game configuration interface. Hit Esc to get to it.
  • In AddOns - using Lua functions from an AddOn directly, similar to using '/eval'.
Syntax for setting variables
variableName=string
variableName=0
variableName=0.0
variableName=true
Warning: changing CVars directly can cause issues. In some cases you may have to quit the game, and manually remove from the .ini file. These changes are generally the same as using the 'Esc menu' UI, and will be saved.

Reference

This is a categorized list of config variables, along with a short explanation for each CVar. The list is not necessarily complete; for a complete list, see [[../Config variables/Complete list/]] or Category:WildStar CVars/Removed.

Note: currently if 'Default is xxx' ends with a period '.', then is real default as if value not set. Otherwise is just value when documented or an example. If default is confirmed, please replace the value and add the period at the end.

Startup

These are general variables that are relevant during start-up. Variables will not be saved to .ini files until the game is being closed completely.

User.ini

These are [[../OS/]] login relative settings.

Template:CVars/id [number] (8-32) - Video "Max Camera Distance". Default is 32.
Template:CVars/id [boolean] - Video "Auto-Center Camera". Default is true.
Template:CVars/id [boolean] - Video "Camera Shake". Default is true.
Template:CVars/id [boolean] - enable world shadows. Video "Camera Shake". Default is true.
Template:CVars/id [boolean] - Default is false.
Template:CVars/id [number] - Default is 3.
Template:CVars/id [boolean] - Default is true.
Template:CVars/id [number] - Default is 1.
Template:CVars/id [number] - Default is 1.
Template:CVars/id [number] - Default is 32.
Template:CVars/id [number] - Default is 1.
Template:CVars/id [number] - Default is 1536.
Template:CVars/id [number] - Default is 1.
Template:CVars/id [number] - world render resolution. smaller is more performant. Default is 1.
Template:CVars/id [number] - Default is 1024.
Template:CVars/id [number] - Default is 1.
Template:CVars/id [number] - Default is 2.
Template:CVars/id [number] - Default is 1.
Template:CVars/id [number] - Default is 640.
Template:CVars/id [number] - set of realm servers used for connecting client. Default is 9.
Template:CVars/id [string] - user account name. Default is . Example is: account@email.com.
Template:CVars/id [boolean] - save last user account name. Default is false.
Template:CVars/id [boolean] - full screen non-windowed mode. Default is false
Template:CVars/id [string] - screen resolution for exclusive mode. Example is: 1280,720,60.
Template:CVars/id [boolean] - full screen borderless game window for windowed mode. Default is false
Template:CVars/id [boolean] - sync game frame rate with display. Default is false
Template:CVars/id [boolean] - restore 'state' of game window for windowed mode. Default is false
Template:CVars/id [string] - restore position of game window for windowed mode. Example is: 6,2.
Template:CVars/id [string] - restore size of game window for windowed mode. Example is: 1035,762.
Template:CVars/id [number] - Default is 296
Template:CVars/id [boolean] - Default is true
Template:CVars/id [number] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [number] - Default is 1.
Template:CVars/id [number] - Default is 78
Template:CVars/id [number] - Default is 79
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is true
Template:CVars/id [number] - Default is 73
Template:CVars/id [number] - Default is 79
Template:CVars/id [number] - Default is 77
Template:CVars/id [number] - Default is 79
Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [number] - Default is 82
Template:CVars/id [number] - Default is 79
Template:CVars/id [boolean] - Default is true
Template:CVars/id [bitflag] - Default is 4294967294
Template:CVars/id [number] - Default is 0.7
Template:CVars/id [number] - Default is 12

Account.ini

These are OS login and NCSOFT account relative settings.

Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [string] - Default is Dorian
Template:CVars/id [boolean] - Default is false
Template:CVars/id [number] - Default is 60
Template:CVars/id [number] - Default is 58
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [number] - Default is 66
Template:CVars/id [number] - Default is 58
Template:CVars/id [number] - Default is 63
Template:CVars/id [number] - Default is 58
Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is true
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [boolean] - Default is false
Template:CVars/id [number] - Default is 65
Template:CVars/id [number] - Default is 58
Template:CVars/id [number] - Default is 1

Realm.ini

These are OS login, NCSOFT account, and realm relative settings.

Template:CVars/id [string] - Default is Charname

Character.ini

These are OS login, NCSOFT account, realm, and character relative settings.

Template:CVars/id [number] - Default is 1
Template:CVars/id [number] - Default is 1
Template:CVars/id [number] - Default is 1
Template:CVars/id [number] - Default is 1
Template:CVars/id [number] - Default is 6

Tools.ini

These are OS login relative tool settings. They do not follow conventions of actual game CVars, are specific to the game tools only, and are not accessible form the game proper.

[Houston]

Under .ini section header 'Houston', used by the [[../Houston/]] tool.

Template:CVars/id [rgb] - Default is 12632288
Template:CVars/id [rgb] - Default is 13619151
Template:CVars/id [number] - Default is 0
Template:CVars/id [number] - Default is 32768
Template:CVars/id [number] - Default is 1
Template:CVars/id [number] - Default is 1
Template:CVars/id [number] - Default is 1
Template:CVars/id [rgb] - Default is 16711680
Template:CVars/id [number] - Default is 0
Template:CVars/id [rgb] - Default is 16777215
Template:CVars/id [number] - Default is 0
Template:CVars/id [number] - Default is 0
Template:CVars/id [number] - Default is 0
Template:CVars/id [number] - Default is 0
Template:CVars/id [rgb] - Default is 16711807
Template:CVars/id [number] - Default is 0
Template:CVars/id [number] - Default is 1
Template:CVars/id [number] - Default is 128
Template:CVars/id [number] - Default is 0