I'm making a map where units slowly freeze and die unless they are heated by various means. I have a lot of triggers already but I'm not very good with the data editor, and because there will be a lot of units i don't think having a trigger handle all of the data would be very efficient and would probably very laggy in the end. So....
The Question
I want to know if there is any way to create a custom vital (akin to Health and Energy). The reason that I want a new vital is because I want to be able to have it appear on the units portrait and above the units heads when you hold down shift, as well as to have the data stored very locally for each unit.
I will give credit in my map to the person(s) who provides a complete solution.
In my Natural Selection map I essentially recreated "shields" as "armor", and used triggers to control how damage was split between them.
You can do a search in the Text module of the editor for Shields and then change that text to "Temperature" or whatever.
You can also change the color of the shield text in the Game UI category of the Data editor, and the color of the status bar under the individual unit Actors.
Problems:
Nothing can have actual shields. If this is not an issue for your map, then good.
All weapons and damage effects will need to bypass shields.
Your are fine i took no offence at all, im use to being critisized for my english I have to spend a good 10 minutes reveiwing my post to make it look professional hah
You can do a search in the Text module of the editor for Shields and then change that text to "Temperature" or whatever.
You can also change the color of the shield text in the Game UI category of the Data editor, and the color of the status bar under the individual unit Actors.
Would you mind going a bit more in depth on how you did this im very bad with the data editor
Edit: I think i will just adapt my map to use Energy for the Heat Vital, but i cant think of a way to rename the Energy.
In the SC2 Editor select "Modules"->"Text"
This is how the game reuses various common words or phrases. If you select data source as "core" and the other drop down as "(none)" you have a short list of common words used.
Energy:
Life:
Shields:
are stored here, so grab them from the list and just edit them in the window on the right. This will effect every place on your map that original used "Energy:" for example to be "Mana:" if you want.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm making a map where units slowly freeze and die unless they are heated by various means. I have a lot of triggers already but I'm not very good with the data editor, and because there will be a lot of units i don't think having a trigger handle all of the data would be very efficient and would probably very laggy in the end. So.... The Question I want to know if there is any way to create a custom vital (akin to Health and Energy). The reason that I want a new vital is because I want to be able to have it appear on the units portrait and above the units heads when you hold down shift, as well as to have the data stored very locally for each unit.
I will give credit in my map to the person(s) who provides a complete solution.
Another vital than energy, life or shield? I guess no. There is a custom resource which isn't used in the standard game, but no custom vital.
If you really need 4 vitals (and can't use minerals, gas,custom) then you will need to create your own system.
@Jarlaxle212: Go
In my Natural Selection map I essentially recreated "shields" as "armor", and used triggers to control how damage was split between them.
You can do a search in the Text module of the editor for Shields and then change that text to "Temperature" or whatever.
You can also change the color of the shield text in the Game UI category of the Data editor, and the color of the status bar under the individual unit Actors.
Problems:
@Jarlaxle212: Go
I must be the only one that gets a laugh out of the sometimes(often?) misspelt thread titles;p. Possiable?;p
Sorry, Continue.
@Rushhour: Go
Alright guess i'm on my own then, thank you anyhow. English is not my main language im Magyar (hungarian) in blood and language.
[reply=257251]
;p Im just playing with you. Or either my sense of humor is becoming fail, or, I dont know;p.
Dont take what I say too seriously.
@EternalWraith: Go
Your are fine i took no offence at all, im use to being critisized for my english I have to spend a good 10 minutes reveiwing my post to make it look professional hah
Would you mind going a bit more in depth on how you did this im very bad with the data editor
Edit: I think i will just adapt my map to use Energy for the Heat Vital, but i cant think of a way to rename the Energy.
.... you could create text tags on the units when the user holds the "shift" key down and remove them on the key up event...
In the SC2 Editor select "Modules"->"Text" This is how the game reuses various common words or phrases. If you select data source as "core" and the other drop down as "(none)" you have a short list of common words used.
Energy: Life: Shields:
are stored here, so grab them from the list and just edit them in the window on the right. This will effect every place on your map that original used "Energy:" for example to be "Mana:" if you want.