HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

fast firing skill

03-11-2007, 09:33 AM#1
ZiegSlavric
i need help with s spell. is there any spell that is auto cast and a melee class can use. ive tried using cold arrows but thats based on your units attack range. since its a melee character it doesnt actually fire. tried a few things to no avail. basicly this is an example of spell i want.

shoots missiles at a fast rate at a target.
each shot uses a number of mana.
can be used with a melee class.

going to be used as a rocket launcher type spell.
tried cluster rockets but i dont want an aoe.
03-11-2007, 09:42 AM#2
Earth-Fury
im lazy, but why not just set its range to just above the threshhold for melee, making it a ranged attacker that needs to be really close?
03-11-2007, 10:41 AM#3
ZiegSlavric
i want it to shoot far enough to look good, besides when its not useing the spell i will attack from far away even though the model doesnt use a ranged weapon.
03-11-2007, 10:45 AM#4
Pyrogasm
Yeah, I believe that 132 is the max range to be considered "melee". Unless that isn't your problem. You could try some triggered effects by giving the hero a spell based off of slow or faerie fire (that can be toggled), like so (moderate triggering):
  • Set up your slow/faerie fire spell as need be, such that it is a hero ability, but does absolutely nothing.
  • Make a trigger to detect when a unit is issued an order with no target, with an order that matches the orderid of the "Text - Order String - Activate" field; as I eplained in a previous thread of yours. Have this trigger turn on the trigger discussed in step 3 (below) when fired.
  • Make a trigger to detect when a unit is issued an order with no target, with an order that match the orderid of the "Text - Order String - Deactivate" field. Have this trigger turn off the trigger discussed in step 3 (below) when fired.
  • Make a trigger (initially turned off) that fires when a unit attacks, if the unit has the ability you made earlier (Check to see if the level of it is greater than 0, using an "integer compairson") and then orders the attacking unit to cast whatever spell it is you based the hero ability off of on its target.
  • Lastly, make a trigger that detects when a unit casts said ability, and does whatever actions you need, whether it be creating more dummy units and all that jazz, or just dealing extra damage with SFX.

Capiche?

Note: NOT MUI!
03-11-2007, 10:47 AM#5
Earth-Fury
ohhh, you want esentally an ability that attack nearby units automatically? Maybe a modified "Heal" ability that deals damage would work. (negative life healed) (one promlem with that: heal cannot effect units at full health) (search for how to allow negative values in the editor. theres an option in file->preferances for it. atleast, i think thats where it is.)


EDIT: @Pyrogasm below me: I do belive my 'heal' method works rather well in the sense that it uses mana and such ;) but the not able to be used on units with full health is an issue.
03-11-2007, 10:53 AM#6
Pyrogasm
OH OH OH!

You need to do some screwing around with the "Phoenix Fire" ability. Its the spells used in the "Battleships" maps that automatically attacks units near you.

Use the method outlined above for detecting when a unit is ordered to autocast/unautocast the dummy ability, but instead of disabling/enabling triggers, add or remove your new Phoenix Fire ability to or from the hero within a disabled spellbook accordingly.


Not sure if you can make Phoenix Fire cost mana, though.
03-11-2007, 01:19 PM#7
ZiegSlavric
well these are good ideas, but the real skill i wanted to make is a spell that shoots multiple "shots" at a target, each shot would drain mana. i would then give it the model of the rocket. im very noob at this and trying differant things is helping me learn. i tried setting cold arrows as the base for the spells since i know it can be triggered on and off and is a ranged attack that i can change the model for. but as the hero is melee ranged the cold arrows only work if im really close. i want to keep the melee range while having a spell i can activate and deactivate to shoot missiles at a fast rate. in essence a firebolt that is auto cast. ive tried using firebolt but that didnt work either. only a 1 shot thing.

imagine a mech shooting 8 rockets at a fast rate, 1 after the other. this way you get a visual representation of what im trying to do. like cluster rockets but not an aoe.
03-11-2007, 08:39 PM#8
NmdSnprEnigma
Tried phoenix fire. Can't make it cost mana as far as I can tell... you want it targettable and useable for an indefinite period? Might have to trigger it but if you do, it's possible. Or maybe just combine your Frost Arrows idea with a triggered attack index change so your unit has a long range temporarily, then change it back when he takes off the autocast?