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.
[03:20 am]
Symmetry -- Dang I'm up to 155 minerals gambling really pays off guys
[2026-10-11. : 6:02 am]
Donald -- Samase
[2026-10-09. : 2:53 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: I'll check it out this weekend!
Thanks
[2026-10-09. : 2:47 am]
Symmetry -- I'll check it out this weekend!
[2026-10-09. : 2:40 am]
Mr.BurnLiquid -- Symmetry
Symmetry shouted: Another map maker? Damn we really ARE back
I invite you to try out the map I modified. I don't have the creativity to create maps from scratch, but I do have the know-how to modify existing ones; my project is to tweak community campaigns (specifically those with errors—to make them playable.
[2026-10-09. : 2:27 am]
Symmetry -- Another map maker? Damn we really ARE back
[2026-10-09. : 1:51 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Now that I wanted to change my avatar, the error image is showing up, haha.
[2026-10-09. : 1:34 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Mr.BurnLiquid
Mr.BurnLiquid shouted: Ultraviolet Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
I invite you to try out a mission I'm modifying from *StarCraft Reversed*; I'm trying to make it more playable and challenging.
[2026-10-09. : 1:33 am]
Mr.BurnLiquid -- Ultraviolet
Ultraviolet shouted: Mr.BurnLiquid actually yeah though I wasn't really saying it to narc on you. It just caught me off guard because I don't usually see it (because it's against the rules) "The avatar may not be bigger than 150x150 pixels". Kinda silly that it relies on users to be well behaved rather than just limiting the dimensions on uploads :lol:
Thanks; I'm new to the site and a Spanish speaker. I must have missed the part where it was prohibited—I'll change it now.
Please log in to shout.


Members Online: lifebot, Milestone