Usage
(Generated from doc.json at Fri, 27 Aug 2021 18:05:59 GMT)
Generally, most of the functionalities are using chat commands. Simply type the commands in the chat box (like how you would normally chat with teammates).
Note: Remember to either use allies or all chat channel when try to use the commands. Public chat channels and Private Messages (PM) does not work. All commands have a short alias, which they both have identical functionality that allows for less typing. Some of the commands have an UI counterpart implemented, which will display a menu of options and features corresponding to the commands' functionality.
๐ Libraries
Library Name | File Name | Library ID | Library Description |
---|---|---|---|
Module Loader | LibModuleLoader.galaxy | LibMODL | A unified Module Loader Lib that allows you to choose which module to load. |
Utilities | LibUtilities.galaxy | LibUTIL | A Library with multiple utilities tools such as "Toggle Fog Of War", "Toggle UI", etc. |
Units | LibUnits.galaxy | LibUNIT | A library with commands related to selected units, such as kill, spawn, etc. |
Players | LibPlayers.galaxy | LibPLYR | Commands that are related to Players, eg, scoreboard, respawn timer, etc |
Builder Mode | LibBuilderMode.galaxy | libBULM | A Builder Library that allows you to place objects anywhere in the map. |
FPS Mode | LibFPSMode.galaxy | libFPSM | A First Person Shooter like Library that allows you to see the map in first person camera. |
Free Camera Mode | LibFreeCameraMode.galaxy | libFRCM | Free Camera Mode allows you to change the angle of the camera easily. |
Funny Stuff | LibFunny.galaxy | libFUNY | Random useless stuff just for the lolz. |
๐งพ Table of Contents
-
๐ Module Loader
-
๐ Utilities
-
๐ญ Command:
addmarker
-
๐ญ Command:
clear
-
๐ญ Command:
clearmarker
-
๐ญ Command:
colormarker
-
๐ญ Command:
endgame
-
๐ญ Command:
getmarker
-
๐ญ Command:
loadmap
-
๐ญ Command:
restartgame
-
๐ญ Command:
startgame
-
๐ญ Command:
string
-
๐ญ Command:
togglecdr
-
๐ญ Command:
toggleui
-
๐ญ Command:
wingame
-
-
๐ Units
-
๐ญ Command:
addbehavior
(โ UI) -
๐ญ Command:
addeffect
-
๐ญ Command:
addweapon
-
๐ญ Command:
clearunits
-
๐ญ Command:
clearweapon
-
๐ญ Command:
getbehavior
-
๐ญ Command:
getunits
-
๐ญ Command:
getweapon
-
๐ญ Command:
killunits
-
๐ญ Command:
replaceunit
-
๐ญ Command:
summon
(โ UI)
-
-
๐ Players
-
๐ญ Command:
addtalent
-
๐ญ Command:
disableai
-
๐ญ Command:
enableai
-
๐ญ Command:
experience
-
๐ญ Command:
getcatalog
-
๐ญ Command:
respawntime
-
๐ญ Command:
setoverlay
-
๐ญ Command:
setscore
-
๐ญ Command:
toggleai
-
๐ Builder Mode
-
๐ FPS Mode
-
๐ Free Camera Mode
-
๐ Funny Stuff
๐ Module Loader Library (LibModuleLoader.galaxy
):
A unified Module Loader Lib that allows you to choose which module to load.
This module is for loading other modules. DO NOT modify this file in SC2Editor.
[Return to Table of Contents ๐งพ]
๐ Utilities Library (LibUtilities.galaxy
):
A Library with multiple utilities tools such as "Toggle Fog Of War", "Toggle UI", etc.
(addmarker
| marker
) <MarkerID>
โ Description:
Add a marker at the position of the first selected unit.
โ Parameters:
<MarkerID>
Required: true
Type: integer
Usage: Defines the Marker ID to be added (up to 20).
๐ง Examples:
> marker 1
(Add marker 1 at the position of the first selected unit.)
> addmarker 10
(Add marker 10 at the position of the first selected unit.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(addmarkercamera
| markerc
) <MarkerID>
โ Description:
Add a marker at the center position of the camera.
Tip: Also use
togglecrosshair
command to set the location precisely.
โ Parameters:
<MarkerID>
Required: true
Type: integer
Usage: Defines the Marker ID to be added (up to 20).
๐ง Examples:
> markerc 1
(Add marker 1 at the center position of the camera.)
> addmarkercamera 10
(Add marker 10 at the center position of the camera.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(alliancecontrolteamselection
| acts
)
โ Description:
Toggle Alliance Control + Multi-Selection, a shortcut re-implementation to QA Cheat Menu's /ac
and ts
.
This will enable/disable "Alliance Control" (control units from other players, including Enemy) and "Multi-Selection" (selecting multiple units like Vikings and Samuro).
โ Parameters:
None
๐ง Examples:
> acts
(Toggle Alliance Control + Multi-Selection)
> alliancecontrolteamselection
(Toggle Alliance Control + Multi-Selection)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(clear
| cls
) [seconds]
โ Description:
Clear all text messages, including chat and debug messages with an optional delay.
โ Parameters:
[seconds]
Required: false
Type: float
Usage: Defines the delay to clear text messages in seconds.
Default: 0
๐ง Examples:
> cls
(Clear all texts instantly)
> clear 5.4
(Clear all texts after 5.4 seconds)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(clearmarker
| clmarker
)
โ Description:
Clear all created markers.
โ Parameters:
None
๐ง Examples:
> clmarker
(Clear all created markers.)
> clearmarker
(Clear all created markers.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(colormarker
| colmarker
) <MarkerID>
<Red>
<Green>
<Blue>
โ Description:
Change the color of the specific marker with RGB value. This also applies to future markers.
Note: The color of each marker will be generated randomly when the game started.
โ Parameters:
<MarkerID>
Required: true
Type: integer
Usage: Defines the Marker ID to be added (up to 20).
<Red>
Required: true
Type: integer
Usage: Defines the Red color of the marker's RGB color. (0 - 255)
<Green>
Required: true
Type: integer
Usage: Defines the Green color of the marker's RGB color. (0 - 255)
<Blue>
Required: true
Type: integer
Usage: Defines the Blue color of the marker's RGB color. (0 - 255)
๐ง Examples:
> colmarker 1 255 0 0
(Change Marker 1 color to 255, 0, 0 (Red))
> colormarker 10 0 0 0
(Change Marker 10 color to 0, 0, 0 (Black))
> colormarker 10 0 0 0
(Change Marker 10 color to 0, 255, 255 (Cyan))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(endgame
| eg
)
โ Description:
End the game instantly and kick all players from the game.
โ Parameters:
None
๐ง Examples:
> eg
(End the game instantly)
> endgame
(End the game instantly)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(floatingcombattext
| fct
) <message>
[state]
[type]
โ Description:
Show a custom floating combat text with different built-in templates.
The table is the available combinations of state
and type
. Columns are state
(e.g Shield
) and Rows are type
(e.g NormalAmountGiven
):
type \ state |
Ability |
Basic |
Heal |
Mana |
Shield |
XP |
Quest |
Reduced |
---|---|---|---|---|---|---|---|---|
LesserAmountReceived |
โ | โ | โ | โ | โ | โ | โ | โ |
LesserAmountGiven |
โ | โ | โ | โ | โ | โ | โ | โ |
NormalAmountReceived |
โ | โ | โ | โ | โ | โ | โ | โ |
NormalAmountGiven |
โ | โ | โ | โ | โ | โ | โ | โ |
MediumAmountReceived |
โ | โ | โ | โ | โ | โ | โ | โ |
MediumAmountGiven |
โ | โ | โ | โ | โ | โ | โ | โ |
GreaterAmountReceived |
โ | โ | โ | โ | โ | โ | โ | โ |
GreaterAmountGiven |
โ | โ | โ | โ | โ | โ | โ | โ |
CritAmountReceived |
โ | โ | โ | โ | โ | โ | โ | โ |
CritAmountGiven |
โ | โ | โ | โ | โ | โ | โ | โ |
AmountReadable |
โ | โ | โ | โ | โ | โ | โ | โ |
CritAmountReadable |
โ | โ | โ | โ | โ | โ | โ | โ |
SelfAmountReceived |
โ | โ | โ | โ | โ | โ | โ | โ |
HealPrevented |
โ | โ | โ | โ | โ | โ | โ | โ |
QuestProgress |
โ | โ | โ | โ | โ | โ | โ | โ |
Note: The capitalizations of
type
is required to be followed.
โ Parameters:
<message>
Required: true
Type: string
Usage: Defines the message to be shown in Floating Combat Text
[state]
Required: false
Type: string
Usage: Defines the state of the Floating Combat Text
Default: Basic
[type]
Required: false
Type: string
Usage: Defines the type of the Floating Combat Text
Default: NormalAmountGiven
๐ง Examples:
> fct 100
(Shows the FCT "100" with the style of basic attack (orange))
> fct 50 XP SelfAmountReceived
(Shows the FCT "50" with the style of xp gathered (small purple text))
> floatingcombattext nice Quest QuestProgress
(Shows the FCT "nice" with the style of quest progressing (gold circle with "!"))
> floatingcombattext 999 Shield CritAmountGiven
(Shows the FCT "999" with the style of critical shield (white with explosion style))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(forceruntrigger
| frt
) <TriggerName>
โ Description:
Force to Run a Trigger created by TriggerCreate()
with ignoring conditions and wait until finish.
This can be used to run a trigger that bypass the testConds
, such as GameCheatsEnabled(c_gameCheatCategoryDevelopment)
.
You can get the trigger name from the TriggerCreate()
function in various galaxy files.
For example, a debug chat trigger to start the Immortal objective in Battlefield of Eternity immediately:
//--------------------------------------------------------------------------------------------------
// Trigger: MMBOE Debug - Start Immediately
//--------------------------------------------------------------------------------------------------
bool libMLBD_gt_MMBOEDebugStartImmediately_Func (bool testConds, bool runActions) {
// Automatic Variable Declarations
// Conditions
if (testConds) {
if (!((GameCheatsEnabled(c_gameCheatCategoryDevelopment) == true))) {
return false;
}
}
// Actions
if (!runActions) {
return true;
}
libMLBD_gv_mMBOEDebugUsed = true;
libMLBD_gf_MMBOEDuelWarningStart();
TimerStart(libMLBD_gv_mMBOEEventWarningTimer, 0.5, false, c_timeGame);
return true;
}
//--------------------------------------------------------------------------------------------------
void libMLBD_gt_MMBOEDebugStartImmediately_Init () {
libMLBD_gt_MMBOEDebugStartImmediately = TriggerCreate("libMLBD_gt_MMBOEDebugStartImmediately_Func");
TriggerEnable(libMLBD_gt_MMBOEDebugStartImmediately, false);
TriggerAddEventChatMessage(libMLBD_gt_MMBOEDebugStartImmediately, c_playerAny, "-bd", true);
}
The trigger name will be libMLBD_gt_MMBOEDebugStartImmediately_Func
. By using this command (frt libMLBD_gt_MMBOEDebugStartImmediately_Func
), you can bypass the GameCheatsEnabled(c_gameCheatCategoryDevelopment)
restriction, which was required when using the -bd
command.
โ Parameters:
<TriggerName>
Required: true
Type: string
Usage: Defines the trigger to be run
๐ง Examples:
> frt libUIUI_gt_InputBackslashKeyDown_Func
(Force to run the trigger "libUIUI_gt_InputBackslashKeyDown_Func", which will show up the debug menu.)
> forceruntrigger libSprt_gt_DEBUGHaveAITakeOverAI_Func
(Force to run the trigger "libSprt_gt_DEBUGHaveAITakeOverAI_Func", which will have an AI take over your unit.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(getmarker
| gmarker
) <MarkerID>
โ Description:
Get a Markers position in (X, Y, Z).
โ Parameters:
<MarkerID>
Required: true
Type: integer
Usage: Defines the Marker ID to be added (up to 20).
๐ง Examples:
> gmarker 1
(Get the position of Marker 1 in (X, Y, Z).)
> getmarker 10
(Get the position of Marker 10 in (X, Y, Z).)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(loadmap
| lm
) <MapPath>
โ Description:
End the game and load a .stormmap file instantly.
The MapPath
is relative to:
*.stormmods/base.stormmap/
for CASC / MPQ storageHEROES_INSTALL_LOCATION/maps/
for file system
There are currently 4 built-in .stormmaps
from CASC in Heroes, which the MapPath
is:
- heroes/singleplayermaps/(10)trymemode.stormmap
heroes/singleplayermaps/startingexperience/tutorial01.stormmap
heroes/singleplayermaps/startingexperience/tutorialmapmechanics.stormmap
heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap
You can also put a .stormmap
file into HEROES_INSTALL_LOCATION/maps/
, e.g HEROES_INSTALL_LOCATION/maps/cool.stormmap
, which the MapPath
will be cool.stormmap
โ Parameters:
<MapPath>
Required: true
Type: string
Usage: Defines the path to the stormmap
๐ง Examples:
> lm heroes/singleplayermaps/startingexperience/tutorial01.stormmap
(Exit and Load the tutorial 1 map)
> loadmap heroes/singleplayermaps/startingexperience/tutorialveteran.stormmap
(Exit and Load the veteran tutorial map.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(minionwaveinterval
| mwi
) [seconds]
โ Description:
Get or Set the minion wave interval (Times to spawn a minion. Usually 30s but for 15s in ARAM.)
โ Parameters:
[seconds]
Required: false
Type: float
Usage: Defines interval for minion wave to spawn
Default: (The map's original interval, usually 30 but 15 for ARAMs)
๐ง Examples:
> mwi
(Get the minion wave interval)
> minionwaveinterval
(Get the minion wave interval)
> mwi 0.0625
(Set the minion wave to spawn every 0.0625 seconds (each game loop))
> mwi 100
(Set the minion wave to spawn every 100 seconds.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(playcutscene
| pcs
) <mode>
โ Description:
Play a Cutscene file (*.StormCutscene
) directly. Press Esc
anytime to stop it.
The file path is relative to *.stormmod/base.stormdata
. (e.g If Cutscene file is in mods/heroesdata.stormmod/base.stormdata/Cutscenes/EndOfMatch/EndOfMatch_LineUp_Tassadar.StormCutscene
, the path will be Cutscenes/EndOfMatch/EndOfMatch_LineUp_Tassadar.StormCutscene
)
โ Parameters:
<mode>
Required: true
Type: string
Usage: Defines the path of the *.StormCutscene file.
๐ง Examples:
> pcs Cutscenes/Tutorial_CursedHollow.StormCutscene
(Plays the Tutorial Cutscene for Cursed Hollow)
> playcutscene Cutscenes/StoreMuradin.StormCutscene
(Plays the Muradin Cutscene in the Collection Page (wait for 2 second to show Muradin))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(removemarker
| rmmarker
) <MarkerID>
โ Description:
Removes a specific marker.
โ Parameters:
<MarkerID>
Required: true
Type: integer
Usage: Defines the Marker ID to be added (up to 20).
๐ง Examples:
> rmmarker 1
(Removed Marker 1)
> removemarker 10
(Removed Marker 10)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(resetcameraobject
| rco
)
โ Description:
Reset the game camera to BlizzardAllStars
(default game camera)
โ Parameters:
None
๐ง Examples:
> rco
(Reset the game camera to BlizzardAllStars)
> resetcameraobject
(Reset the game camera to BlizzardAllStars)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(resetgamespeed
| rgs
)
โ Description:
Reset the game speed 2 (Normal).
โ Parameters:
None
๐ง Examples:
> rgs
(Reset the game speed 2 (Normal).)
> resetgamespeed
(Reset the game speed 2 (Normal).)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(restartgame
| re
)
โ Description:
Restart the map without needed to re-enter. This is extremely useful when you want to try the new modified XML files or galaxy scripts.
Note: It will NOT reload or add mods from
Includes.xml
automatically. You will need to manually re-enter for mods to be added.
โ Parameters:
None
๐ง Examples:
> re
(Restart the game instantly)
> restartgame
(Restart the game instantly)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(setcameraobject
| sco
) <camera>
โ Description:
Manually set the camera object. The parameter is the id of <CCamera id="xxx">
.
WARNING: Set a non existing camera will actually crash the game.
โ Parameters:
<camera>
Required: true
Type: string
Usage: Defines the camera object.
๐ง Examples:
> sco BlizzardAllStars
(Set the camera object to BlizzardAllStars (default game camera))
> setcameraobject Dflt
(Set the camera object to Dlft (default SC2 camera))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(setgamespeed
| sgs
) <speed>
โ Description:
Set the game speed.
The game speed can only between 0 - 4:
value | speed |
---|---|
0 | Slower |
1 | Slow |
2 | Normal |
3 | Fast |
4 | Faster |
โ Parameters:
<speed>
Required: true
Type: integer
Usage: Defines the game speed to be set (between 0 - 4).
๐ง Examples:
> sgs 0
(Set the game speed to 0 (Slower))
> setgamespeed 3
(Set the game speed to 3 (Fast))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(startgame
| sg
)
โ Description:
Start the game instantly (timer start, gate open, etc).
โ Parameters:
None
๐ง Examples:
> sg
(Start the game instantly)
> startgame
(Start the game instantly)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(string
| str
) <mode>
<value>
โ Description:
Display a string with the value of TextExpressionAssemble
or StringExternal
This is pretty useful to quickly shows the string from the functions internally.
mode
must be either TextExpressionAssemble
or StringExternal
โ Parameters:
<mode>
Required: true
Type: string
Usage: Defines the mode of the string to be displayed.
<value>
Required: true
Type: string
Usage: Defines the value of the string to be displayed
๐ง Examples:
> str TextExpressionAssemble Param/Expression/lib_Sprt_B1FD42AF
(Shows the string "Set Mastery Ring..." from supportlib)
> string StringExternal Param/Value/lib_Sprt_F697F4C7
(Shows the string "Game Speed should not exceed 8.0...." from supportlib)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(togglecdr
| tcdr
)
โ Description:
Toggle Mass CDR. This will reset the cooldown on all abilities on every game loop (0.0625s) This is useful to bypass the limit of try mode's Toggle Cooldown, as it have a 1.5s cooldown between each reset.
โ Parameters:
None
๐ง Examples:
> tcdr
(Toggle Mass CDR)
> togglecdr
(Toggle Mass CDR)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(togglecrosshair
| tch
)
โ Description:
Toggle to show a crosshair on the center of the camera. This allows for e.g more precise placement of summon units and adding effects.
โ Parameters:
None
๐ง Examples:
> tch
(Toggle showing crosshair)
> togglecrosshair
(Toggle showing crosshair)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(toggledebugmode
| tdb
)
โ Description:
Toggle Debug Mode by modifying the libCore_gv_dEBUGDebuggingEnabled
variable)
โ Parameters:
None
๐ง Examples:
> tdb
(Toggle Debug Mode)
> toggledebugmode
(Toggle Debug Mode)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(togglefogofwar
| tfow
)
โ Description:
Toggle Fog Of War. This can enable or disable full map vision.
โ Parameters:
None
๐ง Examples:
> tfow
(Toggle Full Map Vision)
> togglefogofwar
(Toggle Full Map Vision)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(togglerandommovement
| trm
) [radius]
โ Description:
Toggle random movement for selected units.
This command will create a circle on the center of your camera. The selected units will start moving randomly in the circle. This allows to practice various stuff such as skill-shots. Run this command to turn off this functionality.
Tip: To get the most out of this tool, use
alliancecontrolteamselection
to select desired units, then use summon units to let them move randomly.
Tip: Also use
addbehavior
command to add theMounted
(adb Mounted
) behavior for faster movement (mount speed), andadb DisableWeaponsBehavior
to disable their auto attacks,
Note: You can still command the units that are moving randomly, but after all the commands are finished (e.g stopped), it will start moving randomly again to the circle
โ Parameters:
[radius]
Required: false
Type: float
Usage: The radius of the circle that units will be moved randomly
Default: 7
๐ง Examples:
> trm 10
(Toggle Random Movement with circle radius of 10.)
> togglerandommovement
(Toggle Random Movement with circle radius of default 7.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(toggleterrainindicator
| tti
)
โ Description:
Toggle Terrain Indicator (used by Diablo and Auriel, etc) for any units
โ Parameters:
None
๐ง Examples:
> tti
(Toggle Terrain Indicator)
> toggleterrainindicator
(Toggle Terrain Indicator)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(toggleui
| tui
)
โ Description:
Toggle User Interface. This can hide or show all the UIs including HP bar, talents panel, floating combat text, abilities bar etc.
Note: If the UI is off, all abilities will be disabled.
โ Parameters:
None
๐ง Examples:
> tui
(Toggle In game UI)
> toggleui
(Toggle In game UI)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(wingame
| wg
) <TeamID>
โ Description:
Instantly declare a win for a team and end the game. Generally left team is Team 1 and right team is Team 2.
โ Parameters:
<TeamID>
Required: true
Type: integer
Usage: Defines the team ID to win the game.
๐ง Examples:
> wg 1
(Win the game for Team 1)
> wingame 2
(Win the game for Team 2)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
๐ Units Library (LibUnits.galaxy
):
A library with commands related to selected units, such as kill, spawn, etc.
(addbehavior
| adb
) <BehaviorId>
โ Description:
Add a behavior to selected unit(s). Which are generally from <CBehavior*>
, such as <CBehaviorBuff id="xxx">
or <CBehaviorAbility id="xxx">
.
โ Parameters:
<BehaviorId>
Required: true
Type: string
Usage: Defines the behavior id to be added to selected units
๐ง Examples:
> addbehavior MedivhArcaneBrillianceItem
(Add Medivh's Arcane Brilliance Ability to selected units)
> adb PermaInvulnerable
(Make all selected units permanent Invulnerable)
๐ผ UI Availability:
- โ Yes. Use the command
addbehaviorui
oradbui
to toggle the UI counterpart of this command.
[Return to Table of Contents ๐งพ]
(addeffect
| ade
) <EffectId>
[amount]
โ Description:
Add an Effect to selected unit(s). Which are generally from <CEffect*>
, such as <CEffectSet id="xxxx">
or <CEffectCreatePersistent id="xxx">
.
โ Parameters:
<EffectId>
Required: true
Type: string
Usage: Defines the effect id to be added to selected unit(s).
[amount]
Required: false
Type: integer
Usage: Defines the amount of effects to be added to the units
Default: 1
๐ง Examples:
> addeffect StormSuicide
(Make all selected units "suicide" a.k.a kill the unit)
> ade MedivhPolyBombPersistent
(Make all selected units affect by Medivh's Polybomb)
> ade GreymaneCursedBulletDamagePercentDamage 5
(Make all selected units hit by Greymane's Cursed Bullet (damage) 5 times in a row.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(addeffectcamera
| adec
) <EffectId>
[amount]
[PlayerID]
โ Description:
Add an Effect to the center of the camera. Which are generally from <CEffect*>
, such as <CEffectSet id="xxxx">
or <CEffectCreatePersistent id="xxx">
.
โ Parameters:
<EffectId>
Required: true
Type: string
Usage: Defines the effect id to be added to the center of the camera.
[amount]
Required: false
Type: integer
Usage: Defines the amount of effects to be added to the center of the camera.
Default: 1
[PlayerID]
Required: false
Type: integer
Usage: The Player ID for the effect owner
Default: The player id of whoever used this command.
๐ง Examples:
> addeffectcamera DropUnderworldPowerupPersistent
(Add some Haunted Mines Skulls to camera location)
> adec UnderworldBossRootsCreatePersistent
(Add Haunted Mines's boss root animation to camera location)
> addeffectcamera NecromancerRaiseSkeletonCreationPersistent 10
(Spawn 10 Xul's skeleton to camera location)
> adec NecromancerRaiseSkeletonCreationPersistent 10 6
(Spawn 10 Xul's skeleton to camera location with the effect owner of Player 6)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(addweapon
| adw
) <WeaponID>
โ Description:
Add a weapon (Basic Attack) to selected unit(s). Usually found in <CWeapon* id='xxx'>
โ Parameters:
<WeaponID>
Required: true
Type: string
Usage: The ID of the weapon
๐ง Examples:
> adw AlexstraszaDragonConeWeapon
(Add Alexstrasza's Dragon Form weapon to selected unit(s))
> addweapon FirebatHeroWeapon
(Add Blaze's weapon to selected unit(s))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(changeunitownership
| cuo
) <PlayerId>
โ Description:
Changes ownership of the selected unit(s).
Note: 0 is neutral, which cannot be selected once ownership have changed.
โ Parameters:
<PlayerId>
Required: true
Type: integer
Usage: The new owner of the selected unit(s).
๐ง Examples:
> changeunitownership 1
(Change all selected units's ownership to Player 1)
> cuo
(Change all selected units's ownership to Player 6)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(clearbehavior
| clb
)
โ Description:
Clear all active behaviors for selected units.
โ Parameters:
None
๐ง Examples:
> clb
(Clear all active behaviors for selected units)
> clearbehavior
(Clear all active behaviors for selected units)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(clearunits
| clu
) [PlayerId]
โ Description:
Clear all summoned unit(s) (summoned by the summon command) for a Player. This is useful for remove large numbers of summoned units, or when summoned untargetable/unselectable units that are not able to use the killunits command.
Note: Due to the memory limitation, only the last 500 summoned units will be able to remove with this command. Older units will not be affected, if you would like to remove ALL summoned units, either respec your hero, or restart the game.
Self note: For each
MaxPlayer[16][100]
, is equivalent to around 30EventChatMessage
triggers. So more memory assigned to this, the less trigger can be used.
โ Parameters:
[PlayerId]
Required: false
Type: integer
Usage: Define to clear which player's summoned unit(s).
Default: The player id of whoever used this command.
๐ง Examples:
> clu
(Clear summoned unit(s) from player who used the command)
> clearunits 6
(Clear summoned unit(s) from Player 6)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(clearweapon
| clw
)
โ Description:
Remove all weapons (Basic Attack) from selected unit(s). Usually found in <CWeapon* id='xxx'>
โ Parameters:
None
๐ง Examples:
> clw
(Remove all weapons from selected units)
> clearweapon
(Remove all weapons from selected units)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(getbehavior
| getb
)
โ Description:
List all active behaviors for selected units.
โ Parameters:
None
๐ง Examples:
> getb
(List all active behaviors for selected units)
> getbehavior
(List all active behaviors for selected units)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(getselectedunits
| gsu
) [PlayerId]
โ Description:
Get all selected units from a specific player
โ Parameters:
[PlayerId]
Required: false
Type: integer
Usage: Define which player to get all the units.
Default: The player id of whoever used this command.
๐ง Examples:
> gsu
(Get all selected units from whoever uses this command)
> getselectedunits 6
(Get all selected units from Player 6)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(getunitownership
| guo
)
โ Description:
Gets the Ownership (Player ID) of selected unit(s).
โ Parameters:
None
๐ง Examples:
> guo
(Gets the Ownership (Player ID) of selected unit(s).)
> getunitownership
(Gets the Ownership (Player ID) of selected unit(s).)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(getunits
| gu
) [PlayerId]
โ Description:
Get all units owned by a specific players
โ Parameters:
[PlayerId]
Required: false
Type: integer
Usage: Define which player to get all the units.
Default: The player id of whoever used this command.
๐ง Examples:
> gu
(Get all units own by whoever uses this command.)
> getunits 7
(Get all units owned by Player 7)
> getunits 15
(Get all units owned by Player 15 (Player 15 usually are neutral mercenary camps.))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(getweapon
| getw
)
โ Description:
Get all weapons (Basic Attack) from selected unit(s). Usually found in <CWeapon* id='xxx'>
โ Parameters:
None
๐ง Examples:
> getw
(Get all weapons from selected units)
> getweapon
(Get all weapons from selected units)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(killallunits
| kau
) [PlayerId]
โ Description:
Kill all units owned by a specific players. Unlike other commands with player ID param, this commands allow to specify Player 0 (Neutual).
Note that in most maps, the Core are owned by Player 11 and 12, where 11 is left team and 12 is right team, killing it will instantly kill the core thus ending the game.
โ Parameters:
[PlayerId]
Required: false
Type: integer
Usage: Define which player to get all the units.
Default: The player id of whoever used this command.
๐ง Examples:
> kau
(Kill all units own by whoever uses this command.)
> killallunits 7
(Kill all units owned by Player 7)
> killallunits 15
(Kill all units owned by Player 15 (Player 15 usually are neutral mercenary camps.))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(killunits
| ku
)
โ Description:
Instantly kill all selected unit(s).
โ Parameters:
None
๐ง Examples:
> ku
(Instantly kill all selected unit(s).)
> killunits
(Instantly kill all selected unit(s).)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(playanimation
| pa
) <AnimationId>
โ Description:
Play an Animation for selected unit(s).
Note: There are Walk, Attack, A to Z animations etc
โ Parameters:
<AnimationId>
Required: true
Type: string
Usage: Defines the Animation ID to be played on selected unit(s)
๐ง Examples:
> playanimation Attack
(Play the Attack Animation for selected unit(s))
> pa Walk
(Play the Walk animation for selected unit(s))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(removeanimation
| rma
) <AnimationId>
โ Description:
Remove an Animation from selected unit(s).
Note: There are Walk, Attack, A to Z animations etc
โ Parameters:
<AnimationId>
Required: true
Type: string
Usage: Defines the Animation ID to be removed from selected unit(s)
๐ง Examples:
> removeanimation Attack
(Stop the Attack Animation for selected unit(s))
> rma Walk
(Stop the Walk animation for selected unit(s))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(removebehavior
| rmb
) <BehaviorId>
โ Description:
Remove a behavior from selected unit(s). Which are generally from <CBehavior*>
, such as <CBehaviorBuff id="xxx">
or <CBehaviorAbility id="xxx">
.
Tips: You can get active behaviors with the
getbehavior
command above.
โ Parameters:
<BehaviorId>
Required: true
Type: string
Usage: Defines the behavior id to be removed from selected units
๐ง Examples:
> removebehavior MedivhArcaneBrillianceItem
(Remove Medivh's Arcane Brilliance Ability from selected units)
> rmb PermaInvulnerable
(No longer makes all selected units permanent Invulnerable)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(removeeffect
| rme
) <EffectId>
โ Description:
Remove an Effect from selected unit(s). Which are generally from <CEffect*>
, such as <CEffectSet id="xxxx">
or <CEffectCreatePersistent id="xxx">
.
โ Parameters:
<EffectId>
Required: true
Type: string
Usage: Defines the effect id to be removed from selected unit(s).
๐ง Examples:
> removeeffect MedivhPolyBombPersistent
(No longer make selected unit(s) affect by Medivh's Polybomb)
> rme MedivhPolyBombPersistent
(No longer make selected unit(s) affect by Medivh's Polybomb)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(removeeffectcamera
| rmec
) <EffectId>
โ Description:
Remove an Effect from the center of the camera. Which are generally from <CEffect*>
, such as <CEffectSet id="xxxx">
or <CEffectCreatePersistent id="xxx">
.
โ Parameters:
<EffectId>
Required: true
Type: string
Usage: Defines the effect id to be removed from the center of the camera.
๐ง Examples:
> removeeffectcamera DropUnderworldPowerupPersistent
(Remove Haunted Mines Skulls from camera location)
> rmec UnderworldBossRootsCreatePersistent
(Remove Haunted Mines's boss root animation from camera location)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(removeweapon
| rmw
) <WeaponID>
โ Description:
Remove a weapon (Basic Attack) from selected unit(s). Usually found in <CWeapon* id='xxx'>
โ Parameters:
<WeaponID>
Required: true
Type: string
Usage: The ID of the weapon
๐ง Examples:
> rmw AnaHeroWeapon
(Remove Ana's weapon from selected unit(s))
> removeweapon DVaMechWeapon
(Remove D.va mech mode's weapon from selected unit(s))
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(replaceunit
| rpu
) <TargetUnitId>
โ Description:
Replace all selected units to the Target Unit.
Note: Don't recommend using this command, as weird stuff will happen if you replaced to an non-existing unit or unit getting killed. If it happens, use the debug menu to respawn your hero for resetting.
โ Parameters:
<TargetUnitId>
Required: true
Type: string
Usage: Define the selected units to be replaced with. You can get the id from <CUnit id="xxx"> in the game XML files.
๐ง Examples:
> rpu HeroRaynor
(Replace all selected unit(s) to Raynor Hero.)
> replaceunit CatapultMinion
(Replace all selected unit(s) to Catapult Minion.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(sendactormessage
| sam
) <ActorMessage>
โ Description:
Send an Actor Message for selected unit(s). Generally from <CActor*>
, the <on send="xxx">
.
Note: The command allows spaces for the parameter, since most actor messages have spaces.
โ Parameters:
<ActorMessage>
Required: true
Type: string
Usage: Defines the Actor Message to be sent. (This parameter allows spaces.)
๐ง Examples:
> sendactormessage AnimPlay Spell Spell,A 0 -1.000000 -1.000000 1.000000 AsTimeScale
(Play the A Spell animation, different on each hero)
> sam StatusIncrement StatusBarHide
(Hide the status bar, HP bar)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(summon
| sum
) <UnitId>
[Amount]
[PlayerId]
[Scale]
โ Description:
Spawn unit(s) at the centre of your camera location.
Note: A new summoned unit will automatically added to select group. Note: To control the summoned units, you will need to enable multi-selection from either the
alliancecontrolteamselection
command or QA Cheat Menu (ts
, also use/ac
if the unit does not belong to you), which will behave like Vikings and Samuro with Illusion Master. Note: If your hero is Samuro, it will have some weird behavior for multi selection due to Blizzard's implementation of Samuro.
โ Parameters:
<UnitId>
Required: true
Type: string
Usage: Define the unit to be spawned. You can get the id from <CUnit id="xxx"> in the game XML files.
[Amount]
Required: false
Type: string
Usage: Define the amount of unit(s) to be spawned
Default: 1
[PlayerId]
Required: false
Type: integer
Usage: Define which player to own the unit that spawned.
Default: The player id of whoever used this command.
[Scale]
Required: false
Type: float
Usage: Define scale of the unit(s) to be spawned. default size is 1.0
Default: 1
๐ง Examples:
> summon TownTownHallL2
(Summon a tower structure to the player who used the command)
> summon HeroRaynor 3
(Summon 3 Raynor Hero units for the player who used the command)
> summon HeroMalGanis 2 4
(Summon 2 Mal'Ganis Hero units for player 4)
> sum JungleGraveGolemDefender 2 1 0.5
(Summon 2 boss golems for player 1 with the unit scale to 0.5 (half the size))
> sum CatapultMinion 10 5 2
(Summon 10 Catapult Minions for player 5 with the unit scale to 2 (double the size))
๐ผ UI Availability:
- โ Yes. Use the command
summonui
orsumui
to toggle the UI counterpart of this command.
[Return to Table of Contents ๐งพ]
(togglenoweaponcd
| tnwcd
)
โ Description:
Constantly resetting the weapons (auto attack) cooldown, effectively increasing weapon speed.
โ Parameters:
None
๐ง Examples:
> tnwcd
(Constantly resetting the weapons (auto attack) cooldown)
> togglenoweaponcd
(Constantly resetting the weapons (auto attack) cooldown)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(toggleoutputid
| toi
)
โ Description:
Toggle displaying units' id mode. Which will shows the unit's id on the screen with a left click.
โ Parameters:
None
๐ง Examples:
> toi
(Toggle displaying units' id mode.)
> toggleoutputid
(Toggle displaying units' id mode.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(unitproperty
| up
) <type>
[value]
โ Description:
Allow to show / modify a selected units' property, such as max health, regen, movement speed etc.
If the type
parameter is not supplied, it will return the value of the property. If the type
parameter was set, it will modify the selected unit's property.
The type
parameters accept either the Type (int)
or Type (string)
below.
Type (int) | Type (string) | Galaxy file constant |
---|---|---|
0 | life | c_unitLife |
1 | lifepercent | c_unitPropLifePercent |
2 | lifemax | c_unitPropLifeMax |
3 | liferegen | c_unitPropLifeRegen |
4 | energy | c_unitPropEnergy |
5 | energypercent | c_unitPropEnergyPercent |
6 | energymax | c_unitPropEnergyMax |
7 | energyregen | c_unitPropEnergyRegen |
8 | shields | c_unitPropShields |
9 | shieldspercent | c_unitPropShieldsPercent |
10 | shieldsmax | c_unitPropShieldsMax |
11 | shieldsregen | c_unitPropShieldsRegen |
12 | kills | c_unitPropKills |
17 | height | c_unitPropHeight |
18 | movementspeed | c_unitPropMovementSpeed |
20 | resources | c_unitPropResources |
21 | radius | c_unitPropRadius |
22 | xp | c_unitPropXP |
23 | level | c_unitPropLevel |
24 | killxp | c_unitPropKillXP |
28 | basemovementspeed | c_unitPropBaseMovementSpeed |
29 | movementspeedcurrent | c_unitPropMovementSpeedCurrent |
30 | lifeexpectedpercent | c_unitPropLifeExpectedPercent |
โ Parameters:
<type>
Required: true
Type: integer/string
Usage: Set the type of the property to be get / modified. Please refer to the table above.
[value]
Required: false
Type: float
Usage: The value to be set for the property type
Default: null
๐ง Examples:
> up life
(Shows the unit's current HP)
> up 0 1
(Set the selected units's Current HP to 1; MAX SPEEDZ TAZZZZDINGO)
> unitproperty 6
(Show the selected unit's Max Energy, usually refers as resource bar, such as mana, Tracer bullet, Chen's brew etc.)
> unitproperty energymax 10000
(Set the selected unit's Max Energy for 10000, usually refers as resource bar, such as mana, Tracer bullet, Chen's brew etc.)
> unitproperty 28
(Shows the base movement speed of selected units.)
> unitproperty basemovementspeed 10
(Set the base movement speed of selected units to 10. Note that base speed for heroes is 4.8398)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
๐ Players Library (LibPlayers.galaxy
):
Commands that are related to Players, eg, scoreboard, respawn timer, etc
(addalltalent
| aat
) <HeroId>
[PlayerId]
โ Description:
Add all talents to a player.
The HeroId
can be either the ID of <CHero id="xxx">
, which will add all of the talents from that hero to the player, or it can be ALL
, which will add ALL the talents in the game to the player.
Note: Some of the talents won't work, so you might want to experiment a bit.
โ Parameters:
<HeroId>
Required: true
Type: string
Usage: The talents from the Hero / all the talents in the game to be added from a player
[PlayerId]
Required: false
Type: integer
Usage: The target player id to have the talent being added.
Default: The player id of whoever used this command.
๐ง Examples:
> aat Tyrande
(Add all the talents from Tyrande to the player whoever uses the command)
> addalltalent Firebat 2
(Add all the talents from Blaze to Player 2)
> aat ALL
(Add ALL the talents from the game to the player whoever uses the command)
> addalltalent ALL 10
(Add ALL the talents from the game to the player 10)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(addqueststack
| aqs
) <stacks>
[PlayerId]
โ Description:
Add a specific amount of quest stacks to a player.
โ Parameters:
<stacks>
Required: true
Type: integer
Usage: The amount of stack to be added for a player
[PlayerId]
Required: false
Type: integer
Usage: The Player ID for the quest stacks to be added
Default: The player id of whoever used this command.
๐ง Examples:
> aqs 10
(Add 10 quest stacks to whoever uses this command)
> addqueststack 20 6
(Add 10 quest stack to Player 6.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(addtalent
| adt
) <TalentId>
[PlayerId]
โ Description:
Add a talent to a player, generally found in <CTalent id="xxxx">
.
Note: Some of the talents won't work, so you might want to experiment a bit.
โ Parameters:
<TalentId>
Required: true
Type: string
Usage: The talent id to be added
[PlayerId]
Required: false
Type: integer
Usage: The target player id to have the talent being added.
Default: The player id of whoever used this command.
๐ง Examples:
> addtalent MedivhForceOfWillArcaneExplosion
(Add Medivh's Arcane Explosion Talent to whoever uses this command)
> adt MalfurionCelestialAlignment 2
(add Malfurion's Celestial Alignment Talent to Player 2)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(difficultyai
| diffai
) [PlayerID]
[DifficultyID]
โ Description:
Get/Set the AI Difficulty for a Player.
The difficulty settings are below:
DifficultyId | Friendly Name (GameString.txt ) |
Galaxy Constant (AILib_h.galaxy ) |
---|---|---|
0 | Unknown | libAIAI_ge_HeroAIDifficulty_Null |
1 | Tuto1Enemy | libAIAI_ge_HeroAIDifficulty_HeroAITutorial1Enemy |
2 | Tuto1Ally | libAIAI_ge_HeroAIDifficulty_HeroAITutorial1Ally |
3 | TutoMMEnemy | libAIAI_ge_HeroAIDifficulty_HeroAITutorialMapMechanicEnemy |
4 | TutoMMAlly | libAIAI_ge_HeroAIDifficulty_HeroAITutorialMapMechanicAlly |
5 | Beginner | libAIAI_ge_HeroAIDifficulty_HeroAITryMeMode |
6 | Unknown | libAIAI_ge_HeroAIDifficulty_HeroAITryMeModeAlly |
7 | Beginner | libAIAI_ge_HeroAIDifficulty_HeroAIVeryEasy |
8 | Beginner | libAIAI_ge_HeroAIDifficulty_HeroAIVeryEasyWithHumanAlly |
9 | Recruit | libAIAI_ge_HeroAIDifficulty_HeroAIEasy |
10 | Recruit | libAIAI_ge_HeroAIDifficulty_HeroAIEasyWithHumanAlly |
11 | Adept | libAIAI_ge_HeroAIDifficulty_HeroAIMedium |
12 | Veteran | libAIAI_ge_HeroAIDifficulty_HeroAIVeryHard |
13 | Elite | libAIAI_ge_HeroAIDifficulty_HeroAIElite |
โ Parameters:
[PlayerID]
Required: false
Type: integer
Usage: The Player ID for the AI to be enable/disabled
Default: The player id of whoever used this command.
[DifficultyID]
Required: false
Type: integer
Usage: The difficulty to be set
Default: null
๐ง Examples:
> diffai
(Get the AI difficulty for whoever uses this command)
> diffai 2 11
(Set the AI difficulty for Player 2 to HeroAIMedium)
> difficultyai 6
(Get the AI difficulty for Player 6)
> difficultyai 7 9
(Set the AI difficulty for Player 7 to HeroAIEasy)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(disableai
| disai
) [PlayerID]
โ Description:
Disable AI for a Player.
Note: This will also disable AI for units summoned via
[summon units](#cmd-summon)
command.
โ Parameters:
[PlayerID]
Required: false
Type: integer
Usage: The Player ID for the AI to be disabled
Default: The player id of whoever used this command.
๐ง Examples:
> disai
(Disable AI for whoever use this command)
> disai 10
(Disable AI for Player 10)
> disableai 2
(Disable AI for Player 2)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(disabletalent
| dist
) <TalentId>
โ Description:
Disable a for all players. Generally found in <CTalent id="xxxx">
.
Note: This only lock the selection of the talent. If the player already took the talent, it will not have any effect on the player.
โ Parameters:
<TalentId>
Required: true
Type: string
Usage: The talent id to be disabled.
๐ง Examples:
> disabletalent RagnarosLavaWave
(Disable Rag's Lava Wave talent, similar to ARAM.)
> dist MaievUmbralBindPursuitOfVengeance 0
(Disable Maiev's Pursuit Of Vengeance talent)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(enableai
| enai
) [PlayerID]
โ Description:
Enable AI for a Player.
Note: This will also enable AI for units summoned via
[summon units](#cmd-summon)
command.
โ Parameters:
[PlayerID]
Required: false
Type: integer
Usage: The Player ID for the AI to be enabled
Default: The player id of whoever used this command.
๐ง Examples:
> enai
(Enable AI for whoever use this command)
> enai 10
(Enable AI for Player 10)
> enableai 2
(Enable AI for Player 2)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(enabletalent
| ent
) <TalentId>
โ Description:
Enable a disabled talent for all players. Generally found in <CTalent id="xxxx">
.
โ Parameters:
<TalentId>
Required: true
Type: string
Usage: The talent id to be enabled.
๐ง Examples:
> enabletalent RagnarosLavaWave
(Enable Rag's Lava Wave talent, which was disabled in ARAM.)
> ent MaievUmbralBindPursuitOfVengeance
(Enable Maiev's Pursuit Of Vengeance talent)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(experience
| xp
) <Amount>
[PlayerId]
[SourceId]
โ Description:
Gives Experience to a Specific Player.
The SourceId
can be represent as an Integer with the source value of:
SourceId |
Galaxy file constant |
---|---|
0 | libGame_ge_XPSources_Debug |
1 | libGame_ge_XPSources_Trickle |
2 | libGame_ge_XPSources_Minion |
3 | libGame_ge_XPSources_Creep |
4 | libGame_ge_XPSources_Hero |
5 | libGame_ge_XPSources_Structure |
6 | libGame_ge_XPSources_RegenGlobe |
โ Parameters:
<Amount>
Required: true
Type: integer
Usage: The amount of xp to be given
[PlayerId]
Required: false
Type: integer
Usage: The Player ID for the XP to be given to
Default: The player id of whoever used this command.
[SourceId]
Required: false
Type: integer
Usage: The integer value of the xp source
Default: 0
๐ง Examples:
> xp 10
(Grant 10 xp to whoever use this command)
> experience 100 6
(Grant 100 xp to Player 6)
> experience 100 1 2
(Grant 100 xp to Player 1 with its source set to minions)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(getcatalog
| gcl
) <CatalogReference>
[PlayerID]
โ Description:
Directly get a Catalog value (a.k.a XMLs) from a player.
The CatalogReference
string consist of three parts: <Category Type>,<Category Entry>,<Catalog Field Path>
separated by comma, whereas:
<Category Type>
: The type of the catalog, which usually is the "seconds word" of the entry. TakeCBehaviorBuff
as example, it consist of three parts:C
(Catalog)Behavior
(Type)<-- This One
Buff
(Sub-Type)- The value is the second "Capitalised Word":
Behavior
. Similarly,CAbilEffectInstant
, the value will beAbil
,CValidatorPlayerTalent
will beValidator
.
<Category Entry>
: The ID of the target Category. (id="xxx"
)<Catalog Field Path>
: The field path of the targeted<Category Entry>
.- Nested level uses
.
for representation. If the target field is notvalue="xxx", it need to be nested here as well.
- Arrays uses
[n]
to specify the numeric order - If an entry can exist multiple times with different index such as
<Flags>
, use[Index]
, such asFlags[AllowSelfCast]
- Nested level uses
Therefore, consider the following XML (extracted from wizarddata.xml
, Li ming's data file):
<?xml version="1.0" encoding="us-ascii"?>
<Catalog>
<!-- Data trimmed -->
<CWeaponLegacy id="HeroWizardWeapon" parent="StormHeroFastWeapon">
<Icon value="Assets\Textures\storm_temp_btn-upgrade-zerg-meleeattacks-level3.dds" />
<DisplayEffect value="WizardHeroWeaponDamage" />
<MinScanRange value="5.5" />
<Range value="5.5" />
<Period value="1" />
<PreswingBeforeAttack value="0.25" />
<PreswingBetweenAttacks value="0.25" />
<Effect value="WizardWeaponLaunchSwitch" />
</CWeaponLegacy>
</Catalog>
In order to get the reference to her Basic attack range, the CatalogReference
string will be Weapon,HeroWizardWeapon,Range
Another Example: (Extracted from firebat.xml
, Blaze's Data file)
<?xml version="1.0" encoding="us-ascii"?>
<Catalog>
<!-- Data trimmed -->
<CAbilEffectTarget id="FirebatJetPropulsion" parent="StormSkillshotDashParent">
<Effect value="FirebatJetPropulsionOffsetPersistent" />
<Cost>
<Vital index="Energy" value="45" />
<Cooldown TimeUse="10" />
</Cost>
<MoveLocation ProjectionDistanceScale="14" />
<CursorEffect value="FirebatJetPropulsionSquareSearchArea" />
<CmdButtonArray index="Execute" DefaultButtonFace="FirebatJetPropulsion">
<Flags index="AllowSelfCast" value="0" />
</CmdButtonArray>
<Activity value="Jet Propulsion" />
<CastIntroTime value="0.375" />
<ShowProgressArray index="Cast" value="1" />
</CAbilEffectTarget>
</Catalog>
In order to get his Jet Propulsion (E) Cooldown Reference, the CatalogReference
will be Abil,FirebatJetPropulsion,Cost.Cooldown.TimeUse
Another Example: (Extracted from stukovdata.xml
, Stukov's Data file: Stukov's Talent Biotic Armor
, gains 15 Armor to ally affect by healing pathogen)
<?xml version="1.0" encoding="us-ascii"?>
<Catalog>
<!-- Data trimmed -->
<CBehaviorBuff id="StukovHealingPathogenBioticArmorPhysicalArmorBehavior" parent="StormArmor">
<BehaviorCategories index="BuffResistant" value="1" />
<RemoveValidatorArray value="StukovTargetHasHealingPathogen" />
<ArmorModification>
<ArmorSet index="Hero">
<ArmorMitigationTable index="Basic" value="15" />
</ArmorSet>
<ArmorSet index="Merc">
<ArmorMitigationTable index="Basic" value="15" />
</ArmorSet>
<ArmorSet index="Monster">
<ArmorMitigationTable index="Basic" value="15" />
</ArmorSet>
<ArmorSet index="Summon">
<ArmorMitigationTable index="Basic" value="15" />
</ArmorSet>
<ArmorSet index="Structure">
<ArmorMitigationTable index="Basic" value="15" />
</ArmorSet>
<ArmorSet index="Minion">
<ArmorMitigationTable index="Basic" value="15" />
</ArmorSet>
</ArmorModification>
</CBehaviorBuff>
</Catalog>
In order to reference the armor value against Structure, the CatalogReference
will be Behavior,StukovHealingPathogenBioticArmorPhysicalArmorBehavior,ArmorModification.ArmorSet[Structure].ArmorMitigationTable[Basic]
.
โ Parameters:
<CatalogReference>
Required: true
Type: string
Usage: The Reference to the specific catalog field
[PlayerID]
Required: false
Type: integer
Usage: The Player ID for the catalog modification
Default: The player id of whoever used this command.
๐ง Examples:
> getcatalog Effect,WizardTeleportCalamityDamage,Amount
(Get Li-Ming's Calamity damage from whoever uses this command)
> gcl Abil,VarianCharge,Cost.Vital[Energy]
(Get Varian's Charge mana cost from whoever uses this command)
> gcl Behavior,Mounted,Modification.UnifiedMoveSpeedFactor 2
(Get the mount speed for all Heroes from Player 2)
> gcl Weapon,StukovHeroWeapon,Period
(Getl Stukov's Basic Attack speed from whoever uses this command)
> gcl Weapon,ChromieHeroWeapon,Effect
(Get Chromie's Basic Attack Effect from whoever uses this command)
> gcl Behavior,DehakaDarkSwarm,Modification.StateFlags[SuppressCollision] 2
(Get Dehaka's Dark Swarm Ability Suppress Collision flag value when active from Player 2)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(modifycatalog
| mcl
) <CatalogReference>
<value>
[PlayerID]
โ Description:
Directly modify a Catalog value (a.k.a XMLs) for a player in runtime.
For how to obtain and construct CatalogReference
, Please refer to the getcatalog
command.
Caveats:
- Some of the fields are READ-ONLY, meaning it cannot be modified, e.g
Unit,HeroChromie,PlaneArray[Air]
(Unable to make Chromie become an air unit like Medivh Raven). This would require an override to the XML instead (see modding.md). - The catalog modification is applied after parental inheritance, meaning that it is not possible to modify a parent (
parent="xxx"
) for its effect to apply to all child catalogs. You must need to do it on each of the child catalogs. - It is not possible "create" a value that does not exist after the map loaded. Meaning it can only modify value based on existed ones (after inherit attributes from parent)
โ Parameters:
<CatalogReference>
Required: true
Type: string
Usage: The Reference to the catalog field to be modified
<value>
Required: true
Type: float
Usage: The value to be set for the specified catalog field
[PlayerID]
Required: false
Type: integer
Usage: The Player ID for the catalog modification
Default: The player id of whoever used this command.
๐ง Examples:
> modifycatalog Effect,WizardTeleportCalamityDamage,Amount 9999
(Modify Li=Ming's Calamity damage to 9999 for the whoever uses this command)
> mcl Abil,VarianCharge,Cost.Vital[Energy] 5
(Modify Varian's Charge mana cost to 5 for whoever uses this command)
> mcl Behavior,Mounted,Modification.UnifiedMoveSpeedFactor -0.3 2
(Modify the mount speed for all Heroes to -30% (30% slower instead of faster) for Player 2)
> mcl Weapon,StukovHeroWeapon,Period 0.0625
(Modify Stukov's Basic Attack speed to 16 (1 second performs 16 attacks = 0.0625 period per AA) for whoever uses this command)
> mcl Weapon,ChromieHeroWeapon,Effect WizardWeaponLaunchSwitch
(Modify Chromie's Basic Attack to behave like Li-ming's Basic Attack (Shooting a Purple Missile) for whoever uses this command)
> mcl Behavior,DehakaDarkSwarm,Modification.StateFlags[SuppressCollision] 0 2
(Modify Dehaka's Dark Swarm Ability to no longer Suppress Collision When active (No longer pass though units) for Player 2)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(removealltalent
| rmat
) <HeroId>
[PlayerId]
โ Description:
Remove all talents from a player.
The HeroId
can be either the ID of <CHero id="xxx">
, which will remove all of the talents from that hero from the player, or it can be ALL
, which will remove ALL the talents in the game from the player.
Note: Some of the talents won't work, so you might want to experiment a bit.
โ Parameters:
<HeroId>
Required: true
Type: string
Usage: The talents from the Hero / all the talents in the game to be removed from a player
[PlayerId]
Required: false
Type: integer
Usage: The target player id to have the talent being added.
Default: The player id of whoever used this command.
๐ง Examples:
> rmat Tyrande
(Remove all the talents from Tyrande from the player whoever uses the command)
> removealltalent Firebat 2
(Remove all the talents from Blaze from Player 2)
> rmat ALL
(Remove ALL the talents from the game from the player whoever uses the command)
> removealltalent ALL 10
(Remove ALL the talents from the game from the player 10)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(removequeststack
| rqs
) <stacks>
[PlayerId]
โ Description:
Remove a specific amount of quest stacks from a player.
โ Parameters:
<stacks>
Required: true
Type: integer
Usage: The amount of stack to be removed from a player
[PlayerId]
Required: false
Type: integer
Usage: The Player ID for the quest stacks to be removed
Default: The player id of whoever used this command.
๐ง Examples:
> rqs 10
(Remove 10 quest stacks to whoever uses this command)
> removequeststack 20 6
(Remove 10 quest stack to Player 6.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(removetalent
| rmt
) <TalentId>
[PlayerId]
โ Description:
Remove a talent from a player, generally found in <CTalent id="xxxx">
.
Note: Some of the talents won't work, so you might want to experiment a bit.
โ Parameters:
<TalentId>
Required: true
Type: string
Usage: The talent id to be removed
[PlayerId]
Required: false
Type: integer
Usage: The target player id to have the talent being removed.
Default: The player id of whoever used this command.
๐ง Examples:
> removetalent MedivhForceOfWillArcaneExplosion
(Removed Medivh's Arcane Explosion Talent from whoever uses this command)
> rmt MalfurionCelestialAlignment 2
(Removed Malfurion's Celestial Alignment Talent from Player 2)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(resetoverlay
| rol
)
โ Description:
Remove all the overlays with the default one.
โ Parameters:
None
๐ง Examples:
> rol
(Remove all the overlays with the default one.)
> resetoverlay
(Remove all the overlays with the default one.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(respawnpoint
| rsp
) <Action>
[PlayerId/all]
โ Description:
Modify the respawn point for a player. Either at the current camera location or its default location.
โ Parameters:
<Action>
Required: true
Type: string
Usage: Choose the action of the command. (set = set the respawn location at camera location, reset = reset all respawn location)
[PlayerId/all]
Required: false
Type: integer/string
Usage: Set the player id for the spawn modification to take effect, use "all" for all players.
Default: The player id of whoever used this command.
๐ง Examples:
> respawnpoint set all
(set the respawn point for all players at the current camera location)
> rsp set
(set the respawn point to player who uses the command at the current camera location)
> respawnpoint set 6
(set the respawn point for player 6 at camera location)
> rsp reset 2
(reset player 2's respawn point to default location)
> rsp reset all
(reset all player's respawn point to its default respawn location (hall of storms).)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(respawntime
| rst
) <seconds>
โ Description:
Override the current respawn timer for all players.
Notice: Due to the system limitation, if you set to 0, it will change it to 0.0625 automatically (1 game tick).
โ Parameters:
<seconds>
Required: true
Type: float
Usage: The respawn time to be set for all players
๐ง Examples:
> respawntime 99
(set the respawn timer to 99 seconds)
> rst 0
(set the respawn timer to 0.0625 second)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(setmasteryring
| smr
) <MasteryRingLevel>
โ Description:
Set the Mastery Ring level. The ring below the hero will be automatically updated.
Note: If the new Level is lower than the current one, you may need to respawn(e.g suicide) the selected units.
โ Parameters:
<MasteryRingLevel>
Required: true
Type: integer
Usage: The level of the mastery ring to be set.
๐ง Examples:
> setmasteryring 0
(Remove the mastery ring from the player)
> smr 3
(Set the mastery ring to Level 3.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(setoverlay
| sol
) <OverlayPath>
โ Description:
Set the in-game overlay (e.g golden overlay for Uther's Divine Shield).
Note: The path is relative to
*.storm*/base.gamedata/
, usually with the extension of*.stormcutscene
.
โ Parameters:
<OverlayPath>
Required: true
Type: string
Usage: The path of the overlay file, relative to base.stormdata.
๐ง Examples:
> sol Cutscenes/GameUI_InvulnerableOverlay.StormCutscene
(Set the overlay to "Invulnerable", e.g Divine Shield / Sanctification.)
> setoverlay cutscenes\gameui_gorgeoverlay.stormcutscene
(Set the overlay to Stitches Gorge.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(setscore
| score
) <Field>
<Value>
[PlayerId]
โ Description:
Set the score for the scoreboard (some of them will shows in tab screen). This is good to use when some talents interact with scoreboard such as Zagara's Infest.
Note: Though Infest internal function limits to
524%
, max of fixed value, but details are out of scope here. You can obtain these FIELDs fromScoreValueData.xml
inheroesdata.stormmod
Note: Some fields uses Integer and some uses Fixed. However because this function is unified usingPlayerScoreValueSetFromInt()
, all decimals will be removed. As such, the max value for fixed is524287
and2147483647
for Integer. This limitation might change later.
โ Parameters:
<Field>
Required: true
Type: string
Usage: The field to be modified in the scoreboard.
<Value>
Required: true
Type: integer
Usage: The value to be set for the field in the scoreboard.
[PlayerId]
Required: false
Type: integer
Usage: The player id for the modification to be applied.
Default: The player id of whoever used this command.
๐ง Examples:
> setscore HeroDamage 0
(Set the field "Hero Damage" to 0 for the player who use this command.)
> score SoloKill 524287
(Set the field "Kills" to 5242873 for the player who use this command)
> score Healing 1000 2
(Set the field "Healing" to 1000 for the player 2)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(toggleai
| togai
) [PlayerID]
โ Description:
Toggle to enable/disable AI for a Player.
Note: This will also enable/disable AI for units summoned via
[summon units](#cmd-summon)
command.
โ Parameters:
[PlayerID]
Required: false
Type: integer
Usage: The Player ID for the AI to be enabled/disabled
Default: The player id of whoever used this command.
๐ง Examples:
> togai
(Toggle AI for whoever use this command)
> togai 10
(Toggle AI for Player 10)
> toggleai 2
(Toggle AI for Player 2)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(togglemassquest
| tmq
) [stacks]
โ Description:
Toggle mass quest completion mode to give stack every game tick (0.0625s) for whoever uses this command.
Note: This is useful on heroes with actual infinite stacking such as Zuljin or Nazeebo. However due to Integer / Floating Point overflow, after reached certain amount for the quest, the actual functionality will be overflowed, such as Nazeebo HP reduced to 1 if having max stacks with lv4 extra HP per stack
โ Parameters:
[stacks]
Required: false
Type: integer
Usage: The amount of stack to be added every game tick (0.0626s)
Default: 1
๐ง Examples:
> tmq 10
(Enable mass quest completion mode and give 10 stacks every game tick if not enabled)
> togglemassquest
(Disable mass quest completion mode if enabled)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(togglepausegametalent
| tpgt
)
โ Description:
Toggle whether to pause the game when viewing talents, similar to heroes tutorial.
โ Parameters:
None
๐ง Examples:
> tpgt
(Toggle whether to pause the game when viewing talents)
> togglepausegametalent
(Toggle whether to pause the game when viewing talents)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
(toggletalenttree
| ttt
)
โ Description:
Toggle the display of the talents selection tree.
โ Parameters:
None
๐ง Examples:
> ttt
(Toggle the display of the talents selection tree.)
> toggletalenttree
(Toggle the display of the talents selection tree.)
๐ผ UI Availability:
- โ Not Implemented
[Return to Table of Contents ๐งพ]
๐ Builder Mode Library (LibBuilderMode.galaxy
):
A Builder Library that allows you to place objects anywhere in the map.
This system is still in a early development.
Builder mode allows you to place objects to anywhere in the map. The units will constantly teleport to your cursor (follow your cursor). Remember to select /ac
and ts
in QA menu (this will added automatically in future development).
To use builder mode, select a unit, or units and press backspace
. Builder mode will then be activated and you can place the units where you like.
To place the unit(s), press backspace
again to deactivate builder mode.
[Return to Table of Contents ๐งพ]
๐ FPS Mode Library (LibFPSMode.galaxy
):
A First Person Shooter like Library that allows you to see the map in first person camera.
This system is still in a early development.
FPS Mode allows you to look at the map by using a first person camera on your unit. The camera will constantly look forward and turn as well as long as the mode is activated.
To toggle FPS mode, simply use the fps
chat command.
Controls:
u
: Move your unit forward. (It will also clear queue commands and Hold Position after moved.)โ (arrow key)
: Turn your unit and camera to left.โ (arrow key)
: Turn your unit and camera to right.โ (arrow key)
: Turn your camera upwards.โ (arrow key)
: Turn your camera downwards.
[Return to Table of Contents ๐งพ]
๐ Free Camera Mode Library (LibFreeCameraMode.galaxy
):
Free Camera Mode allows you to change the angle of the camera easily.
This system is still in a early development.
Free Camera Mode allows you to use Middle Mouse Wheel
to freely change your camera angel and direction.
To enable or disable, simply use the chat command tfc
or togglefreecamera
!
Note: Camera pan (move the camera by pushing mouse to the edge) will be disabled when free camera mode is active
[Return to Table of Contents ๐งพ]
๐ Funny Stuff Library (LibFunny.galaxy
):
Random useless stuff just for the lolz.
Vm0weE1HRnRVWGRPVmxwT1ZsZG9WRmxVU205alJsVjNWMjFHYUZKdVFsaFdiWFF3VmtkS1NGVnVjRnBXVmxsM1dWWmFTMWRYUmtsYVJscFhUVEF4TkZkV1dsWmtNbFpJVkd0c1ZXSkdTbGhXYlhoM1UxWmtXV05GZEZSaVZscFhWR3hhYjFReFdsVlNiV2hoVmpOQ1ExUnNSVGxRVVQwOQ==
[Return to Table of Contents ๐งพ]