SCRMaps
/
Sign in

Units, Unit Sprites and Pure Sprites

Three things in the editor look like units. They are not the same thing.

11 min read

Beside the unit list there are two more: Unit Sprites and Pure Sprites. All three put something on the map and look similar in game, but they can do different things.

The three
UnitAn ordinary unit: triggers can count it, order it and kill it.
Unit SpriteThe same list as units. It selects with a rectangle rather than a circle, and you can set its owner.
Pure SpriteA pure graphic that is not a unit at all - terrain decoration and effects live here.

Unit Sprites have one real use: putting neutral buildings in a melee map. A melee map only allows start locations, Player 12's resources and critters - but place a Unit Sprite owned by Player 12 and you get a neutral building.

It has to be neutral. Placed under another player it does not come out as intended when the map runs as melee.

Double-clicking a Unit Sprite toggles Inactive and Active. Inactive is the default; Active produces a different oddity for every unit - uncontrollable, stuck repeating one motion, or invisible altogether.

Turning a sieged Siege Tank or a Goliath Unit Sprite Active hangs the editor on the spot, and saving in that state leaves a map file you cannot reopen - the whole thing is gone. Never set those two Active.

It is useful as well as dangerous. Every Active unit sprite has no collision size at all, which by itself makes it the cheapest decoration in the game. What else you get depends on the unit.

What Active gives you
No controlAll of them - decoration only.
Loops one motionSCV, Drone and the like become animated scenery.
Faces the other wayDark Templar, Larva - a statue that faces the other way.
InvisibleWraith, Dropship, most Terran air. With no collision either, this is an invisible anchor.
Looks half-builtNearly every Terran building - a believable construction site.
CrashesSiege Tank in either mode, Goliath, Probe, Archon, Dark Archon, and anything with a subunit.
Never created at allScarab, Interceptor.

An invisible or blinking building crashes the moment it takes damage, trying to render fire or bleeding. Killing it outright with a trigger is fine; letting it be chipped at is not. And "invisible" here still flashes an arbitrary frame of the unit now and then - sometimes the normal pose, sometimes the corpse. It is not a clean invisible.

Several units that crashed before Remastered now only leave a dolmen. "No longer crashes" is not "clean" - check the specific unit you intend to use. And this is Remastered behaviour: on 1.16.1 those units still crash, so a map that has to run on both does not get to use the dolmen entries.

There is a trigger-side member of the same family: Set Doodad State's Disable applied to something that is not a door - with a different result table again. Medic, a sieged Siege Tank and Goliath crash; a Marine disables into a cloaked state; many buildings turn invisible or plant a dolmen where they stand.

Two of those are worth knowing. Protoss buildings are alone in not losing control: with a pylon in range a disabled one still produces and researches, only the Shield Battery stops charging. And a cloak does not take properly on a unit you do not own - sharing vision with that player for a moment, or giving the unit over and back, settles it.

Two uses rather than hazards. An Active Terran building renders part-built, which is a free and convincing construction site; and the old habit of writing the author's name in units in a map corner was this - no collision, no control, nothing to maintain.

Why maps crash