General Test Commands
These commands can be executed at any moment. They don't require any unit selection.
Command | Effect |
-commandlistX | Show available test commands, where X = 1..3 |
-cl | alias for -commandlist |
-fogon and -fogoff | Toggle fog of war. |
-rune X Y | Spawn a rune of type X=[1-5] in rune spot Y=[1-2]. Use without parameters for a detailed hint. |
-crtnt X | Spawn a neutral camp of type X at the Sentintel's neutral spot between between the 2nd towers in bottom and mid line. Use -1 or -2as X to see a list of allowed Ancient and Big or Middle and Smallspawns. |
-ss | Spawn a Siege unit. Similar to -spawncreeps. |
-upgrade F X | Set the upgrade level for lane creeps in faction F to X (Use "n" for Sentinels, "u" for Scourge or no letter for both). Maximum level is 20. Note: upgrade level cannot be lowered. |
-ru X | Set the upgrade level for Roshan to X (each level gives 500 hp and 0.5 armor). Note: upgrade level cannot be lowered. |
-createheroX | Summon a hero at mid line. X can be the hero's unique number or name. |
-herolist T | Shows the list of heroes in tavern T which can be summoned by -createhero. Use without parameters for a list of tavern names. |
-revive | Revive last picked hero immediately. |
-ra/re/rc | Refresh All/Enemy/Allied units on map. |
Unit Specific Test Commands
These commands work on the selected unit. If no unit selected, they will target the last picked hero.
If none of these exist, these commands do nothing.
Command | Effect |
-agi X | Set the strength of the chosen hero to X. |
-str X | Set the agility of the chosen hero to X. |
-int X | Set the intelligence of the chosen hero to X. |
-owner X | Change the owner of the unit to another faction (0...15) |
-control | Set up owner of unit to Shared Control with you. |
-vision | Set up owner of unit to Shared Vision with you. |
-setms X | Set unit move speed (min - 100, max - 522) |
-chargesX Y | Set the charges for the item in slot X to Y. Not recommended for unchargeable items, but shouldn't crash anyway. |
-nc X | Set number of Shadow Fiend Necromastery souls. |
-debuff | Remove all positive and negative buffs from the unit. |
-invul | Toggles between vulnerable / invulnerable. |
-invis | Toggles between visible / invisible |
-pathon | Turn on unit pathing (cannot move through other objects) |
-pathoff | Turn off unit pathing true (can move through other objects) |
-xp X | Set the hero's xp to X. can only increase xp. |
-life X | Set HP of the chosen unit to X |
-mana X | Set MP of the chosen unit to X |
-wards | Give 1000 Observer Wards to the chosen hero. |
Changes to existing commands
Command | Effect |
-sc | alias for -spawncreeps |
-wtf | Can now be toggled at any moment. |
-lvlup X | Now works for any targeted unit. |
-kill | Now works for any targeted unit. |
-ms | Now works for any targeted unit. |
-refresh | Now works for any targeted unit. |
-r | Alias for -refresh |
Original Thread: http://www.playdota.com/forums/385709/dota-test-mode/
No comments:
Post a Comment