I am new to SC2 map creating. So my questions are probably very easy to answer for you smarties.
I have been all over youtube and these forums trying to figure this out, but i can not find the answer.
First, I learned how to make a hero and even give him abilities, but i can not figure out how to change his damage. I tried created a weapon and replacing his weapon with the new one. But that screwed up the sound and animation and didnt even change the damage.
Second, (this is a trigger problem but i didnt want to make a 2nd post) I would like to give the player a specifed mineral amount (ie. 1, 5, 10) depending on the type of enemy unit he kills. This would then be used to buy upgrades or more units of course. But I do not see anywhere in the triggers, "If player 1 kills XXXX unit"
Also, if you know of any good tutorials on here or youtube (not the ones telling me how to title my map, I'm not a complete moron). Or maybe someone who has several beginner ones posted please send me there.
1. Damages are effects, you can find the damage effect that is linked to a weapon under the Effect: Effect field of your weapon.
2. I haven't used it before, but I think there is an event that is called "Unit Dies", use that and then set an Integer Variable to something like (Owner of Unit (Last Attacker (Triggering Unit))) to get the player who killed it. I'm not 100% sure how the Last Attacker function works and if it's compatible with the "Unit Dies" event because I've never used it before, but I think it should be. I think there's also a function called "Killing Unit", I don't know if that's compatible with the "Unit Dies" event but it also sounds promising.
If you can't get it to work with the "Unit Dies" event try the "Unit Property Changes" event with some conditions to determine whether the unit died or not.
Check out my project:
In addition to what Bommes has said, you can have the damage of a weapon change throughout the course of the game using behaviors with Combat Modification values.
Combat-Modification Damage Dealt
Trigger, layout, interface specialist for Aeon of Storms.
thank you both.
anyone know of where i can find a few good tutorial videos teaching me some general basics?
OneTwoSC has plenty of interesting and helpful tutorials on youtube. here's a link to a tutorial on how to make a shotgun weapon. you can find the rest of them in his channel.
You can use Attribute type behaviours to boost the damage. Your second problem sounds like a faulty duped Action type actor. Third one could be solved witha buff that has a damage response when damage is fatal that uses a Modify Unit effect to give minerals or what not. Just check the large forum called tutorials on this site or look at the wiki.
Contribute to the wiki (Wiki button at top of page)
Considered easy altering of the unit textures?
For my public assets look here!
You must login to post a comment. Don't have an account? Register to get one!