Map Test Commands

DotA never had any decent testing and debugging possibilities. Test commands in IceFrog's old maps were too basic and couldn't cover every possible testing scenario (that's why DotA test mode even appeared). It turned testing to the next level, where you were able to check literally everything on your own, without asking someone else to test something in 1v1 with you, or having to rely on for third-party tools.

Now, in DotA Allstars, everything and more has been ported from DotA test mode map. Some commands weren't ported due to their negliglible value - you can simulate all of them freely anyway, using other commands.

  • These commands are only available in single player, like Secret Shop at the base. You cannot use them at local lobbies.
  • If the command operates with unit, it's always the selected unit(s), except stated otherwise.
  • Object IDs can be found in game files and are required only for professional bugtesters.
ADVERTISEMENTS
CommandEffectExample
-nhlAlias for -noherolimit. Heroes stay available after pick. In Single Player active by default (taverns always available).
-rRefreshes selected unit(s), restoring their HP/MP and resetting cooldowns
-scSpawn creeps (alias for -spawncreeps)
-bAdds "Blink" ability to selected unit(s). This is global cast range blink with no cooldown or manacost.
-xyShows coordinates of selected unit(s)
-sxy X YSet selected unit(s) position to X/Y-sxy 0 0
Result: unit will appear at center of the map
-ep STRINGSpawns special effect STRING on position of selected unit(s)-ep war3mapImported\Orchid.mdx
Result
-et POINT STRINGSpawns special effect STRING on POINT bone of selected unit(s)-et overhead war3mapImported\Orchid.mdx
Result
-tint R G B ASet selected unit(s) color schema to R G B A values -tint 255 0 0 255
Result
-tint 100 100 255 100
Result
-giGet selected unit(s)'s ID
-removeCompletely removes selected unit(s) from game. May cause malfunction of some triggers, do not use it unless you know what are you doing.
-controlShares all player's control with Blue player
-cShares all player's control with Blue player. Alias for -control.
-hp XSet selected unit(s)'s hit points to X. Can't increase maximum hitpoint amount.
-mp XSet selected unit(s)'s mana points to X. Can't increase maximum mana amount.
-anim XMake selected unit(s) play animation X. If number specified, plays animation by it's number.-anim move
-anim 4
-setms XSet selected unit(s)'s movespeed to X-setms 500
-o XSet selected unit(s)'s ownership to player X (0-15)-o 1
-ai XAdds item by ID to selected unit(s). ID's can be found at game files. Before 6.84B5 spawned item has no owner, so it's muted for everyone. Use -pm mode to unlock them.-ai I0A3
Result: adds Buriza to selected unit(s)
-ha XMakes ability X hidden for player who owns selected unit(s). ID's can be found at game files.-ha A00H
Result: Rhasta's ultimate unavailable.
-aa XAdds ability X to selected unit(s). ID's can be found at game files.-aa A00S
Result: Adds Hoof stomp
-sa X YSet ability X's level to Y, if selected unit(s) has this ability. ID's can be found at game files.-sa A00S 3
Result: Hoof stomp now level 3
-ra XRemove ability X from selected unit(s). ID's can be found at game files.-ra A00S
Result: Removes Hoof stomp
-gt XCheck if unit has "unit type X" classification by number. Uses ConvertUnitType() native.-gt 1
-gt 2
-au XSpawns unit with ID=X at center of the map. Spawned unit always belong to yellow player. ID's can be found at game files.-au H00S
Result: spawns Storm
-gn XShows name of object with ID=X. ID's can be found at game files.-gn H00S
Result
-d XCreates X Centaurs for Pink player. If no number specified creates a single unit.-d 3
Creates 3 Centaurs
-kKills selected unit(s)
-scale #Set selected unit(s)' model scale to # multiplier (1 - normal)-scale 1.5
-ts #Set selected unit(s)' animation speed to # (1 - normal)-ts 1.5
-fogAlias for "iseedeadpeople" cheat (doesn't work in online games)
-gAlias for "-gold 999999"
ADVERTISEMENTS

D1Map© 2009 - 2024. Made with by Jesus "Allah" Christ