Abilities - Guide

Discussion in 'Tutorial Repository' started by Chocobo, Oct 29, 2006.

  1. Prometheus

    Prometheus Everything is mutable; nothing is sacred Staff Member

    Ratings:
    +592 / 0 / -0
    Set his attack to I think it was 'Missile'.
     
  2. jon513

    jon513 Guest

    Ratings:
    +0 / 0 / -0
    absorb power

    I have been working on the idea of a hero temporarily absorbing the powers of those around him as follows:
    Events
    Unit - A unit Begins channeling an ability
    Conditions
    ((Triggering unit) belongs to an enemy of Player 1 (Red)) Equal to True
    (Distance between (Position of (Triggering unit)) and (Position of whateverHero <gen>)) Less than or equal to 700.00
    Actions
    Trigger - Turn off (This trigger)
    Unit - Add (Ability being cast) to whateverHero <gen>
    Wait 40.00 seconds
    Unit - Remove (Ability being cast) from whateverHero <gen>
    Trigger - Turn on (This trigger)

    I turn the trigger off and on to prevent the trigger not finishing and not removing the ability. I am not clear on what the difference is between channeling and casting. Any ideas?
     
  3. mr-death

    mr-death Acolyte

    Ratings:
    +51 / 0 / -0
    Spellbook Help

    > Contains Active, Passive, Autocast, and Hero Abilities.

    A little change here, maybe.
    You cannot give Hero Abilities, cause the options are Unit and Item Abilities.

    Unless you use Triggers for Hero Abilities as in
    Tutorial: Makin' spellbooks by Andrewgosu.
     
  4. BANANAMAN

    BANANAMAN Resident Star Battle Expert.

    Ratings:
    +153 / 0 / -0
    i tried leveling doom and as far as i know it works fine.
     
  5. Chocobo

    Chocobo White-Flower

    Ratings:
    +410 / 0 / -0
    Read what I wrote about it on units.
     
  6. warlll

    warlll Guest

    Ratings:
    +0 / 0 / -0
    Where do you insert all these codes?:( please tell me:(please
     
  7. Whiteboy

    Whiteboy Guest

    Ratings:
    +0 / 0 / -0
    Can you please give an example channel ability that needs a trigger. :(
     
  8. Prometheus

    Prometheus Everything is mutable; nothing is sacred Staff Member

    Ratings:
    +592 / 0 / -0
  9. Giantpanda

    Giantpanda New Member

    Ratings:
    +1 / 0 / -0
    I'm having a large amount of issues with the flying part. I have a hero, i give him crow form, remove it, then change his flying height to 50 at 200 and it does nothing. I think it may be because i dont know exactly what the action refers to when it says 50 at 200. Does it mean that the unit takes 200 seconds to raise 50 units? I'm so confused.
     
  10. Prometheus

    Prometheus Everything is mutable; nothing is sacred Staff Member

    Ratings:
    +592 / 0 / -0
    Animation - Change (Last created unit) flying height to 0.00 at 200.00
    The 0.00 is the flying height, the 200.00 is the time it takes. I think...
    Try swapping the values.
     
  11. Giantpanda

    Giantpanda New Member

    Ratings:
    +1 / 0 / -0
    Yes but is the 200 part in minutes, seconds, warcraft time or what?
     
  12. Prometheus

    Prometheus Everything is mutable; nothing is sacred Staff Member

    Ratings:
    +592 / 0 / -0
    200 seconds I believe.
     
  13. Chocobo

    Chocobo White-Flower

    Ratings:
    +410 / 0 / -0
    Flying height changing :
    1. unit
    2. height "z" of unit you want to go to
    3. velocity ("z" of unit per second)

    examples for a footman (requires 'Amrf') :


    --- height changing ---
    1.
    current height : 0.00 (at ground)
    height you want to go to : 500.00
    velocity you put : 100.00
    it takes (500.00/100.00) = 5.00 seconds to go to 500.00 height

    2.
    current height : 0.00 (at ground)
    height you want to go to : 1000.00
    velocity you put : 100.00
    it takes (1000.00/100.00) = 10.00 seconds to go to 1000.00 height

    3.
    current height : 0.00 (at ground)
    height you want to go to : 1500.00
    velocity you put : 100.00
    it takes (1500.00/100.00) = 15.00 seconds to go to 1500.00 height

    --- prefixed current height ---
    4.
    current height : 200.00 (NOT at ground)
    height you want to go to : 500.00
    velocity you put : 100.00
    it takes ((500.00-200.00)/100.00) = 3.00 seconds to go to 500.00 height from 200.00

    5.
    current height : 200.00 (NOT at ground)
    height you want to go to : 1000.00
    velocity you put : 100.00
    it takes ((1000.00-200.00)/100.00) = 8.00 seconds to go to 1000.00 height from 200.00

    6.
    current height : 200.00 (NOT at ground)
    height you want to go to : 1500.00
    velocity you put : 100.00
    it takes ((1500.00-200.00)/100.00) = 13.00 seconds to go to 1500.00 height from 200.00

    --- other velocity---
    7.
    current height : 0.00 (at ground)
    height you want to go to : 500.00
    velocity you put : 250.00
    it takes (500.00/250.00) = 2.00 seconds to go to 500.00 height

    8.
    current height : 0.00 (at ground)
    height you want to go to : 1000.00
    velocity you put : 250.00
    it takes (1000.00/250.00) = 4.00 seconds to go to 1000.00 height

    9.
    current height : 0.00 (at ground)
    height you want to go to : 1500.00
    velocity you put : 250.00
    it takes (1500.00/250.00) = 6.00 seconds to go to 1500.00 height

    --- some random mixes ---
    10.
    current height : 0.00 (at ground)
    height you want to go to : 4000.00
    velocity you put : 700.00
    it takes (4000.00/700.00) = ~5.714.. seconds to go to 4000.00 height

    11.
    current height : 0.00 (at ground)
    height you want to go to : 2000.00
    velocity you put : 500.00
    it takes (2000.00/500.00) = 4.00 seconds to go to 2000.00 height

    12.
    current height : 0.00 (at ground)
    height you want to go to : 100.00
    velocity you put : 250.00
    it takes (100.00/250.00) = 0.40 seconds to go to 100.00 height

    13.
    current height : 500.00 (NOT at ground)
    height you want to go to : 0.00
    velocity you put : 250.00
    it takes (Abs(0.00-500.00)/250.00) = 2.00 seconds to go to 0.00 height from 250.00

    ... and so on..

    so in general :
    current height = y
    height you want to go to = z
    velocity = v

    by solving (if you need one parameter from all others) :
    time = t = (Abs(y-z)/v)
    y = {z-tv ; z+tv}
    z = {y-tv ; y+tv}
    v = (Abs(y-z))/t
     
  14. DoubleZeta

    DoubleZeta New Member

    Ratings:
    +0 / 0 / -0
    I can't seem to find Alarm (Alert/Aalr). How can I edit the skill's values? Is there some trick to have it show up on the object editor?

    I can put the skill on units, but no clue as to why I can't search for it on the skills tab even with display raw data and searching for it as "Aalr" which also shows up on a unit that I put the skill on.
     

Share This Page