Armying
Armying is for advanced use cases!
Configuration
Section titled “Configuration”A config file is required for armying. A sample config might look like:
{ "PlayerCount": 4, "RoomNumber": "12345", "Player1": "player1", "Player2": "player2", "Player3": "player3", "Player4": "player4"}There is no imposed value for player count—as long as PlayerCount is set, it will look for that many players. The assumption is made that Player1 acts as the leader.
Specification
Section titled “Specification”-
PlayerCount
The size of the army-so scripts know how many players to expect.
-
RoomNumber
The room number to join.
We will define sets using the boss name. You may do it however you want.
{ // ...rest of the config "UltraNulgath": { "Player1": { "SafeClass": "Void Highlord", "SafePot": "Elders' Blood", "Class": "LegionRevenant", "Armor": "LegionRevenant", "Weapon": "Valiance", "Cape": "Vainglory", "Helm": "WizHelm", "Pots": ["Felicitous Philtre"], "Scroll": "Scroll of Enrage" }, "Player2": { "SafeClass": "Void Highlord", "SafePot": "Elders' Blood", "Class": "StoneCrusher", "Weapon": "Lacerate", "Cape": "Absolution", "Helm": "WizHelm" }, "Player3": { "SafeClass": "Void Highlord", "SafePot": "Elders' Blood", "Class": "LordOfOrder", "Weapon": "AweBlast", "Cape": "Absolution", "Helm": "LuckHelm" }, "Player4": { "SafeClass": "Void Highlord", "SafePot": "Elders' Blood", "Class": "ArchPaladin", "Weapon": "Arcana", "Cape": "Penitence", "Helm": "LuckHelm" } }}The set name is defined as UltraNulgath, and the individual items are associated with their player number.
Available Set Fields
Section titled “Available Set Fields”| Field | Type | Description |
|---|---|---|
SafeClass | string | Backup class used to prevent pots from arbitrarily locking |
SafePot | string | Backup consumable used to prevent pots from arbitrarily locking |
Armor | string | Armor to equip |
Class | string | Class to equip |
Weapon | string | Weapon to equip |
Cape | string | Cape to equip |
Helm | string | Helm to equip |
Pet | string | Pet to equip |
Pots | string[] | Array of potions to drink (equip → use skill 5 → wait) |
Scroll | string | Final consumable to equip after drinking pots (e.g., Scroll of Enrage) |
Equip Order
Section titled “Equip Order”- SafeClass
- SafePot
- Class
- SafePot
- Equipment
- Potions
- Scroll
Equip sets with the cmd.army_equip_set command.
Note that all fields are optional.
Writing army scripts
Section titled “Writing army scripts”The idea of an army script is one-script that is loaded across all players but will have slight variations in functionality to accomodate the current player.
Requirements
Section titled “Requirements”Army scripts must have the following commands:
-
The name to the config file (under
Documents/vexed/Storage). -
Begins loading the config and other internal behaviors. Ideally, these commands are called ASAP.
Army scripts should use army-variants of normal commands where possible. Such commands will wait for all players in the army to complete the task before the next command executes.
Example
Section titled “Example”View the full example army_config.json.