Warcraft Unit Editor

A Warcraft Unit Editor was added to Warcraft: Orcs & Humans as part of patch 1.20. It is accessed by running the executable file WAR_EDIT.EXE. It comes with a help file WAR_EDIT.TXT, which explains how to use it. 
The editor has four functions:
# EDIT MEN: Allows you to change the Attack Range (only applies to units capable of ranged attacks), Hit Points, Attack Damage (Random and Minimum), Time to Build, Gold and Lumber Cost, Decay Rate (how long summoned creatures remain in play). Some stats, such as movement speed and sight range, cannot be changed.
# EDIT BUILDINGS: Similar to the above, but for buildings. Obviously, Attack Range and Damage do not apply.
# EDIT SPELLS: Allows you to change the range of any spell, if applicable.
# EDIT TECHNOLOGY: Allows you to change the time required to research any given upgrade.
A modified executable file called WAR_HACK.EXE will be created after you save any changes; you must run this file if you want to play a game with the changes you've made. If you intend to play a multiplayer game, both players must use the same configuration file.
==Notes==
* While the editor uses the terms "Random Damage" and "Minimum Damage", these are rather inaccurate. There is no random factor involved in the damage calculations, the only difference between the damage types being that Random damage is reduced by the target's Armor, while Minimum is not. For this reason, the unit pages on this wiki use the Warcraft II terms Basic and Piercing Damage instead.
* All building, training, upgrade and research times are stored as a single byte in memory. In-game, the values are multiplied by 10, which turns a training value for a Peasant from 75 to 750 (which is the number of frames required to train the unit). While the multiplier is included for the units and buildings, the research and upgrades section are posted as raw values.
* Loading a save game created with WAR.EXE while playing WAR_HACK.EXE will give your units the HP from the original save file. Any changes will result in either smaller or larger bars that can overflow the normal bar limits.
* There are many units in-game that cannot be edited: Medivh, Wounded, Lothar, Garona and Griselda cannot have their values changed. The unused unit Dragon does not appear, along with the Blackrock and Stormwind buildings.
* Several values related to units cannot (normally) be edited, These include (while keeping in mind, there are no official descriptions for many of these): 
** Priority -- How important is it to attack this unit with auto-selecting a target. Catapults, major summons and Peasant/Peons rate very highly, which is why enemy combat units will (often) target them.
** Range -- All melee units cannot have their range edited, even though it is possible to extend. It is likely this is because all range attacks are tied to an attack sprite.
** Attack Sprite -- When attacking with a range attack (Even if the range is 1), a projectile is launched from the attacker (Fireball, arrow, etc.). There is also a value included for no sprite, which is the case of a melee attacker.
** Attack Sound -- What sound is made when the unit attacks a target.
** Selection size box -- When selecting a unit, a coloured box appears around it. 
** Pathing size -- How big the unit is and how other units move around it.
** Gold and Wood costs -- All units have this, but you can only edit the ones you can train / build.
Category:Warcraft: Orcs & Humans
Category:Software