Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Detecting carried powerups
Detecting carried powerups
Jul 12 2017, 10:32 pm
By: Mimose  

Jul 12 2017, 10:32 pm Mimose Post #1



yea well... everything is mentioned in title^^
Is it possible to detect powerups ein carried around by workers?

At my actual map i use a revive system with powerups - unfortunaly two players are able to pick up those powerups (Khaydarin Crystal). In that case i made triggers to detect whether a player brings a crystal to a certain location and i encountered the issue that if the powerup is picked up its not any longer in that location (even if the worker stays at the same position where he did pick it up). Long story but thats not the point -
I was asking myself if its possible to detect a carried powerup?

Is the powerup just given to the player who picked it up?



None.

Jul 12 2017, 10:38 pm Voyager7456 Post #2

Responsible for my own happiness? I can't even be responsible for my own breakfast

When a unit picks up a powerup, the powerup actually stays in the same location, but is just made invisible and undetectable. The unit gets an image overlay to represent what it's carrying, but the powerup doesn't actually move. I don't think you would be able to detect it without EUDs.

Source: spent a while trying to detect carried powerups for a mod and found it incredibly annoying to do so, even with GPTP.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Jul 12 2017, 10:46 pm Mimose Post #3



Thanks for you fast reply.
But its really sad to read that - it would give UMS-maker a great feature to make missions :(



None.

Jul 13 2017, 2:47 am Oh_Man Post #4

Find Me On Discord (Brood War UMS Community & Staredit Network)

Wait that cant be right. Detecting powerups are how shuttle menu systems work.




Jul 13 2017, 3:09 am Voyager7456 Post #5

Responsible for my own happiness? I can't even be responsible for my own breakfast

You're right Oh_Man, I'm sorry. I was conflating powerups and resource chunks.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Jul 13 2017, 6:07 am Oh_Man Post #6

Find Me On Discord (Brood War UMS Community & Staredit Network)

Yeah so you can pull off what you're trying to do, you just need to choose from these powerups only:

Mineral Chunk 1/2
Vespene Box 1/2
Vespene Sac 1/2
Vespene Barrel 1/2

Another interesting thing about these, which you may or may not find useful, is that they have hp. They can be targeted and killed. The other powerups are invulnerable. You can set them to invincibile if you don't want this, however.




Jul 14 2017, 6:09 am rockz Post #7

ᴄʜᴇᴇsᴇ ɪᴛ!

What? No...

http://www.staredit.net/wiki/index.php?title=Quirks_and_nuances

Powerups are an integral part of the SC1 campaign. If player 1 brings player 12's powerup, it will detect as player 1's powerup however, and if you kill the worker, it will return to player 12 (flags are an exception). Note that "At most" doesn't work on held powerups.

Quote from Mimose
Is the powerup just given to the player who picked it up?
Essentially yes.



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

Jul 14 2017, 9:48 am Lanthanide Post #8



There's a whole section on Powerup Quirks on the wiki page rockz linked to. I wrote it all, after extensive testing for a Blood Pressure Marathon map I was making (but eventually abandoned because I used waits to create it, it was before I knew about hyper-triggers, and converting it to a wait-lock free system was far too much hassle).



None.

Jul 25 2017, 1:23 pm Stranger Post #9



rockz has it right.

That's something I used in some of my maps.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:53 pm]
Butch -- prob some weird character on a string somewhere or something dumb like that
[09:50 pm]
Ultraviolet -- It's weird indeed, not really sure what is so special about Spellsword that causes it to react differently on Remastered, usually EUDs are the cause of things like that
[05:35 pm]
Zoan -- I haven't played in like 2 years so maybe something changed I don't know about
[05:35 pm]
Zoan -- No-Name-Needed-II
No-Name-Needed-II shouted: Zoan No idea if anything changed.. I've made several maps that push TMOANC to the limit and they are still working.. 3 causes of it I've narrowed down are -Too many islands which some terrain on certain tilesets can create micro islands on cliff edges with basic isometric.. -Too many changes in elevation from high to mid to low ground.. -And too many tiles from certain doodads that block tank fire..
Any clue as to why a map which would previously work fine on past patches would now suddenly not work on the current remastered patch?
[05:34 pm]
Zoan -- I'll try Butch's suggestion of running in 32-bit, maybe that will fix it?
[05:34 pm]
Zoan -- Oh_Man
Oh_Man shouted: Did martiss' link not work?
It crashes as it does when you use EUD's incorrectly - like it closes starcraft and has the error window pop up with a ticket to send to Blizzard. I know it's not EUDs though since obviously spellsword doesn't use any, so IDK what it is.
[03:19 pm]
No-Name-Needed-II -- Zoan No idea if anything changed.. I've made several maps that push TMOANC to the limit and they are still working.. 3 causes of it I've narrowed down are -Too many islands which some terrain on certain tilesets can create micro islands on cliff edges with basic isometric.. -Too many changes in elevation from high to mid to low ground.. -And too many tiles from certain doodads that block tank fire..
[2022-5-23. : 12:21 am]
Oh_Man -- Wat precisely is wrong with spellsword now?
[2022-5-23. : 12:19 am]
Oh_Man -- Did martiss' link not work?
[2022-5-22. : 8:11 pm]
Zoan -- Also my KOTK maps all have the nooks and crannies issue when they didn't before; what changed?
Please log in to shout.


Members Online: Zergy, Roy, jjf28, RIVE