I sent the following PM to Bifuu and rasive, but I figured it can't hurt to post this question here and see if anyone will be able to help me figure out what is going on.
I'm having a couple problems and I'm hoping one or both of you are going to be able to help me out here.
First Problem (possibly more rasive's field than bifuu's): NOT YET SOLVED BUT NOW A DIFFERENT ISSUE
I was able to successfull create the chain lightning according to rasive's tutorial and everything worked perfectly all the way through everything rasive specifically covered. In the end I had a chain lightning effect that would bounce about 10 times. I then tried to apply what I learned from bifuu's tutorial about leveling abilities. I made 5 levels of every piece of the chain lightning ability except for the counters and reset counters. I went back through rasive's tutorial and did everything exactly the same again except that I would use the appropriate level of effect/behavior, e.g. set1 points to damage1 and applybehavior1, etc.
When I was done replicating everything, I created 5 versions of the Start Set effect that pointed to the 5 versions of the Set effect. I then placed these 5 versions of the Start Set effect in to the Chain Lightning Ability. Everything seems to work normally (The ability says that it is level 1 in game and has the appropriate level 1 damage and cost) except that no matter what I set the validator to for counting the count buff, the Chain Lighting will hit only 3 targets including the original.
I thought that maybe it was related to having multiple levels of effects on the ability but not having it set up to learn yet, which leads me to issue number 2.
Second Problem (probably more bifuu's area): SOLVED - USE COMMAND CARD 3 INSTEAD OF 2
I created the Learn Abilities (ability) that points at chain lightning at learn index 1. I set it to 1 point to start and 1 point per level. I created the Learn Ability button and the Learn Chain Lightning button. I went to the hero unit and gave him the Learn Abilities (ability). On the command card I added the button for Learn abilities (the colored zerg transfusion button), I set it to Submenu, no requirement, command card 2, and Learn Abilities (ability). I went to command card two and added the Learn Chain Lightning button set it to Ability command, no requirement, and Learn Abilities (ability).
However when I get in the game, I see the Learn Abilities button (with 2 stacks) but when I click on it I don't see the learn chain lightning button. I double checked and there are no requirements set on the Chain Lightning ability.
Any help would be appreciated and I can provide more details if needed.
Thanks in advance.
P.S. In the end I eventually copied even the counters, counter resets, and validators and it made no difference on issue 1.
For issue 1: I did read something somewhere about a kind of limit of connected effects. Maybe you did come across that? Dunno, hard to tell. Try removing the higher level effects from the ability and test, if its still the same when the ability uses the same effect on all levels.
Issue 2: Does your unit have the chain lightning ability in the abilities+ field? Stupid question maybe, but everything you described seems to be correct for me.
In the beta I used to have some problems with the 2nd command card, all my learn abilities use the 3rd command card; maybe this issue still exists? (dunno what the problem was, though, however 2nd card failed like 30% of the times, while 3rd card 100% worked)
@BorgDragon, thanks for the advice, it was good to see it can be done without that as well, but I like it showing the stack of remaining points.
@Kueken531
Issue 1: I will have to copy the map and remove all extra levels of the ability and see what happens. I really can't find any reason why it's limited to 3 targets (2 jumps).
Issue 2: OMG THANK YOU! Moving it to Command Card 3 worked. I was able to see my chain lightning and put two levels in to it.
Out of curiosity. What is going to happen when I try to add a second ability to the "Learn Abilities" ability. The button for Learning Chain Lighting seems to be tied directly to the Learn abilities and not a particular field within it. If I put two buttons on command card 3 that both tie to Learn Abilities, will it somehow magically know which ability it is I mean to learn/level?
@Kueken531 Issue 1: I will have to copy the map and remove all extra levels of the ability and see what happens. I really can't find any reason why it's limited to 3 targets (2 jumps).
No need to remove everything, just remove the link of the ability to the lvl 2+ effects.
Out of curiosity. What is going to happen when I try to add a second ability to the "Learn Abilities" ability. The button for Learning Chain Lighting seems to be tied directly to the Learn abilities and not a particular field within it. If I put two buttons on command card 3 that both tie to Learn Abilities, will it somehow magically know which ability it is I mean to learn/level?
When you set your learn button in command card 3, it should look something this way:
Command Type: Ability Command
Requirements: (None)
Ability: Learn Abilities
Ability Command: Learn Chain Lightning (this gets picked automatically, maybe you did not notice)
At the last point you can obviously choose, which ability to learn. If no name shows up for you in this field, you need to specify a default button in the learn ability for the chain lightning.
I tried removing the link to the higher levels and it didn't seem to help. However I hadn't removed the higher level costs and cooldowns yet, I'll try that too.
As to the other, thanks for pointing out the default button thing. I guess if you only have one ability within a "learn ability" ability (lols) then it just defaults to that one. I assigned a default button to the learn chain lightning and it now showed up as selectable under "Ability Command". Again, thanks a bunch.
Something is permanantly screwed up with this ability :(
I have removed the references to levels 2+ from the ability, as well as the cost and range increases. I have removed all the higher level effects, behaviors, etc and I even removed the "Learn Abilities" from the hero unit, but it simply will not go past 3 units anymore.
Good thing, so its not any limit or something, you just screwed up the ability when copying and re-linking everything :) Good luck finding that, though.
lol, I'm not even sure it's something I can find. I will be very put out if I have to completely redo this ;p
Edit: Yeah, I've even gone back and renamed the abilities that I had added a '1' to for identification purposes. As best as I can tell the ability is back to the way it was before I tried adding levels to it. I even removed the validator from the ability altogether so that it's not even checking for buff counts anymore, it should just keep on going indefinitely. Why 3? lol, why not 2 or 4...why is the ability capped at 3 hits when there isn't even anything stopping it from applying the chain lighting buff anymore.
So, after completely stripping the ability, I went and started replacing each piece of chain lighting with a new hand made version. Only when every last piece was replaced (I don't know if it was coincidence that damage was the last one I did or not) did the chain lightning start to hit multiple targets again. I went to the original non stripped down version and tried just replacing damage and it's a no go. So I have to replace at LEAST damage with new effects, hehe. Joy of joys.
Edit: Now I just feel like an idiot. If I lower the damage such that it will not kill a unit I get full bounces. Death seems to screw with the bounces. If the damage is high enough to one shot units I get 2 bounces, period.
Now what I need help with are suggestions on how to get full bounces even if it kills its targets.
Argh, thought you would know that already -.- . I could have indeed save you some work here :D.
This is generally a problem when using behaviors and a timed delay between jumps. The only solution I know of is to set the Death Time of units to a value bigger than the jump time of the chain lightning; however, this pretty much screws up the beam actor and I have not been able to work around this one so far (didn't try that hard, though)
You could always use zero delay, which works perfectly. However it kinda sucks visually as well.
I haven't had a chance to implement this theory yet...but couldn't we theoretically tie the search effect to the beginning of the buff instead of the end and then have the end of the buff effect trigger the damage instead of the set effect?
Anyone have any ideas on how to fix this. If my chain lighting is enough to kill targets outright, then it will do 3 and only 3 targets. I'm not exactly sure what happens if it's not enough to one shot but kills half way through the chain. That's been pretty hard to test.
See the original post for the method I based my chain lightning off of.
Like already said, set the death time of all your units to be greater than the jump time, the mechanical part of the chain lightning should work then (just the visuals might be a little off)
I saw that and I guess I completely misunderstood what you meant by it. Where do I set the death time? Is that a stat on the unit itself? I'll look tonight. Thanks,
I sent the following PM to Bifuu and rasive, but I figured it can't hurt to post this question here and see if anyone will be able to help me figure out what is going on.
Thanks first of all to both of you for your awesome tutorials. Specifically I'm referring to: http://forums.sc2mapster.com/resources/tutorials/11613-data-recursive-chain-lightning-medium-difficulty/ from rasive http://www.sc2mapster.com/api-docs/getting-started-with-galaxy-edit/complete-hero/ from bifuu
I'm having a couple problems and I'm hoping one or both of you are going to be able to help me out here.
First Problem (possibly more rasive's field than bifuu's): NOT YET SOLVED BUT NOW A DIFFERENT ISSUE
I was able to successfull create the chain lightning according to rasive's tutorial and everything worked perfectly all the way through everything rasive specifically covered. In the end I had a chain lightning effect that would bounce about 10 times. I then tried to apply what I learned from bifuu's tutorial about leveling abilities. I made 5 levels of every piece of the chain lightning ability except for the counters and reset counters. I went back through rasive's tutorial and did everything exactly the same again except that I would use the appropriate level of effect/behavior, e.g. set1 points to damage1 and applybehavior1, etc.
When I was done replicating everything, I created 5 versions of the Start Set effect that pointed to the 5 versions of the Set effect. I then placed these 5 versions of the Start Set effect in to the Chain Lightning Ability. Everything seems to work normally (The ability says that it is level 1 in game and has the appropriate level 1 damage and cost) except that no matter what I set the validator to for counting the count buff, the Chain Lighting will hit only 3 targets including the original.
I thought that maybe it was related to having multiple levels of effects on the ability but not having it set up to learn yet, which leads me to issue number 2.
Second Problem (probably more bifuu's area): SOLVED - USE COMMAND CARD 3 INSTEAD OF 2
I created the Learn Abilities (ability) that points at chain lightning at learn index 1. I set it to 1 point to start and 1 point per level. I created the Learn Ability button and the Learn Chain Lightning button. I went to the hero unit and gave him the Learn Abilities (ability). On the command card I added the button for Learn abilities (the colored zerg transfusion button), I set it to Submenu, no requirement, command card 2, and Learn Abilities (ability). I went to command card two and added the Learn Chain Lightning button set it to Ability command, no requirement, and Learn Abilities (ability).
However when I get in the game, I see the Learn Abilities button (with 2 stacks) but when I click on it I don't see the learn chain lightning button. I double checked and there are no requirements set on the Chain Lightning ability.
Any help would be appreciated and I can provide more details if needed.
Thanks in advance.
P.S. In the end I eventually copied even the counters, counter resets, and validators and it made no difference on issue 1.
If you make a button call a submenu, this is what it should look like
It would seem you put Learn Abilities in the Learn Ability field.
For issue 1: I did read something somewhere about a kind of limit of connected effects. Maybe you did come across that? Dunno, hard to tell. Try removing the higher level effects from the ability and test, if its still the same when the ability uses the same effect on all levels.
Issue 2: Does your unit have the chain lightning ability in the abilities+ field? Stupid question maybe, but everything you described seems to be correct for me.
In the beta I used to have some problems with the 2nd command card, all my learn abilities use the 3rd command card; maybe this issue still exists? (dunno what the problem was, though, however 2nd card failed like 30% of the times, while 3rd card 100% worked)
€
His setup is correct for a learn ability.
Without putting the Learn Ability into the field, the learning will still work, but the remaining points will not show as stack of the learn icon.
@BorgDragon, thanks for the advice, it was good to see it can be done without that as well, but I like it showing the stack of remaining points.
@Kueken531 Issue 1: I will have to copy the map and remove all extra levels of the ability and see what happens. I really can't find any reason why it's limited to 3 targets (2 jumps).
Issue 2: OMG THANK YOU! Moving it to Command Card 3 worked. I was able to see my chain lightning and put two levels in to it.
Out of curiosity. What is going to happen when I try to add a second ability to the "Learn Abilities" ability. The button for Learning Chain Lighting seems to be tied directly to the Learn abilities and not a particular field within it. If I put two buttons on command card 3 that both tie to Learn Abilities, will it somehow magically know which ability it is I mean to learn/level?
No need to remove everything, just remove the link of the ability to the lvl 2+ effects.
When you set your learn button in command card 3, it should look something this way:
At the last point you can obviously choose, which ability to learn. If no name shows up for you in this field, you need to specify a default button in the learn ability for the chain lightning.
I tried removing the link to the higher levels and it didn't seem to help. However I hadn't removed the higher level costs and cooldowns yet, I'll try that too.
As to the other, thanks for pointing out the default button thing. I guess if you only have one ability within a "learn ability" ability (lols) then it just defaults to that one. I assigned a default button to the learn chain lightning and it now showed up as selectable under "Ability Command". Again, thanks a bunch.
Something is permanantly screwed up with this ability :(
I have removed the references to levels 2+ from the ability, as well as the cost and range increases. I have removed all the higher level effects, behaviors, etc and I even removed the "Learn Abilities" from the hero unit, but it simply will not go past 3 units anymore.
Good thing, so its not any limit or something, you just screwed up the ability when copying and re-linking everything :) Good luck finding that, though.
@Kueken531: Go
lol, I'm not even sure it's something I can find. I will be very put out if I have to completely redo this ;p
Edit: Yeah, I've even gone back and renamed the abilities that I had added a '1' to for identification purposes. As best as I can tell the ability is back to the way it was before I tried adding levels to it. I even removed the validator from the ability altogether so that it's not even checking for buff counts anymore, it should just keep on going indefinitely. Why 3? lol, why not 2 or 4...why is the ability capped at 3 hits when there isn't even anything stopping it from applying the chain lighting buff anymore.
So, after completely stripping the ability, I went and started replacing each piece of chain lighting with a new hand made version. Only when every last piece was replaced (I don't know if it was coincidence that damage was the last one I did or not) did the chain lightning start to hit multiple targets again. I went to the original non stripped down version and tried just replacing damage and it's a no go. So I have to replace at LEAST damage with new effects, hehe. Joy of joys.
Edit: Now I just feel like an idiot. If I lower the damage such that it will not kill a unit I get full bounces. Death seems to screw with the bounces. If the damage is high enough to one shot units I get 2 bounces, period.
Now what I need help with are suggestions on how to get full bounces even if it kills its targets.
Argh, thought you would know that already -.- . I could have indeed save you some work here :D.
This is generally a problem when using behaviors and a timed delay between jumps. The only solution I know of is to set the Death Time of units to a value bigger than the jump time of the chain lightning; however, this pretty much screws up the beam actor and I have not been able to work around this one so far (didn't try that hard, though)
You could always use zero delay, which works perfectly. However it kinda sucks visually as well.
@Kueken531: Go
I haven't had a chance to implement this theory yet...but couldn't we theoretically tie the search effect to the beginning of the buff instead of the end and then have the end of the buff effect trigger the damage instead of the set effect?
@Arangarx: Go
Anyone have any ideas on how to fix this. If my chain lighting is enough to kill targets outright, then it will do 3 and only 3 targets. I'm not exactly sure what happens if it's not enough to one shot but kills half way through the chain. That's been pretty hard to test.
See the original post for the method I based my chain lightning off of.
Like already said, set the death time of all your units to be greater than the jump time, the mechanical part of the chain lightning should work then (just the visuals might be a little off)
@Kueken531: Go
I saw that and I guess I completely misunderstood what you meant by it. Where do I set the death time? Is that a stat on the unit itself? I'll look tonight. Thanks,
yep its a unit stat. Default is 0