Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Help on Unit Stack Sprite
Help on Unit Stack Sprite
Jan 18 2008, 2:03 am
By: Conspiracy  

Jan 18 2008, 2:03 am Conspiracy Post #1



Ok, me and a friend of mine are having a problem in the game we are making. We are trying to make it so some zerglings are stack ontop of other zerglings. But to do that, we have to do unit stack... Thats where we are having the problem, it crashes... things to know:

Crashes about 5-7 seconds in game.
No vision to it what so ever.
They ARE disabled sprites.
The triggers are like so:

Current Player brings atleast 1 zerg zergling to location x(where units are).

Center Location y(.25x.25 location) on zergling at location x for current player.
enable doodad state for zerg zergling owned by current player at location y.
wait 1 millisecond
order all zerg zerglings at location y move from location y to location z(store location)
preserve trigger
comment

Help?!



None.

Jan 18 2008, 2:20 am Fwop_ Post #2



Not all sprites work with this method (zergling may be one of those, I'm not sure). I assume you're using unit sprites?



None.

Jan 18 2008, 2:23 am Conspiracy Post #3



Correct we are using unit sprites
Also, it is a unit that can be stacked, but not cloaked. I did it in a test map, i had like 100 of them stacked...



None.

Jan 18 2008, 2:29 am Morphling Post #4



I have stacked and cloaked zerglings. I moved them then disabled,wait,enabled,enabled,wait,disabled,wait,enabled,enabled,order. That stacks and cloaks them.



None.

Jan 18 2008, 2:30 am Falkoner Post #5



Well, normally a zergling's disabled sprite will,
"Zergling, Devouring One - Create a rock sprite, crash immediately if looked at*"
Now, when you enable them, the player cannot be able to see it at all, not even on the mini-map, or it will crash.
And yes, I just tested, they stack just fine with no crash when done correctly.



None.

Jan 19 2008, 5:11 am Riney Post #6

Thigh high affectionado

Now as I am lazy to post all the triggers, I can tell you this.

Use the Unitspirite of the zergling, double click it, select the unit at the bottom of the dialog box and click the check "Enabled/Disabled ?" (Or something like that.)

Then do the Teleport unit, order unit, teleport unit again, and give to player trigger and it should work perfectly. Ive yet to see a unit that fails ;o



.riney on Discord.
Riney on Steam (Steam)
@RineyCat on Twitter

Sure I didn't pop off on SCBW like I wanted to, but I won VRChat. Map maker for life.

Jan 20 2008, 12:25 am Falkoner Post #7



I would do the disabling in StarForge, as SCM Draft is crappy when it comes to sprites.

Oh, and DarkMarine, try using a Corsair :P, all you have to do is Enable, wait, order, then you can do anything you want with it.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:48 am]
NimoStar -- plus most of the human APM is just spam clicking APM inflation
[08:47 am]
NimoStar -- the thing with the "*12" thing is completely misleading. The AI isn't using two control groups, it can use each of those actions to command a single unit individually and issue different commands to each single unit.
[08:06 am]
NudeRaider -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
*Pluto's wraiths
[08:05 am]
NudeRaider -- Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
[02:18 am]
Oh_Man -- Close enuf
[04:14 pm]
Vrael -- perhaps there is a small professional player trapped in a box in the server rack where pluto is running? hmm?
[04:14 pm]
Vrael -- 240*12*2 is 5760, where is the other 240 APM?
[03:44 pm]
Oh_Man -- 1 action is selecting the unit and another action is moving it
[02:58 pm]
Vrael -- 240*12 is 2880, where is the other 3000 APM?
[02:55 pm]
Oh_Man -- another arty stream
Please log in to shout.


Members Online: Roy, Vrael