I'm starting fresh with the StarCraft 2 Map Editor, and I have a question regarding unit filters. With filters such as Biological, Light, Mechanical, Armored, etc, I was wondering if it's at all possible to add additional filters to the list. Actual map creation may vary, but let's say for example that I'm going to create an RPG-style custom map. In it, I want the hero, when equipping a specific weapon, to do additional damage if the target is labeled Undead. Or if the enemy is Demonic, certain equipped weapons will do no damage at all. Is it possible to add additional filters like these to the current list? Or will I have to actually code an individual unit's filter? If the latter, or neither one, what solution should I be looking for?
Any help will be greatly appreciated, and thank you in advance.
@JCManowar:
From what I heard, you can't add additionnal "attributes" (light, biological), but you can modify existing one.
You can use "hover" attribute and change it in undead that'll do.
It's a bit limited but I think 10 attributes is enough to have a decent "weak to/resistant to" gameplay.
edit : then if you really want more attributes to play with, you can leave the common "light, armored, mechanical" things and use attribute-type behavior. They'll not work and be placed on UI the same way but you'll be able to create plenty of them.
I guess that will have to do for now, unless it gets changed. I'll wait to see if any other opportunities arise in this thread, but thank you for the advice.
Okay. I have created 'Attribute-type' Behaviors to use for my units, but now comes another problem. How can I get unit abilities to see and act differently upon a unit's attribute? I'm having difficulty creating validation for finding the attribute behavior on a unit.
Hello everyone,
I'm starting fresh with the StarCraft 2 Map Editor, and I have a question regarding unit filters. With filters such as Biological, Light, Mechanical, Armored, etc, I was wondering if it's at all possible to add additional filters to the list. Actual map creation may vary, but let's say for example that I'm going to create an RPG-style custom map. In it, I want the hero, when equipping a specific weapon, to do additional damage if the target is labeled Undead. Or if the enemy is Demonic, certain equipped weapons will do no damage at all. Is it possible to add additional filters like these to the current list? Or will I have to actually code an individual unit's filter? If the latter, or neither one, what solution should I be looking for?
Any help will be greatly appreciated, and thank you in advance.
@Yaos01:
I guess that will have to do for now, unless it gets changed. I'll wait to see if any other opportunities arise in this thread, but thank you for the advice.
Okay. I have created 'Attribute-type' Behaviors to use for my units, but now comes another problem. How can I get unit abilities to see and act differently upon a unit's attribute? I'm having difficulty creating validation for finding the attribute behavior on a unit.
This will be my last bump.