• 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.

[General] AoE Range starts at unit or at unit's...

Status
Not open for further replies.
Level 8
Joined
Oct 19, 2008
Messages
168
In object editor, when changing the AOE of an ability

Lets say the units collision size is 50 and the AOE of warstomp is 300

Does the ability's final AOE stay at 300 from the point of the unit or does it become 350 because its 300 + 50 of the collision size?



Because I have a spell that does 300 aoe and a trigger that creates something at 300 aoe but it doesnt look equal, the trigger looks like its doing it at something less than 300range

Thanks :goblin_jawdrop:
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Hardcoded abilities take collision size of targets into account. You can see this very easily by giving a unit a huge collision size and then hover near it with the targeting circle of e.g. blizzard.
Triggers on the other side do just use a units center.
 
Level 8
Joined
Oct 19, 2008
Messages
168
thanks guys and thanks ezekiel

It makes sense though because if a giant unit's collision size is 500 and his warstomp is normally 300, it makes sense to be 300 on top of the collision size because otherwise he wouldnt even be able to damage units
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
It makes sense though because if a giant unit's collision size is 500 and his warstomp is normally 300, it makes sense to be 300 on top of the collision size because otherwise he wouldnt even be able to damage units

No, youre understanding this wrong. The targets collision size counts, the collision size of the caster doesnt matter.

(For attack range both collision sizes are taken into account though)
 
The caster's collision doesn't matter, the AOE is picked from it's center/origin... from there collision is checked using the AoE and each target's collision size...

example:

Unit B = 500 collision radius, center/origin is 1000 units away from Unit A, Unit A casts a 600 radius war stomp. Unit B will still be hit since his bounds is just 500 units away from A (1000 - 500)

now on your case of a 300 AoE war stomp casted by a unit that has 500 collision, then you really won't hit any unit unless that unit has collision off so he can go "inside" your unit
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
now on your case of a 300 AoE war stomp casted by a unit that has 500 collision, then you really won't hit any unit unless that unit has collision off so he can go "inside" your unit

Collision size is only loosely tied to the actual pathing (square) which stays the same size for higher collision values. So you can happily walk "inside" a unit with 500 collision size.
 
Status
Not open for further replies.
Top