WoW:Khaos: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(removed Nata35 (and others) spam)
(Remove Vera31 spam and fix section headers)
Line 2: Line 2:


Requires [[Earth]], [[Sea]], and [[Chronos]].  
Requires [[Earth]], [[Sea]], and [[Chronos]].  


=== Khaos API ===
=== Khaos API ===
Line 37: Line 38:
* [[KhaosConfigurationLoadNotice ]] - notify when config is loaded
* [[KhaosConfigurationLoadNotice ]] - notify when config is loaded
* [[KhaosSlashCommand]] - slash commands for configurations
* [[KhaosSlashCommand]] - slash commands for configurations




Line 44: Line 44:
==== Khaos Configuration Template ====
==== Khaos Configuration Template ====


* [[Khaos Configuration Template]] ==== Khaos Difficulty Levels ====
* [[Khaos Configuration Template]]
 
==== Khaos Difficulty Levels ====


* [[Khaos Difficulty System]]  
* [[Khaos Difficulty System]]  


==== Login Screen ====
==== Login Screen ====


[[Image:Khaos_login.jpg|thumb|Khaos login]]
[[Image:Khaos_login.jpg|thumb|Khaos login]]
Choose a configuration from the drop-down menu that appears when you login.  
Choose a configuration from the drop-down menu that appears when you login.  


The game will load that configuration so that you can preview it. If you press "Use", it will use that configuration. If you select "Edit" it will display the main screen. Checking the box will make it auto-pick that configuration when you login to this server with that character. === Khaos Tutorials ===
The game will load that configuration so that you can preview it. If you press "Use", it will use that configuration. If you select "Edit" it will display the main screen. Checking the box will make it auto-pick that configuration when you login to this server with that character.




=== Khaos Tutorials ===


==== Configuration Demo ====
==== Configuration Demo ====


[[Image:Khaos_example.jpg|thumb|The configuration screen]]
[[Image:Khaos_example.jpg|thumb|The configuration screen]]
Click [[Khaos_Configuration_Example | here]] to see an example, and the code which generated it. <br clear=all> ==== Khaos Folders ====
Click [[Khaos_Configuration_Example | here]] to see an example, and the code which generated it. <br clear=all>
 
==== Khaos Folders ====


[[Image:Khaos_example_folders.jpg|thumb|Example folders]]
[[Image:Khaos_example_folders.jpg|thumb|Example folders]]
The yellow text marks a folder. White text with checkmarks denotes an option set and if it is enabled or not. <br clear=all>
The yellow text marks a folder. White text with checkmarks denotes an option set and if it is enabled or not. <br clear=all>


==== Khaos Option Sets ====
==== Khaos Option Sets ====
Line 71: Line 75:
Each line is a single option. The whole scrollable pane is considered an option set.
Each line is a single option. The whole scrollable pane is considered an option set.


[[Category: Function Libraries]]
[[Category:Function Libraries]]
[[Category: Cosmos AddOns]]
[[Category:Cosmos AddOns]]

Revision as of 00:50, 29 November 2005

Khaos is a universal configuration registration system. It allows you to create configurations for addons or addon-groups and cluster them together. You can import/export your own custom configurations and have them work with anyone else who is using Khaos. Below are some examples of using Khaos.

Requires Earth, Sea, and Chronos.


Khaos API

  • registerGlobal - Registers a global variable to be saved/loaded when the user selects a new configuration
  • unregisterGlobal - Removes a global from the configuration update list
  • updateGlobal - Updates the global variable stored inside the configuration
  • getSetKey - Allows you to directly access a key-value pair inside the configuration
  • setSetKey - Allows you to directly modify a key-value pair inside the configuration
  • setSetKeyParameter - Allows you to directly set a key-value pair's parameter
  • getSetEnabled - Allows you to detect if an option set is on or off
  • setSetEnabled - Allows you to turn an option set on or off
  • updateSetKeys - Allows you to update groups of set keys and refresh the gui together
  • refresh - Force a re-draw of the gui


Khaos Data Types


Khaos Examples

Khaos Configuration Template

Khaos Difficulty Levels

Login Screen

Choose a configuration from the drop-down menu that appears when you login.

The game will load that configuration so that you can preview it. If you press "Use", it will use that configuration. If you select "Edit" it will display the main screen. Checking the box will make it auto-pick that configuration when you login to this server with that character.


Khaos Tutorials

Configuration Demo

File:Khaos example.jpg
The configuration screen

Click here to see an example, and the code which generated it.

Khaos Folders

Example folders

The yellow text marks a folder. White text with checkmarks denotes an option set and if it is enabled or not.

Khaos Option Sets

Example options

Each line is a single option. The whole scrollable pane is considered an option set.