Option set (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Thirty7 (historical)
mNo edit summary
mNo edit summary
Line 3: Line 3:
|command=option_set
|command=option_set
|options=option_name value
|options=option_name value
|note=This slash command allows a user to set various options through the chat command line or through binds, instead of opening the [[The Players' Guide to the Cities/User Interface/Options Window|options window]].
|note=This slash command allows a user to set various options through the chat command line or through [[binds]]/[[macros]], instead of opening the [[The Players' Guide to the Cities/User Interface/Options Window|options window]].


''option_name'' is the option name that can be found in the {{slashcommand|option_save}} text file, and a list of possible names can be brought up using the {{slashcommand|option_list}} command.
''option_name'' is the option name that can be found in the options.txt file generated by the {{slashcommand|option_save}} command. Options.txt is located in the Default Directory (typically either <COHInstallDirectory>\settings\live\, <COHInstallDirectory>\data\, or <COHInstallDirectory>\). A possibly less complete list of option names can be brought up using the {{slashcommand|option_list}} command. There are 110 different options that can be set using the option_set command [updated June 7, 2022].


''value'' can be multiple choices:
''value'' can be multiple choices:
*''0'' turns an option off
*''0'' turns an option off
*''1'' turns an option on
*''1'' turns an option on
*Other options may have a range of values in numbers or words.}}
*Other options may have a range of values in numbers, letters, or words.}}


== Example ==
== Example ==

Revision as of 06:10, 8 June 2022

Slash Command

/option_set option_name value

This slash command allows a user to set various options through the chat command line or through binds/macros, instead of opening the options window.

option_name is the option name that can be found in the options.txt file generated by the /option_save command. Options.txt is located in the Default Directory (typically either <COHInstallDirectory>\settings\live\, <COHInstallDirectory>\data\, or <COHInstallDirectory>\). A possibly less complete list of option names can be brought up using the /option_list command. There are 110 different options that can be set using the option_set command [updated June 7, 2022].

value can be multiple choices:

  • 0 turns an option off
  • 1 turns an option on
  • Other options may have a range of values in numbers, letters, or words.

Example

/option_set NoXP 1

Enables the "NoXP" option, turning off experience gain.