Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Unit Sprites
[SOLVED] Unit Sprites
This topic is locked. You can no longer write replies here.
Aug 18 2012, 9:00 pm
By: Leeroy_Jenkins  

Aug 18 2012, 9:00 pm Leeroy_Jenkins Post #1



So, I was looking over this page http://www.staredit.net/?p=oldwiki&s=61 and it said in order to create a stackable zerg hydralisk, you must place a unit sprite, mark its disable box, enable it via triggers, then issue it to move to a new location.

I do not understand what I am doing wrong, but I did just that, and the map crashes at the beginning. I do not understand why. As long as the player's screen is not looking at the hydralisk being enabled, it should not crash, correct? Although, it seems almost immediately my map crashes. I am not sure what I am doing wrong. I'll attach the map in question but the triggers are messy so I'm not sure if that'll help.

Attachments:
Mario Party 2.scx
Hits: 2 Size: 109.15kb



None.

Aug 18 2012, 9:04 pm Roy Post #2

An artist's depiction of an Extended Unit Death

Did you read this line?
Quote from Old Wiki
Many of these are now incorrect, or have been verified otherwise. It is best to try it out for yourself.
Last time I checked, Hydralisks don't work. Zerglings work, though, so if you think you're doing the process wrong, try using one of those instead and see if the map still crashes.




Aug 18 2012, 9:07 pm Leeroy_Jenkins Post #3



Yeah that quote was referring to the old list above it, and then stated in the new list below it that hydralisks do in fact work. But I'll try a zergling.

Edit: Zergling still crashes?

Edit 2: So, the tutorial says
Quote
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.
So in the first line, it says to enable it, then tell it to move. In the second line, it says to tell it to move first?

Post has been edited 1 time(s), last time on Aug 18 2012, 9:12 pm by Roy. Reason: Don't triple post



None.

Aug 18 2012, 9:11 pm Roy Post #4

An artist's depiction of an Extended Unit Death

Well, what I mean by the quote is that this is volatile and changes with each patch. The "new" list in the old wiki was likely for an older patch, so some units listed on it could no longer work, and some units that it says do not work could work for the latest patch.

I remember Hydralisks working at one point, for sure, but I tried doing this maybe a month or two ago and was getting the same results you described.

You want to enable first, and then order it to move.

Post has been edited 1 time(s), last time on Aug 18 2012, 9:25 pm by Roy.




Aug 18 2012, 9:12 pm Leeroy_Jenkins Post #5



Okay, well then why is the zergling crashing?



None.

Aug 18 2012, 9:19 pm Roy Post #6

An artist's depiction of an Extended Unit Death

It shouldn't be. Is it near the top of the map? A rock sprite is created north of the unit, and if that sprite is created above the top edge of the map, it can cause stability issues.

I've attached an example map of this trick working for a Zerg Zergling. Note that it can't walk through units, but units can walk through it.

Edit: For completeness, I tried using the same map for a Hydralisk instead of a Zergling, and the game crashed. So it seems that Hydralisks indeed no longer work with this trick.

Attachments:
example.scm
Hits: 2 Size: 38.51kb

Post has been edited 1 time(s), last time on Aug 18 2012, 9:31 pm by Roy.




Aug 18 2012, 9:41 pm Leeroy_Jenkins Post #7



I figured it out... with a hydralisk :) Thank you though



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:19 am]
Linekat -- cool
[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
[2024-4-19. : 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
Please log in to shout.


Members Online: C(a)HeK