• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Multishot

Status
Not open for further replies.
Level 7
Joined
Dec 14, 2012
Messages
192
Hello there.


I wish to create a poisoning multi-shot ability, id est: Hit 3 targets with basic attack damage and poison them.

So far, I settled for the less beautiful compromise of using a bouncing ability and then triggering a dummy unit to attack the hit targets with a poisoned attack. Works fine so far, but I'd like it much more if my unit would fire off 3 shots at the same time.


I tried it with the Barrage ability, but the problem is... It did not work at ALL. Did absolutely nothing, no matter what I did. If you can enlighten me on how it works, please tell - but take note that I already tried out all the usual suspects(Targets allowed, removing techtree requirements, setting range etc. etc.)


I'd be very pleased if you could help me out here~
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
Well it doesn't work that way. If you want a multi-shot ability, use triggers to add a Poison ability + Multi-shot ability which is barrage...

But to make barrage work, Change this value to 3 or whatever ( I think that's what you didn't notice )
' Combat - Attack 1/2 - Maximum Number of Targets '

Basically barrage will respond to this value...

I believe you want like Tyrande's multi poisoning shots ability in X Hero Siege, right ? :D
 
Level 7
Joined
Dec 14, 2012
Messages
192
Well it doesn't work that way. If you want a multi-shot ability, use triggers to add a Poison ability + Multi-shot ability which is barrage...

But to make barrage work, Change this value to 3 or whatever ( I think that's what you didn't notice )
' Combat - Attack 1/2 - Maximum Number of Targets '

Basically barrage will respond to this value...

I believe you want like Tyrande's multi poisoning shots ability in X Hero Siege, right ? :D
Ehh.. Maybe I want it like that, no idea ^^"

I tried the number of targets both for barrage and my units set to "3". I even enabled both attacks. Yet, no matter what I did, it did not fire 3 shots.

And as I said: I already triggered the poison(It proccs on a damageevent caused by the unit in question) - and that one works. If I just could get this goddamned Barrage ability to work >.<
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
Hmm, guess you should follow these steps to create a proper barrage ability, values should not interfere. I mean : Barrage's maximum number of targets is set to 9, but the unit's maximum number of targets is 3, it wouldn't recognize it.

Follow these :
-In the object editor, make a new custom ability based on the unit ability Barrage.
-Make area of effect the same as your units range, so the multiple shot doesn't shoot farther.
-Change the missile speed and missile arc to the same values as your unit.
-Set the desired amount of damage.
-Remove any Tech-tree requirements used for the ability.

Last, we calculate the number of targets we want.
-Unit already gets 1 for normal attacks.
-Unit already gets 1 for having barrage.
-Unit already gets 1 for the number of targets.
-If you change number of targets to 0, the unit gets a LOT of attacks.

So the minimum number of targets you can have is 3, and the maximum is somewhere around 9.

Add a poison ability with it of course... try to match every value in the ability with the unit's. feedback and good luck.

EDIT: Read this tutorial for more detailed information : meltisheht fer wewk
 
Level 7
Joined
Dec 14, 2012
Messages
192
Hmm, guess you should follow these steps to create a proper barrage ability, values should not interfere. I mean : Barrage's maximum number of targets is set to 9, but the unit's maximum number of targets is 3, it wouldn't recognize it.

Follow these :
-In the object editor, make a new custom ability based on the unit ability Barrage.
-Make area of effect the same as your units range, so the multiple shot doesn't shoot farther.
-Change the missile speed and missile arc to the same values as your unit.
-Set the desired amount of damage.
-Remove any Tech-tree requirements used for the ability.

Last, we calculate the number of targets we want.
-Unit already gets 1 for normal attacks.
-Unit already gets 1 for having barrage.
-Unit already gets 1 for the number of targets.
-If you change number of targets to 0, the unit gets a LOT of attacks.

So the minimum number of targets you can have is 3, and the maximum is somewhere around 9.

Add a poison ability with it of course... try to match every value in the ability with the unit's. feedback and good luck.
Believe it or not, I am an adept googless =P Asking for help is usually the last thing I do.


Followed EXACTLY these steps, still did not work. Could it maybe be, because the unit in question is a building?
 
Level 7
Joined
Dec 14, 2012
Messages
192
it's a building ? xD

@jonbon : lol :D

Yes, a tower to be exact. Though, theorethically, it shouldn't behave any different.. yet apparently, it may. Could test it on a normal unit when I got some sleep...

The idea is to have three-some turret, shooting their poisonous seed at the enemies.. Not just a double, but a triple timer!


The bouncing effect I currently use works just as well, but it simply does not fulfill my artistic needs.
 
Level 7
Joined
Dec 14, 2012
Messages
192
I don't think that it could be the problem... unless it can't attack:D

let me try and will inform you

Do so. If it magically works for you, though, I will be frustrated.
I inspected every suspicious looking nook and cranny of the editorial fields...
 
Level 12
Joined
Oct 16, 2010
Messages
680
sorry for the good news but it do works for me

follow my steps:D

create new ability ---> barrage
I set damage, max targets and set max total dmg to 0 (i think it means infinite)

set aoe 1000 , targets allowed - enemy , deleted requirement,
unchecked "check dependencies"

created new human tower -> give it the ability -> place in editor:D

EDIT: maybe it requires attack1 dont tested:/
and maybe requires that attack2 is turned off

EDIT: max total dmg is not infinite at 0... :D it turns off bonus dmg from dmg/target

EDIT: ok it looks bonus dmg does not even works :D it always uses the towers dmg (attack1) i think:/

so if your basic attack can target the unit, barrage uses your damage, if not then the "Damage per target" amount
 
Level 7
Joined
Dec 14, 2012
Messages
192
sorry for the good news but it do works for me

follow my steps:D

create new ability ---> barrage
I set damage, max targets and set max total dmg to 0 (i think it means infinite)

set aoe 1000 , targets allowed - enemy , deleted requirement,
unchecked "check dependencies"

created new human tower -> give it the ability -> place in editor:D

EDIT: maybe it requires attack1 dont tested:/
and maybe requires that attack2 is turned off

EDIT: max total dmg is not infinite at 0... :D it turns off bonus dmg from dmg/target

EDIT: ok it looks bonus dmg does not even works :D it always uses the towers dmg (attack1) i think:/

so if your basic attack can target the unit, barrage uses your damage, if not then the "Damage per target" amount
Question, though... I also read that setting it to "Zero" means it will attack all targets in range or something like that... but that is something I definitely NOT want(Would overpower my unit terribly much...)

I want it to attack exactly three targets only. Any way to do that? Once I have some time and motivation, I will try it out again and see if it works, though...
 
Level 7
Joined
Dec 14, 2012
Messages
192
set max targets allowed to 1

max targ 1 + unit can attack 1 in default + having barrage 1 = 3

Hm, well, that's what I read, too. God damn it, why does it not work.. everything is exactly as you have it, but it does not do anything still.


Meh... My last idea would be to create a unit based on the Siege Engine(Barrage), change everything how I want it to be and THEN it might just work... Damn it, this is frustrating. I'll fool around with this bloody hellspawn of an ability some more tomorrow and will report back then... At least I have created the functionality by using a bouncing effect, which is better than nothing for now...
 
Level 7
Joined
Dec 14, 2012
Messages
192
Could it be that something blocks the unit so it's unable to attack? A trigger or something...

Did u changed anything in gameplay constants?:/

The unit does attack you know. It only hits one target, though - doesnt apply the rumored "Barrage" effect at all.

In gameplay constants, I only added my Heroes, Altar and main building to the list...
 
Level 7
Joined
Dec 14, 2012
Messages
192
Dumb question, but didn't you forgot to actually give the unit the ability?:D

Can u post pics of your barrage in OEditor?

Got many today and naturally, I am pretty drunk right now soo.... Stay tuned for tomorrow aka in around 9-10 hours from now. I will try around with the ability a bit and see if ANYTHING works, afterwards posting pictures.


And yes, I gave it to the unit, I remember that clearly~ I checked it in game when I saw it not working(I changed the name to be sure, always do that)
 
Level 7
Joined
Dec 14, 2012
Messages
192
In 9-10 hours from now I'll be at home so you can post map if u want and Ill check on it
I will, I shall post my test-map, where Ic reate stuff on...


On another note.. It's time for shameless advertising!
Already took a look at my project? I am creating a custom Naga race. Here is the link: Click me gently :3
It is worth checking out, if I may say so ^.^
 

sentrywiz

S

sentrywiz

Hello there.


I wish to create a poisoning multi-shot ability, id est: Hit 3 targets with basic attack damage and poison them.

So far, I settled for the less beautiful compromise of using a bouncing ability and then triggering a dummy unit to attack the hit targets with a poisoned attack. Works fine so far, but I'd like it much more if my unit would fire off 3 shots at the same time.


I tried it with the Barrage ability, but the problem is... It did not work at ALL. Did absolutely nothing, no matter what I did. If you can enlighten me on how it works, please tell - but take note that I already tried out all the usual suspects(Targets allowed, removing techtree requirements, setting range etc. etc.)


I'd be very pleased if you could help me out here~

Just to throw this out there, since you are using Barrage:

1. It always fires at least two other missiles. So the minimum you can go is three, you cannot go lower.

2. It permanently changes the art of the missile you are using. So you cannot have two different missile arts if you are using Barrage.

I've read through your entire thread and did mine like 10 seconds ago and it works. Here is proof:

Untitled.jpg

I just added Barrage to a Guard Tower.

So the only thing I can think of that you do not have is:

Combat - Attack 1/2 - Targets Allowed must be close to equal as the one under Barrage. In my case it works flawlessly because in both cases, Barrage only works against Enemy Air units and Guard Tower can shoot air units by default.
 
Level 7
Joined
Dec 14, 2012
Messages
192
Okay, I tested around with it and it just does not work. I really really find that strange... I test it on a guard tower next - maybe it works then.. Maybe because the base unit is human or something like that? Some hard-coded crap I guess..
I can just change everything according to the stats of the unit I will be using soo.. shouldnt be a problem.

Will try that on tuesday, lots of stuff to do currently ~.~ Hopefully it fucking works. That bloody ability is driving me nuts >.<
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,259
Do be aware that barrage does not stack with some other attack modifications. I believe poisoning attacks to be one of those it does not stack with.

This is a well known issue and why several maps have warnings in item tooltips like...
"Your hero now attacks 11 targets at once. This item does not stack with Arrow of Slow Poison or Doom Lord's Dark Poison ability."
 
Level 7
Joined
Dec 14, 2012
Messages
192
Do be aware that barrage does not stack with some other attack modifications. I believe poisoning attacks to be one of those it does not stack with.

This is a well known issue and why several maps have warnings in item tooltips like...
"Your hero now attacks 11 targets at once. This item does not stack with Arrow of Slow Poison or Doom Lord's Dark Poison ability."

I see. Well, I trigger the poison "Barrage-Unit deals damage->Create Dummy->Order Dummy to attack the damaged unit" and this seems to work well enough(Currently having it bouncing, but bouncing attacks have the same problem of not applying poison and stuff like that)
 
Status
Not open for further replies.
Top