Option set (Slash Command): Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
* ''1'' turns an option on
* ''1'' turns an option on
* Other options may have a range of values in numbers, letters, or words.}}
* Other options may have a range of values in numbers, letters, or words.}}
* For a list of option settings see {{slashcommand|option_list}}, [[Options file structure]], or the [[The Players' Guide to the Cities/User Interface/Options Window|Options Window]] pages.
* For a list of option settings see [[Option Names List]].
* Make sure you close the Options window before you change any settings with a slash command. If you use a slash command while the Options window is open, often nothing will change.
* Make sure you close the Options window before you change any settings with a slash command. If you use a slash command while the Options window is open, often nothing will change.


Line 18: Line 18:
{{slashcommand|option_set}} ''NoXP 1''
{{slashcommand|option_set}} ''NoXP 1''
:Enables the "NoXP" option, turning off [[experience]] gain.
:Enables the "NoXP" option, turning off [[experience]] gain.
==Also==
* [[The Players' Guide to the Cities/User Interface/Options Window|Options Window]]
* [[Options file structure]]
* {{slashcommand|option_list}}





Revision as of 10:47, 12 February 2024

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.
  • For a list of option settings see Option Names List.
  • Make sure you close the Options window before you change any settings with a slash command. If you use a slash command while the Options window is open, often nothing will change.


Example

/option_set NoXP 1

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


Also