Hello everybody!
This is my first post so before nothing I give thanks to all the sc2mapster comunity, at the moment the best place for learn about galaxy editor.
So here is my question:
I have done the "complete hero tutorial", including the videos for the wc3 abilities emutalion. After do this I have tried to add new abilities for my hero and I'm blocked with a thing.
My new ability is the slow down effect of the marauder to the enemies shooted. This is not an ability in sc2, it's an update with an effect, so I have some troubles for complete this:
- I have tried creating an investigate hability like when you buy that update in the barracks addon, but the icon of the update in the hero comand panel and the hability is available before purchase the hability (I think the problem is with the validators for this, I don't know exactly the code for get this, maybe something like CountUpdater(MarauderNades,CompleteOnlyAtUnit) < {MarauderNades }1) .
- I dont understand very well in the "complete hero tutorial" how you get than the effect of the hability change when you purchase a level in the ability, so I don't know how to get this with my "update ability" (the update turn on the slow down effect for the marauder weapon, Have I to make three effects with diferents validators for the same update? or maybe is better make three diferents updates like the way for the terran ground weapons? ..... )
I'm sure than exist diferent ways to get this, so if somebody could help me to found the way.....
Thanks !!
Hello everybody!
This is my first post so before nothing I give thanks to all the sc2mapster comunity, at the moment the best place for learn about galaxy editor.
So here is my question:
I have done the "complete hero tutorial", including the videos for the wc3 abilities emutalion. After do this I have tried to add new abilities for my hero and I'm blocked with a thing.
My new ability is the slow down effect of the marauder to the enemies shooted. This is not an ability in sc2, it's an update with an effect, so I have some troubles for complete this:
- I have tried creating an investigate hability like when you buy that update in the barracks addon, but the icon of the update in the hero comand panel and the hability is available before purchase the hability (I think the problem is with the validators for this, I don't know exactly the code for get this, maybe something likeCountUpdater(MarauderNades,CompleteOnlyAtUnit) < {MarauderNades }1) .
- I dont understand very well in the "complete hero tutorial" how you get than the effect of the hability change when you purchase a level in the ability, so I don't know how to get this with my "update ability" (the update turn on the slow down effect for the marauder weapon, Have I to make three effects with diferents validators for the same update? or maybe is better make three diferents updates like the way for the terran ground weapons? ..... )
I'm sure than exist diferent ways to get this, so if somebody could help me to found the way.....
Thanks !!
In bifuu's tutorial, though I haven't seen it, he might not have explained that just adding more effects corresponds to the level. Or maybe he did and you didn't catch it.
Either way you are confusing behavior (buff or passive ability) with effect.
Effect is a link that can be connected to ability or behavior.
If you are thinking about "passive ability" on heroes (i.e. learn-able ability), the ability (Class:behavior) linked to a behavior or behavior linked to another effect.
However, what you want is not a passive ability AT ALL but changing the effect that is attached to the attack on the unit.
Passive ability = unit linked to an ability, ability linked with behavior, behavior linked to effect
Attack effect (Orb effect in wc3) = unit linked to a weapon, weapon linked to effect (Class:set), the set effect is linked to a dmg effect and another effect (orb giving buff that causes slow, aoe, dmg over time etc etc)
If you want to do it your way, you have to use validators for orb effects on hero.
First have that "orb" effect linked to the negate buff ready.
I'll assume you already have normal weapon damage preset.
Make numerous effect (Class:set) that links dmg effect + your orb effect (multiple times equal to your level)
Should look like this
Effects under Weapon:
Effect DMG (mean without any orb effect at lvl 0)
Effect1 (set) - DMG,Orb1
Effect2 (set) - DMG,Orb2
Effect3 (set) - DMG,Orb3
Yay for redundancy; there is probably another way to make it less redundant but this method is quick anyway
make a validator to make corresponding to level.
That is:
Effect DMG is only available when level 0 of that ability (put the validator on the effect)
Effect1 (set) is only available when level 1
Effect2 (set) is only available when level 2
and so on...
If you are using missiles, which looks like you are, do the link the effect to the missile effect as well. I have no idea why but you have to link the effect to the missile as well as the weapon. The editor should link it it automatically, I can't think of any situation where the link is not needed (non-homing missile that still does damage even though the missile does not hit perhaps?).
Alternatively, and a method I'd use is making numerous weapons and enabling and disabling it with buffs. By creating passive abilities (Ability - Apply Behavior) and linking it to learn ability of hero, a behavior that replaces the weapon. However, You have to make a weapon for each level anyway. Still very redundant and will take you as long as your method but you can use that same ability for other heroes too.
Hi there again, now I have two new problems with icons and upgrading....
In my "heroLearn" ability "information" I have the two abilities for the hero (learn 1 and learn 2), and the command panel for the hero is well configurated too (3 incons in the first panel, two for abilities and the 3ยบ for the upgrade; and in second panel the two button for the ability upgrade). So the problems:
- If I upgrade an ability, no matter what ability I choose, the first one on the information of the learn ability is the only one than I can see its button on panel 1, and after look inside the panel 2 I see than the two abilities are upgraded, so all the abilities are upgraded at the same time and I cant use the second ability.
-The second ability is passive. If I setup it in command panel like pasive, I have the gray button from level 0, and if I setup it in command panel like ability command I have an active ability button...
Thanks again.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello everybody!
This is my first post so before nothing I give thanks to all the sc2mapster comunity, at the moment the best place for learn about galaxy editor.
So here is my question:
I have done the "complete hero tutorial", including the videos for the wc3 abilities emutalion. After do this I have tried to add new abilities for my hero and I'm blocked with a thing.
My new ability is the slow down effect of the marauder to the enemies shooted. This is not an ability in sc2, it's an update with an effect, so I have some troubles for complete this:
- I have tried creating an investigate hability like when you buy that update in the barracks addon, but the icon of the update in the hero comand panel and the hability is available before purchase the hability (I think the problem is with the validators for this, I don't know exactly the code for get this, maybe something like CountUpdater(MarauderNades,CompleteOnlyAtUnit) < {MarauderNades }1) .
- I dont understand very well in the "complete hero tutorial" how you get than the effect of the hability change when you purchase a level in the ability, so I don't know how to get this with my "update ability" (the update turn on the slow down effect for the marauder weapon, Have I to make three effects with diferents validators for the same update? or maybe is better make three diferents updates like the way for the terran ground weapons? ..... )
I'm sure than exist diferent ways to get this, so if somebody could help me to found the way.....
Thanks !!
NObody???
:(
In bifuu's tutorial, though I haven't seen it, he might not have explained that just adding more effects corresponds to the level. Or maybe he did and you didn't catch it.
Either way you are confusing behavior (buff or passive ability) with effect.
Effect is a link that can be connected to ability or behavior.
If you are thinking about "passive ability" on heroes (i.e. learn-able ability), the ability (Class:behavior) linked to a behavior or behavior linked to another effect.
However, what you want is not a passive ability AT ALL but changing the effect that is attached to the attack on the unit.
Passive ability = unit linked to an ability, ability linked with behavior, behavior linked to effect
Attack effect (Orb effect in wc3) = unit linked to a weapon, weapon linked to effect (Class:set), the set effect is linked to a dmg effect and another effect (orb giving buff that causes slow, aoe, dmg over time etc etc)
If you want to do it your way, you have to use validators for orb effects on hero.
First have that "orb" effect linked to the negate buff ready.
I'll assume you already have normal weapon damage preset.
Make numerous effect (Class:set) that links dmg effect + your orb effect (multiple times equal to your level)
Should look like this
Effects under Weapon:
Effect DMG (mean without any orb effect at lvl 0)
Effect1 (set) - DMG,Orb1
Effect2 (set) - DMG,Orb2
Effect3 (set) - DMG,Orb3
Yay for redundancy; there is probably another way to make it less redundant but this method is quick anyway
make a validator to make corresponding to level.
That is:
Effect DMG is only available when level 0 of that ability (put the validator on the effect)
Effect1 (set) is only available when level 1
Effect2 (set) is only available when level 2
and so on...
If you are using missiles, which looks like you are, do the link the effect to the missile effect as well. I have no idea why but you have to link the effect to the missile as well as the weapon. The editor should link it it automatically, I can't think of any situation where the link is not needed (non-homing missile that still does damage even though the missile does not hit perhaps?).
Alternatively, and a method I'd use is making numerous weapons and enabling and disabling it with buffs. By creating passive abilities (Ability - Apply Behavior) and linking it to learn ability of hero, a behavior that replaces the weapon. However, You have to make a weapon for each level anyway. Still very redundant and will take you as long as your method but you can use that same ability for other heroes too.
Wow, Thank you very much for taking the time for write all of that, I'm going to study it and try your first solution..
Hi there again, now I have two new problems with icons and upgrading....
In my "heroLearn" ability "information" I have the two abilities for the hero (learn 1 and learn 2), and the command panel for the hero is well configurated too (3 incons in the first panel, two for abilities and the 3ยบ for the upgrade; and in second panel the two button for the ability upgrade). So the problems:
- If I upgrade an ability, no matter what ability I choose, the first one on the information of the learn ability is the only one than I can see its button on panel 1, and after look inside the panel 2 I see than the two abilities are upgraded, so all the abilities are upgraded at the same time and I cant use the second ability.
-The second ability is passive. If I setup it in command panel like pasive, I have the gray button from level 0, and if I setup it in command panel like ability command I have an active ability button...
Thanks again.