Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: [SOLVED] Unit Upgrades
[SOLVED] Unit Upgrades
This topic is locked. You can no longer write replies here.
Jan 3 2012, 7:22 pm
By: alaska  

Jan 3 2012, 7:22 pm alaska Post #1



Is their a way to upgrade a unit (make melee or armor) upgrade with a trigger?
I am am making a map (an RPG style) and would like to upgrade a unit, without having my character run back to to the "city" to get their upgrade. I have another question, when peeps make spells for their maps, what's the commen ways to acitvate these? Or are their kinda a location specific action?



None.

Jan 3 2012, 7:40 pm Raitaki Post #2



The only way you can upgrade a non-unique upgrade via triggers is by using EUDs. You can allow a character to upgrade by giving them a building that lets them buy upgrades, and give them gas to upgrade as they play/level up. If you want to control which upgrade you want them to buy each time, you can make the damage upgrade cost 1 gas and the armor upgrade 100. When they're supposed to upgrade, center view on the building and give them just enough gas. Make the armor upgrade instant, but make the damage upgrade take, say, 5 seconds. When you give them 100 gas for an armor upgrade, set a switch and run a trigger that give the upgrade building to another player and back then refund the gas so that they won't upgrade weapon when you want them to upgrade armor. This system was used in Spellsword RPG, I think.

When people make spells for their maps, there are a plethora of things you can provide the players with to activate spells:
1) Give them a unit-producing unit, such as a hatchery, with each unit corresponding to a spell and its mana cost. When you detect a unit near that building, remove it and produce the corresponding spell effect. As the player progress, give them tech buildings to unlock more units for more spells.
2) A dropship spell system, where you load units (with labels) into a dropship/reaver/overlord via triggers, then detect which one the player unloads to produce the corresponding spell.
3) Give them units that are confined each in a secluded area. Tell the player to hotkey each of the units, and each time you detect the player moving their spell unit, move it back into its place and produce the spell.

Those are just the most common ways. You can use any other way you find convenient if you wish.



None.

Jan 3 2012, 7:58 pm Lanthanide Post #3



The standard weapon/armor upgrades work as described by Rai: there's no way to give a player them using triggers.

Other upgrades such as unit spells and abilities like zealot speed, marine stim and zergling burrow can be given to the player by having another player slot have these abilities/upgrades researched, and then give a unit with the upgrade from the other player slot to the human player. You can then remove or kill that unit after that - it's only purpose is to transfer the upgrade from the other player slot to the human player.

As for the spell casting system, there's a list of all sensible systems in the old wiki, although it isn't complete it does list the outline of each system, which is really the important part. We can help you with the specific triggers or other details for how to implement them if you need it: http://www.staredit.net/?p=oldwiki&s=27



None.

Jan 3 2012, 11:51 pm alaska Post #4



You guys are great, just wanted to say that, ok other question I had that had came to mind is without EUD, is their any other triggers conditions, or actions that can be downloaded? Haven't found really any information on the subject.



None.

Jan 3 2012, 11:58 pm Raitaki Post #5



What do you mean by downloadable conditions/actions? Can you state it more clearly?



None.

Jan 4 2012, 12:05 am alaska Post #6



As in I can get additional trigger actions and conditions to implement into a map editor from a reliable source via the internet, that is not an EUD. Or to simply answer this as yes or no "Is a EUD trigger a trigger that is created by a non-blizzard source?".



None.

Jan 4 2012, 12:44 am jjf28 Post #7

Cartography Artisan

If you have the latest SCMDraft you should have all avaliable actions (which means the actions from blizzards editor and a few that were hidden, but used in campaign maps (AI scrips) (sidenote: EUD actions are not supported in the latest SCMDraft, seeing as how they don't work with the current starcraft patch)

EUD's were not made by blizzard.

beyond the yes/no

Collapsable Box




TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Jan 4 2012, 6:11 am Vrael Post #8



Quote from alaska
As in I can get additional trigger actions and conditions to implement into a map editor from a reliable source via the internet, that is not an EUD. Or to simply answer this as yes or no "Is a EUD trigger a trigger that is created by a non-blizzard source?".
Technically speaking, a EUD is a trigger created by a non-blizzard source. The Condition "Deaths" was created by blizzard, but the values used for EUD actions require a non-blizzard map editor. Typically here at staredit we assume SCMDraft to be the standard for map editors, despite the fact it is a 3rd party editor, non-blizzard. SCMDraft does not support any modding features, that is, features which are unplayable on battle.net. However, using EUD conditions is quasi-unsupported by battle.net, in the sense that nearly every new patch release by blizzard changes the values that EUD actions use, making old EUD maps and actions invalid, and rendering the old maps unplayable on new patches. Hopefully this answer is clear enough for you, if not, please ask again regarding your concerns. You cannot create EUD triggers from the original StarEdit provided by Blizzard.

Quote from alaska
I had that had came to mind is without EUD, is their any other triggers conditions, or actions that can be downloaded? Haven't found really any information on the subject.
Essentially no. SCMDraft does provide additional AI scripts that StarEdit does not have, but no additional trigger conditions or actions. SCMDraft also provides a number of other features that the original StarEdit does not support.



None.

Jan 4 2012, 8:26 am Roy Post #9

An artist's depiction of an Extended Unit Death

Quote from jjf28
If you have the latest SCMDraft you should have all avaliable actions (which means the actions from blizzards editor and a few that were hidden, but used in campaign maps (AI scrips) (sidenote: EUD actions are not supported in the latest SCMDraft, seeing as how they don't work with the current starcraft patch)
A couple things to elaborate on from this comment:

1) The "Memory" condition found in the latest SCMDraft is not a new condition. It's using the existing "Deaths" condition but showing it in the UI differently.
2) That sidenote is factually incorrect. EUD actions are only unsupported in the text trigger editor, and the reasoning is because SI never got around to including support for it. You can make EUD Actions in the Classic TrigEdit without an issue.

Quote from Vrael
The Condition "Deaths" was created by blizzard, but the values used for EUD actions require a non-blizzard map editor.
If we're going for technicalities: Blizzard's StarEdit UI doesn't allow you to input the values that cause the overflow we know as EUDs. You can write an EUD/EPD and open the map in StarEdit just fine; you could even modify the trigger in StarEdit if you wanted to (but the UI would try to fix the number that was outside of StarEdit's range if you tried changing the actual value). I would argue an EUD is not an independent creation, but rather an exploit to an existing condition/action. So, my answers to the questions:

Quote from alaska
As in I can get additional trigger actions and conditions to implement into a map editor from a reliable source via the internet, that is not an EUD. Or to simply answer this as yes or no "Is a EUD trigger a trigger that is created by a non-blizzard source?".
No, you cannot get additional trigger actions and conditions (if you could, that would be classified as a mod anyway, so you'd need everyone to run some external program if they wanted to play the map). No, an EUD is using the existing "Deaths" condition and "Set Deaths" action.

Almost anything you may consider to be "new" regarding mapping is really just a feature that was restricted from the old StarEdit program (e.g., "new" AI scripts are just existing AI scripts that were hidden in StarEdit).




Jan 4 2012, 8:37 am Vrael Post #10



Quote from Roy
Quote from Vrael
The Condition "Deaths" was created by blizzard, but the values used for EUD actions require a non-blizzard map editor.
If we're going for technicalities: Blizzard's StarEdit UI doesn't allow you to input the values that cause the overflow we know as EUDs. You can write an EUD/EPD and open the map in StarEdit just fine; you could even modify the trigger in StarEdit if you wanted to (but the UI would try to fix the number that was outside of StarEdit's range if you tried changing the actual value). I would argue an EUD is not an independent creation, but rather an exploit to an existing condition/action. So, my answers to the questions:
That's what I meant. Also I didn't mean actions, as you've crossed it out, I meant any EUD function, which are currently restricted only to using EUD trigger Conditions as far as I know for the map to be playable on battle.net without a 3rd party program.


Edit:
Also technically, you can give the reaver scarab damage upgrade via triggers + computer players like the other techs, though you'd need 1 computer player per scarab upgrade lol.

Post has been edited 1 time(s), last time on Jan 4 2012, 8:48 am by Vrael.



None.

Jan 4 2012, 6:06 pm alaska Post #11



You all have Definitly answered my questions with Awsome detail and clarity..I like this fourm. Good community here so far.



None.

Jan 4 2012, 6:20 pm Sacrieur Post #12

Still Napping

Is this single player? I did devise a system for this if it is.



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]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[01:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[01:05 am]
Vrael -- that's better
[12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Roy, Oh_Man