Disabled Sprite Effects

From Staredit Network Wiki
Revision as of 05:38, 23 November 2012 by DevliN (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Units placed as sprites in StarForge or Scmdraft 2 have a "Disabled" flag. Checking this flag can cause unusual things to happen to units. Below is a list of units and the effects the disabled flag has on them. Crashes occur in approximately half of the units. All non-unit disabled sprites (ID 228 or higher) do nothing or crash.

DisabledSpriteEffects01.pngDisabledSpriteEffects02.png


Old Reference

Many of these are now incorrect, or have been verified otherwise. It is best to try it out for yourself. The unique thing about unit sprites is that when placed disabled, then enabled via trigger, they create a rock sprite, and their collision box is completely removed, so that other units can walk over them (not vice versa though).

To accomplish this, you must place the sprite, disabled. Via triggers, enable it once, then order it to move to a different location. Ensure the player does not look at the units while they are being enabled.

Some of the units listed as crashing above will actually work, so long as you order the unit first. The onscreen image is what is being disabled/enabled, so any unit sharing that image (all the ghosts except Sarah Kerrigan) will have the same result.


Non-crashing disabled unit sprites

Terran

  • SCV
  • Marine
  • Firebat
  • Ghost
  • Civilian

Zerg

  • Larva (Can produce any Zerg unit except Infested Terran and Heroes)
  • Drone
  • Zergling
  • Hydralisk
  • Broodling
  • Scourge

Protoss

  • Dark Templar


Crashing disabled unit sprites

There are three types of crashes: Those that crash when you look at it, those that crash when you start the game, and those that crash when you see it on the minimap. The types of crashes haven't been fully researched, since it really doesn't matter.


Terran

  • Sarah Kerrigan
  • Goliath
  • Siege Tank (Siege Mode)
  • Siege Tank (Tank Mode)
  • Battlecruiser (see note)
  • Dropship (look) (see note)
  • Science Vessel (look) (see note)
  • Wraith (look) (see note)
  • Valkyrie

Zerg

  • Mutalisk
  • Queen (look)
  • Ultralisk
  • Lurker
  • Infested Terran
  • Infested Kerrigan
  • Devourer
  • Guardian
  • Overlord

Protoss

  • High Templar
  • Archon
  • Dark Archon
  • Reaver
  • Scarab
  • Probe
  • Zealot
  • Dragoon
  • Arbiter
  • Carrier
  • Corsair
  • Scout
  • Interceptor
  • Observer
  • Shuttle

Terran air is finicky, and can't display the upwards frame. There is a pretty good chance that the unit will be created such that an illegal frame is viewed, and the map will crash. If not, the unit is angled 45 degrees towards the bottom, always, which means if you tell the unit to fly up, it will look like it's traveling up and left or right. If you try to travel down in the lowermost 90 degrees, the game will attempt to display an illegal frame and crash. Battlecruisers do not crash when looked at, but other terran air does.