Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Stacking [men] Units
Stacking [men] Units
This topic is locked. You can no longer write replies here.
Oct 6 2009, 11:30 pm
By: Polkaman  

Oct 6 2009, 11:30 pm Polkaman Post #1



Hi! I have know about a stacking men unit feature for some time, it is displayed in this defence by Cecil :]

If you're lazy to look at the map, units are stacked in 1 box or etc. They can also be moved and selected, and attacked and moved. I am pondering on how to do this in triggers, and if it is possible to do the afore mentioned trigger/trick, but the units would be owned by a player. If anyone could help me ASAP, it would be sweet-cakes.

Thanx!

-Btw, I would be asking Cecil, btu he hasnt logged on. In ever. :(!

Attachments:
-Ethereal V1.1.scx
Hits: 4 Size: 51.56kb



None.

Oct 6 2009, 11:35 pm DavidJCobb Post #2



Perhaps this topic can be of use to you?



None.

Oct 6 2009, 11:47 pm Polkaman Post #3



Oh my. Thanks!



None.

Oct 7 2009, 12:14 am DavidJCobb Post #4



Happy to help. :)



None.

Oct 7 2009, 4:47 am Falkoner Post #5



That may actually not be what you are looking for(maybe it is, didn't check the map), but another method of stacking allows you to move them around on top of each other anywhere, without them trying to unstack, to do it, you place the unit as a disabled sprite(explained here) and you enable them using the Disable Doodad State trigger in-game, out of site, then order it once, give it at least a wait(0), and then it is stacked if it doesn't crash.



None.

Oct 7 2009, 7:55 am Wormer Post #6



Probably this is what you're looking for.



Some.

Oct 7 2009, 8:57 am rockz Post #7

ᴄʜᴇᴇsᴇ ɪᴛ!

It's disabled unit sprites, which have no collision box when enabled. That means you can only preplace them. Wormer and DavidJCobb showed you ways to stack units, but they can't actually attack (I don't think). Since falk's site got taken down, If you need help on how to place unit sprites, look them up in the wiki first, and if you still need help, ask in this thread.

nvm back up, it was 404d when I posted.

Post has been edited 1 time(s), last time on Oct 8 2009, 4:19 am by rockz. Reason: see strikethrough



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

Oct 9 2009, 11:15 pm Polkaman Post #8



Thanks guys. But is there any way to have the men units stacked, but with the properties of regular units? Like being able to attack and move freely and being commanded. This would also have to be done in a large amount of space, not forced into a 1x1 box. Any way to do this?


Also, Wormer for your way are those cramped units in the square, are they able to attack?



None.

Oct 10 2009, 1:00 am NudeRaider Post #9

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Lol why hasn't anyone told him about the enable thing before? IIRC it goes like this:

You disable a unit sprite in the editor as explained in some of the links above.
Then ingame you disable the unit, enable it twice, and order it a short distance. No player must have vision to the unit during this process or he will most likely crash. The unit sprite should now be stackable but otherwise work like a normal unit.

You can apply this only to very few units, as the others will crash StarCraft no matter what. Safe units (more or less) are marked with a "3" in this list.




Oct 10 2009, 1:16 am Polkaman Post #10



Hmm. So say I want to do this to a Terran Marine. I have to first put a sprite in ScmDraft and disable it?



None.

Oct 10 2009, 5:27 pm Falkoner Post #11



Quote
Then ingame you disable the unit, enable it twice, and order it a short distance. No player must have vision to the unit during this process or he will most likely crash. The unit sprite should now be stackable but otherwise work like a normal unit.

The Disable Enable Enable is if you want to cloak it, to stack it all you have to do is enable it and order it.

And yes, to do it to a marine you have to place a disabled sprite first, which is the main issue with this system, you can't make new ones in-game.



None.

Oct 10 2009, 5:33 pm Polkaman Post #12



So I can only limit myself to how many disabled sprites I put on the map?



None.

Oct 11 2009, 1:33 am rockz Post #13

ᴄʜᴇᴇsᴇ ɪᴛ!

yes, that's correct.



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

Oct 11 2009, 2:00 am Polkaman Post #14



That's a problem. So i guess there's no solution to just making regular units, like firebat, able to stack on top of eachother and attack regularly, but not crowded into 1 square. Right?



None.

Oct 11 2009, 10:00 am NudeRaider Post #15

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

right




Oct 11 2009, 5:14 pm Polkaman Post #16



Poo. I guess lock plz :P



None.

Oct 11 2009, 6:27 pm poison_us Post #17

Back* from the grave

Can you use the move command without the sprites unstacking?




Oct 11 2009, 7:13 pm rockz Post #18

ᴄʜᴇᴇsᴇ ɪᴛ!

Quote from poison_us
Can you use the move command without the sprites unstacking?
if they have not collision box, yes (ie, disabled sprites).



"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.
[04:59 am]
zsnakezz -- >:)
[04:59 am]
zsnakezz -- :)
[04:58 am]
zsnakezz -- somebody gets it
[04:58 am]
zsnakezz -- and its not all just numbers in my file screen
[04:57 am]
zsnakezz -- thank you for your comment though, good to know some people out there tried my map out
[04:57 am]
zsnakezz -- just kidding
[04:57 am]
zsnakezz -- ultra you have any thought or notes on undead invasion?
[2024-5-31. : 2:36 pm]
Wing Zero -- Bop em
[2024-5-31. : 2:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
Please log in to shout.


Members Online: Roy, Oh_Man