SCRMaps
/
Sign in

Hardcoded per-unit exceptions

The cases where the dat edit is correct and the game still refuses - behaviour written against a unit id, which no edit reaches.

Explained in: Changing what units can do

Some behaviour is in no dat table at all. The executable branches on the unit id, so the value you edited is read and then ignored, with no error. When a setting is plainly right and the game still will not do it, this is the first place to look.

"…family" includes the unit's heroes - the Ghost family is Ghost, Stukov, Duran, Kerrigan and Infested Duran. The list below is cafebook's community catalogue rather than a measured table: read an entry as "expect this to fight you", not as a proven fact.

Abilities that refuse to transfer
CloakingOnly the Ghost family, Wraith family and Kerrigan. Give a Valkyrie the cloak button and the ability and it still will not cloak.
Siege ModeThe Siege Tank family only.
Queue productionReaver and Carrier families only. No Zerg-attribute building produces through the queue except the Infested Command Center.
ConstructionThe SCV alone. Cloning units.dat onto another Terran unit does not make it build.
Attack orderThe Medic cannot be given one.
Creation by triggerScarabs and Interceptors cannot be created by a trigger.
MoveLocationDoes not work on the Trap family.
GiveUnitsDoes not work on the Map Revealer or the Door family.
Units you cannot get hold of
Not clickableNuclear Missile, Scanner Sweep, Scarab, Dark Swarm, Disruption Web, Map Revealer, Doors.
Not multi-selectableCritters and the Spider Mine.
Map RevealerInvisible, no collision, and entirely absent from locations: neither a Bring condition nor Remove Unit at Location sees it. Only the location-less Remove Unit works.

Any bookkeeping that counts units in an area silently misses the Map Revealer. If your map uses one and counts by location, that count was wrong from the start.

Placement and death side effects
PowerupsForce-create, overwriting whatever occupies the spot.
BeaconsForce-create as long as the build-size check passes, and still do after being turned into a flyer.
Gas buildingsA destroyed gas building leaves a P12 Vespene Geyser behind.
HeroesCarry the speed, range and sight upgrades whether or not the hero flag is set. Vulture heroes are an exception.
Ranges tied to another field
The Arbiter's cloak radiusEquals the Arbiter's attack range.
The Ghost's nuke designation rangeEquals the Ghost's sight range.
ScourgeCloses to melee after the first attack however long its range is; neither Scourge nor Infested Terran attacks on Hold.
A Reaver with no Scarabs / a Carrier with no InterceptorsHold becomes Stop.
The Reaver's attack speedNot adjustable by ordinary means.

The Valkyrie's four-shot air attack and the Queen's refusal to attack anything but a half-health Command Center are iscript and AI respectively; the chapter's own comment thread corrects both. That is the general lesson: an exception with a mechanism is editable, an exception that is an id in the exe is not.

Cosmetic things that cannot be removed
The shield iconCannot be removed from a shielded unit.
The Scarab / Interceptor count iconCannot be removed from the Reaver and Carrier families.
A Civilian's rankA Civilian's rank cannot be shown.
Hyperion / Norad IIRenaming either pins the rank to stat_txt string 571, Admiral.
GantrithorKeeps stat_txt string 572, Tassadar, while it has its stock name, and loses the ability to show a rank once renamed.

Two of these are crashes rather than refusals. A Ghost-family unit flagged Single Entity crashes the game when it dies or is removed, and Mineral Field 1/2/3 and the Vespene Geyser crash when unit-ised. The comments contest the geyser - one whose image stays a geyser reportedly survives - but then neither Move nor Give works on it, and the report is from 1.16.1. Treat resource doodads as not unit-isable.