Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Cancel upgrades?
Cancel upgrades?
This topic is locked. You can no longer write replies here.
Oct 31 2009, 5:06 pm
By: PearS  

Oct 31 2009, 5:06 pm PearS Post #1



So i'm playing some korean hero vs hero map and they have a common upgrade system. upgrade 'attacks' so your minerals get set to 1 so you can globally upgrade. But they also use minerals for armor by giving you 1000 mins for a 1000 mineral upgrade when you purchase the 'defense' upgrade. ok no problem. but the thing that im wondering is this: once you upgrade defense you have 1k mins sitting in your bank....so obviously you would try to upgrade your weapons. But it somehow knows that you are upping your weapons and removes the building then gives it back to you and resets the money.


BAH typing this it hit me how to do this. just ahve a trigger saying if the player has a strange number of minerals (ie. 994 or 993) that means that they used some of their 1k mins to upgrade weapons. so you'd just have to make the upgrade last long enough so the trigger can recognize this and fire to take the building away and reset the mins.

sorry for the dumb post....which i'm still posting cuz i typed the damn thing.

also. havent been here in years. missed it!



None.

Oct 31 2009, 5:14 pm Norm Post #2



Hola. Glad to see that you solved this one your own. Good luck with your map.



None.

Oct 31 2009, 5:47 pm rockz Post #3

ᴄʜᴇᴇsᴇ ɪᴛ!

Pretty sure the map is "Athlit", and also why you don't have instant ups.



"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.
[05:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[05:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[05:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[03:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[12:51 am]
Oh_Man -- definitely EUD
[09:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[09:35 pm]
Vrael -- that is insane
[09:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
Please log in to shout.


Members Online: Roy, lil-Inferno