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.
[2020-10-19. : 7:29 am]
C(a)HeK -- sraw531
sraw531 shouted: GGmano just fyi, might be a good idea in the future to link to the thread in the shoutbox when you reference a new thread
here it is - http://www.staredit.net/topic/18132/unread/#special
[2020-10-19. : 7:19 am]
sraw531 -- GGmano
GGmano shouted: i made a topic about it if anyone knows something about this please check the topic
just fyi, might be a good idea in the future to link to the thread in the shoutbox when you reference a new thread
[2020-10-19. : 4:46 am]
C(a)HeK -- SiberianTiger
SiberianTiger shouted: C(a)HeK yes correct it is a multiplayer map
Unfortunately, I don't have free time for multiplayer
[2020-10-18. : 10:06 pm]
SiberianTiger -- C(a)HeK
C(a)HeK shouted: GGmano I answered you as best I could
yes correct it is a multiplayer map
[2020-10-18. : 9:12 pm]
GGmano -- thanks c(a)hek
[2020-10-18. : 9:05 pm]
lil-Inferno -- mad AF
[2020-10-18. : 8:57 pm]
*KrayZee angrily uses a pen and fills in the circle for Joe Biden*
[2020-10-18. : 4:59 pm]
C(a)HeK -- GGmano
GGmano shouted: i made a topic about it if anyone knows something about this please check the topic
I answered you as best I could
[2020-10-18. : 2:01 pm]
GGmano -- i made a topic about it if anyone knows something about this please check the topic
[2020-10-18. : 2:00 pm]
GGmano -- hi all does anyone knows what difference save files does??
Please log in to shout.


Members Online: Roy, jun3hong, fford