First time poster, just introduced to the sc2 editor about two weeks ago. Having a blast. Anyways:
I've created a hero unit using OneTwo's tutorials and made my own changes. I managed to get a passive ability called Bulletproof working, with 20 trainable ranks, where each rank gives a 3% boost to Life Armor.
Problem: Life Armor doesn't seem to like being an item, unlike weapon. I have a simple inventory system working with a weapon slot, and I've got 3 weapons and they all work interchangeably and its great. I duplicated the process to make an armor slot. I had to use a behavior to give a life armor bonus.
Now I'm...a bit lost. It doesn't work as I had hoped. The hero's Life Armor always displays as blank and 0. The behavior works, and I'll get 0 + 1 Life Armor, but it doesn't stack with the Bulletproof passive ability that should, ideally, be adding its buffs onto the total armor of the unit. Also, for some reason, when I equip the armor item in the armor slot, I lose the ability to move, attack, or do much of anything. Almost like when equipped my unit is "becoming" the inanimate armor or something. I can get my move/attack commands back if I drop the armor item.
So there's probably 10 different problems at work here. How can I approach this?
First, recreate the behavior. Something must have gone horribly wrong when you made it... Make sure its of type "buff" and has an infinite duration.
About no additional armor gains... Armor multipliers only increase base armor i think - I know i tried multiplying my heroes armor ages ago and it wouldn't increase more than 1 time. I recommend just using a fixed value for the increase, like 0.2 armor or w/e.
And welcome to mapster :)
I hereby present you the welcome present of allowing you to buy us all a round of drinks. Pepsi plz.
And if you need any more help, feel free to PM me :) I'm making a hero siege map (and am mostly done with it. I'm having a hard time tracking down and killing the last few bugs, which could be because i actually don't work on it that much.), so since you are working on something with heroes as well i guess that falls into my area of expertise ;)
My main issue right now is the equipping thing. I narrowed it down to the Armor Slot + having Equip checked off. If I don't check that box, naturally, the item does not equip and the behaviour does not apply. I have no movement issues in this case.
The second I have the item Equip, as it should, my hero unit suddenly can't move. My only option at that point is to drop the armor item. Is something in the Behaviour causing this?
I would have happily watched a tutorial to figure out how to make a proper Armor inventory slot but I haven't seen a tutorial do it yet. OneTwo only does a weapon and a junk item. I took his tangential advice and just copied how I made the weapon inventory slot for the armor, but this is happening...And I haven't a clue why? If someone could point me to one, that'd be great too.
Right, as I said, I've been using OneTwo's tutorials for most of my learning so far.
He never directly covers Armor, just a weapon and a junk item. However, he was right and duplicating most of the stuff for a Weapon did end up working. My editor was just being...strange. I deleted the behaviour buff and remade the exact same thing, and everything worked perfectly.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hi all,
First time poster, just introduced to the sc2 editor about two weeks ago. Having a blast. Anyways:
I've created a hero unit using OneTwo's tutorials and made my own changes. I managed to get a passive ability called Bulletproof working, with 20 trainable ranks, where each rank gives a 3% boost to Life Armor.
Problem: Life Armor doesn't seem to like being an item, unlike weapon. I have a simple inventory system working with a weapon slot, and I've got 3 weapons and they all work interchangeably and its great. I duplicated the process to make an armor slot. I had to use a behavior to give a life armor bonus.
Now I'm...a bit lost. It doesn't work as I had hoped. The hero's Life Armor always displays as blank and 0. The behavior works, and I'll get 0 + 1 Life Armor, but it doesn't stack with the Bulletproof passive ability that should, ideally, be adding its buffs onto the total armor of the unit. Also, for some reason, when I equip the armor item in the armor slot, I lose the ability to move, attack, or do much of anything. Almost like when equipped my unit is "becoming" the inanimate armor or something. I can get my move/attack commands back if I drop the armor item.
So there's probably 10 different problems at work here. How can I approach this?
First, recreate the behavior. Something must have gone horribly wrong when you made it... Make sure its of type "buff" and has an infinite duration.
About no additional armor gains... Armor multipliers only increase base armor i think - I know i tried multiplying my heroes armor ages ago and it wouldn't increase more than 1 time. I recommend just using a fixed value for the increase, like 0.2 armor or w/e.
And welcome to mapster :)
I hereby present you the welcome present of allowing you to buy us all a round of drinks. Pepsi plz.
And if you need any more help, feel free to PM me :) I'm making a hero siege map (and am mostly done with it. I'm having a hard time tracking down and killing the last few bugs, which could be because i actually don't work on it that much.), so since you are working on something with heroes as well i guess that falls into my area of expertise ;)
Okay, still not much progress.
My main issue right now is the equipping thing. I narrowed it down to the Armor Slot + having Equip checked off. If I don't check that box, naturally, the item does not equip and the behaviour does not apply. I have no movement issues in this case.
The second I have the item Equip, as it should, my hero unit suddenly can't move. My only option at that point is to drop the armor item. Is something in the Behaviour causing this?
I would have happily watched a tutorial to figure out how to make a proper Armor inventory slot but I haven't seen a tutorial do it yet. OneTwo only does a weapon and a junk item. I took his tangential advice and just copied how I made the weapon inventory slot for the armor, but this is happening...And I haven't a clue why? If someone could point me to one, that'd be great too.
http://www.youtube.com/view_play_list?p=AE2AD4DC5E8FF7AE
This has the works from exp to abilities to items and shops. Hope this is what you are after. You need to get the item behaviour to add the armor.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Right, as I said, I've been using OneTwo's tutorials for most of my learning so far.
He never directly covers Armor, just a weapon and a junk item. However, he was right and duplicating most of the stuff for a Weapon did end up working. My editor was just being...strange. I deleted the behaviour buff and remade the exact same thing, and everything worked perfectly.