1. Updated Resource Submission Rules: All model & skin resource submissions must now include an in-game screenshot. This is to help speed up the moderation process and to show how the model and/or texture looks like from the in-game camera.
    Dismiss Notice
  2. DID YOU KNOW - That you can unlock new rank icons by posting on the forums or winning contests? Click here to customize your rank or read our User Rank Policy to see a list of ranks that you can unlock. Have you won a contest and still haven't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The reforging of the races is complete. Come see the 14th Techtree Contest Results.
    Dismiss Notice
  4. It's time to choose your horse in the race - the 32nd Modeling Contest Poll is up!
    Dismiss Notice
  5. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

[Spell] Auto Casting :3

Discussion in 'World Editor Help Zone' started by darkzxx, Nov 16, 2012.

  1. darkzxx

    darkzxx

    Joined:
    Oct 31, 2010
    Messages:
    1,043
    Resources:
    0
    Resources:
    0
    Introduction
    Alright, i have been trying to make this spell for like 2 months ? i posted 2 threads about it and no offense to the people who tried to help me but i didn't understand a thing O:, so now i will give a better description :3


    So... basically what i want is that when a unit cast a spell, it is similar to damaging a unit using normal attacks,i am wanting a water elemental to auto casts a damage spell at a unit after it casts the first spell on the target, it will continue casting it on the unit until he is out of mana or stops or moves or the unit dies at intervals of 1 second :3

    example2
    like when a unit is at low hp and the when the priest heals the unit once, the priest will continue healing until it moves or the targeted unit hp is full
     
  2. defskull

    defskull

    Joined:
    Mar 27, 2008
    Messages:
    7,979
    Resources:
    17
    Spells:
    17
    Resources:
    17
    Can you list out the full conditions list as to when to stop the "auto-cast" on the same unit ?
    Currently:
    Caster out of Mana
    Caster stops (order)
    Caster moves (or the Target moves ?)
    Caster dies (or the Target dies ?)
    Target is full of HP (MP too if you want to heal MP)

    Is there anything else where the auto-cast should stop ?
    And please clarify the one in the bracket, either Caster or Target or Both.
     
  3. darkzxx

    darkzxx

    Joined:
    Oct 31, 2010
    Messages:
    1,043
    Resources:
    0
    Resources:
    0
    i want a damage spell not a healing spell O.O, so instead of target is full of hp, it should be Target dies.

    List :
    Caster is out of mana
    Caster is dead
    Target is dead
    Caster moves
    Target goes out of range
    Caster stops

    yeah i can't think of anymore :3
     
  4. defskull

    defskull

    Joined:
    Mar 27, 2008
    Messages:
    7,979
    Resources:
    17
    Spells:
    17
    Resources:
    17
    What do you meant by "Caster moves" ?
    Is it ordered move (by player) or the unit moves itself to catch the Target unit to be in range of the Spell Target Range ?

    And what do you meant by "Caster stops" ?
    Is it ordered-player Stop ?
     
  5. Dark_Axl

    Dark_Axl

    Joined:
    Dec 12, 2007
    Messages:
    472
    Resources:
    2
    Maps:
    1
    Spells:
    1
    Resources:
    2
    this list sounds more like channeling spell, not autocast.
     
  6. darkzxx

    darkzxx

    Joined:
    Oct 31, 2010
    Messages:
    1,043
    Resources:
    0
    Resources:
    0
    i meant when the player moves the unit, and yes, player stops the caster, or else how would you stop it ? it is kinda like channeling but when you channel , you wouldn't chase a unit, i want it to chase a unit when it goes out of range O:
     
  7. defskull

    defskull

    Joined:
    Mar 27, 2008
    Messages:
    7,979
    Resources:
    17
    Spells:
    17
    Resources:
    17
    So what happens if the Target goes out of range of the Spell Cast Range ?
    Would you want the unit to stop, or continue chasing ?

    I'm asking many questions, to make it easier and accurate.
     
  8. Rozll0rt

    Rozll0rt

    Joined:
    Aug 18, 2012
    Messages:
    190
    Resources:
    0
    Resources:
    0
    Do you like to continue casting when a unit is moving like heal?
     
  9. darkzxx

    darkzxx

    Joined:
    Oct 31, 2010
    Messages:
    1,043
    Resources:
    0
    Resources:
    0
    yeah but the caster must move and when the target move out of range
     
  10. defskull

    defskull

    Joined:
    Mar 27, 2008
    Messages:
    7,979
    Resources:
    17
    Spells:
    17
    Resources:
    17
    You said to end the auto-cast when target goes out of range, but this time, you said to let the unit to chase the target (in order to be within Spell Range) when target goes out of range.

    Which is which ?
     
  11. Rozll0rt

    Rozll0rt

    Joined:
    Aug 18, 2012
    Messages:
    190
    Resources:
    0
    Resources:
    0
    increasing the cast range of the spell (I think)
     
  12. Rozll0rt

    Rozll0rt

    Joined:
    Aug 18, 2012
    Messages:
    190
    Resources:
    0
    Resources:
    0
    And make the heal value negative to damage the unit.
    BTW, do you want to cast the spell like this
    Autocast:
    Cast, stop, cast
    or
    Channeling:
    Cast ( Continous )
     
    Last edited: Nov 18, 2012
  13. Elfansoer

    Elfansoer

    Joined:
    Aug 26, 2012
    Messages:
    122
    Resources:
    0
    Resources:
    0
    Hi defskull, long time no see! I'm just trying to interpret what the requester said:
    - Caster Moves: i think he meant that caster is given another order
    - Target out of Range: target is out of sight, but as long as it's inside caster's sight, caster will always chase target.
    (well, assuming the spell's AoE is smaller than LoS, and it's just like attacking a unit; he will stop attacking when target is too far)
    - Auto Casting (not Autocast): i think it's just like attacking unit, too. (Always attacking as long as it can, with damage intervals)