Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Sprites & Sprite Units Question
[SOLVED] Sprites & Sprite Units Question
This topic is locked. You can no longer write replies here.
Dec 3 2011, 8:58 pm
By: IcY  

Dec 3 2011, 8:58 pm IcY Post #1

Cruisin' on that LSD

How would I go about creating unit sprites for multiple players that can walk through other units? Can these be detected by location? Thanks in advance




Dec 3 2011, 9:05 pm Roy Post #2

An artist's depiction of an Extended Unit Death

Check the flag "Active / Disabled (?)" in the sprite properties (assuming you use SCMDraft 2; also, make sure you click the sprite unit in the properties list, as it isn't automatically selected when the properties window comes up). Then enable the doodad state of the unit with triggers. This removes the collision but allows the unit to move around as normal. I forget if it sets the unit to an illegal frame, but it probably does, so after you enable it, order it to move somewhere (also make sure the player can't see this process happen, or else the player may crash from the game).

Here's the steps in a more organized fashion:

1) Place a Unit Sprite in an area players won't see it
2) Open the Sprite Properties (right-click -> Properties) and select the Unit Sprite
3) Check the "Active / Disabled (?)" flag
4) Make a trigger enabling doodad state for the Unit Sprite
5) Also have the trigger order the Unit Sprite to move

Keep in mind this does not work for some units. Unit Sprites can be detected using locations; they're just like regular units as far as triggers are concerned.

Post has been edited 2 time(s), last time on Dec 3 2011, 9:11 pm by Roy.




Dec 3 2011, 10:16 pm IcY Post #3

Cruisin' on that LSD

How do you make an area not visible to players who own units there?

Edit: I followed your instructions exactly and it still will not walk through units.

Post has been edited 1 time(s), last time on Dec 3 2011, 11:43 pm by Roy. Reason: Don't double-post




Dec 3 2011, 11:24 pm Lanthanide Post #4



Yeah, I'm pretty sure that a unit without bounding boxes cannot walk through other units, but other units can walk through/over it (if that makes sense). This makes it of rather limited utility.



None.

Dec 3 2011, 11:42 pm Roy Post #5

An artist's depiction of an Extended Unit Death

Lanthanide is correct; the unit can be walked through, but it itself cannot walk through things that still have collision.

Quote from IcY
How do you make an area not visible to players who own units there?
Make the unit owned by a computer and don't give it to a player until the process is complete.




Dec 4 2011, 1:27 pm rockz Post #6

ᴄʜᴇᴇsᴇ ɪᴛ!

http://www.staredit.net/starcraft/Sprites#Unit_sprites
Quote from wiki
For an easy look at how you would make sprites stackable, see: http://www.staredit.net/?file=270 The most stable units that can be used this way are:

Terran Marine (and Jim Raynor (Marine))
Terran Firebat (and Gui Montag)
Terran Ghost ([infested] Samir Duran, and Alexei Stukov)
Terran Civilian
Zerg Zergling (and Devouring One)
Protoss Dark Templar (and the hero variant)

Less stable units that can be used this way are:

Zerg Larva (Makes all built units, not buildings, have same effect)
Zerg Hydralisk
Protoss Zealot




"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:56 am]
Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
Please log in to shout.


Members Online: Zycorax, jun3hong, Oh_Man, Ultraviolet