Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Help with Unit Sprites/stacking
Help with Unit Sprites/stacking
Aug 20 2009, 9:03 pm
By: MadZombie  

Aug 20 2009, 9:03 pm MadZombie Post #1



Hello everyone. I need help trying to recreate an effect made by Loveless in his "Zombie Arcade" map. For those of you who don't know what I'm talking about... well basically you own a unit that has 0 attack and (in the map) you get power ups, which are all weapons of some sort. The randomized power ups vary from machine guns (marines) to Flame throwers (fire bats). The weapon is 'equipped' by having marines (the machine gun for example) stacked on top of your 0 damaging unit so that the marines are your real weapon firing.

I kinda get how its done but I could really use a 'step-by-step'.

In scmdraft you set the sprites in a corner to be your "stock" to use. Your supposed to move them into an area where they are enabled (I think?) and then all enabled sprites are then ordered onto one spot (1x1 tile I guess) them from their constantly moved to your unit you want the marine/sprites to be stacked upon every time the original non sprite unit moves out of a small (inverted?) location.

Yes no? I've been testing some stuff out but none of them get close.

Edit: sorry about the title. I'm honestly not even sure what the name for this is exactly.

Attachments:
Zombie Arcade 0.1.scx
Hits: 6 Size: 162.29kb

Post has been edited 2 time(s), last time on Aug 20 2009, 10:57 pm by MadZombie.



None.

Aug 20 2009, 11:02 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

I've never done this, nor have I tried. However from my understanding it's like placing burrowed units under a unit which doesn't attack. If the unit moves, the burrowed unit move under him. If the unit doesn't move, they just sit there.

Start out small. What have you been testing?

There's only a few components:
Stacking the unit sprites (they are more units than they are sprites, which is why I clarified the title, unit sprites is a confusing name anyway).
Equipping/changing the weapon.
Ordering the unit to move to the player's location when it has moved.



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

Aug 21 2009, 3:12 am New-Guy Post #3



Actually, you need StarForge to do something like this.
Look at what you need to do here



None.

Aug 21 2009, 3:33 am Falkoner Post #4



You place a disabled sprite, and the minimum requirements are that you enable it, and send it an order out of view, I'm not certain what other actions you can perform within that, but those are the minimum requirements to get a stacked unit. You could also cloak them later with disable enable enable if that would add to your effect.



None.

Aug 21 2009, 4:32 am MadZombie Post #5



Quote from Falkoner
You place a disabled sprite, and the minimum requirements are that you enable it, and send it an order out of view, I'm not certain what other actions you can perform within that, but those are the minimum requirements to get a stacked unit. You could also cloak them later with disable enable enable if that would add to your effect.
It would add a nice touch, Now that I'm getting into this kind of stuff I love to over complicate thing just for 'the effect'

And no, you don't need Starforge for something like this. I finally got the units to stack the way I want them to except I ran into another problem because Loveless used inverted locations (I'm sure) and I didn't in my system. Inverted locations look like a breeze so its not really a problem. Thanks though Falkoner, I forgot to make my sprites disabled first. Your site told me about that but it says that you NEED Starforge. I think thats a bit outdated :l



None.

Aug 21 2009, 4:35 am Falkoner Post #6



Quote
Your site told me about that but it says that you NEED Starforge. I think thats a bit outdated :l

Meh, I still prefer to use SF to place them initially, then I copy and paste those into my map, I guess I should change it.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:40 pm]
Ultraviolet -- :wob:
[2024-5-28. : 8:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
[2024-5-23. : 3:50 pm]
Ultraviolet -- :wob:
[2024-5-23. : 6:26 am]
UndeadStar -- :wob:
Please log in to shout.


Members Online: Roy