| 01-13-2007, 08:00 PM | #1 |
How would one go about making an ability that would enable the hero to "trample" in a straight line towards a given point? It must have something to do with disabling collision, but that then enables the hero to move through buildings and over cliffs, which I don't want. What happens if I do something like this: Trigger: Question 2: The max attack range to be considered "melee" is ~ 130, but I have a scaled-up mountain giant model that should have an attack range of about 250. How would I go about making it still say "melee" on his attack card, but have him deal damage at the correct point (the way it looks now, he his stuff with his elbow)? |
| 01-13-2007, 08:32 PM | #2 |
Question 2: Probably gameplay constants. Mess with the animation hit point. |
| 01-13-2007, 08:44 PM | #3 | ||
Quote:
If it can be changed, I have never, ever seen it done before. And the trigger you posted would do the same 4 actions 8 times, right after one another. It wouldn't do anything "wrong", though it might be a kind of long period of time. 12.5*8 is 200 seconds afterall. The real thing you need to know about turning off collision is that the unit you turn collision off for treats nothing else as an obstacle, but is still itself considered an obstacle. Quote:
And if you want any more details on possibilities, you'll need to better explain what you mean when you say "trample." |
| 01-13-2007, 08:57 PM | #4 | |
Quote:
EDIT: UI\MiscData.txt:
[InfoPanel] MeleeRangeMax=128 |
| 01-13-2007, 11:53 PM | #5 | ||
D'oh! I meant to put 0.125 seconds, not 12.5 seconds; that should better explain why I was wondering if it was doing something "wrong". I've fixed the above post. As for the "trample" ability, I intend to have the hero rapidly move from one point to another in a straight-line charge (meaning that he will go through units, not around them), dealing damage to units along the way (with permanent immolation, obviously). Could I do something with putting regions around buildings and such, so that the hero enters the region with the buff on, he'll gain collision; if he leaves the region with the buff, he'll lose his collision again? Quote:
![]() Quote:
|
| 01-14-2007, 12:15 AM | #6 | ||
Quote:
Just make him ranged with a melee attack appearance. You can still do "Attack: Normal" with a range of 250. Quote:
I've made a spell practically identical to it several times before, so trust me here. :P |
| 01-14-2007, 02:39 AM | #7 | ||
Quote:
Quote:
|
| 01-14-2007, 03:02 AM | #8 |
Well if there's a mountain between you and the target point, then yes there is that problem. But that's the only real way to do it. You could check pathability of every single point, and stop the spell if a single point isn't pathable to walk. However, that might get annoying for the caster in-game. It's a matter of preference when it boils down to it. Do what feels like it makes the most sense for your hero. |
| 01-14-2007, 03:22 AM | #9 |
Meh. Thanks for the help... |
