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 havn't received your rank award? Then please contact the administration.
    Dismiss Notice
  3. The raddest synthwave tracks were chosen - Check out our Music Contest #12 - Results and congratulate the winners!
    Dismiss Notice
  4. The poll for Hive's 12th Concept Art Contest is up! Go cast your vote for your favourite genie!
    Dismiss Notice
  5. Travel to distant realms and encounter scenes unknown to the common folk. The Greatest of Adventures is upon us with the 8th Cinematic Contest. Join in on a fun ride.
    Dismiss Notice
  6. The 18th Icon Contest is ON! Choose any ingame unit and give him/her Hero abilities. Good luck to all.
    Dismiss Notice
  7. Contestants are to create a scene set in the Stone Age. Come and see what you can come up with. We wish you the best of luck!
    Dismiss Notice
  8. Colour outside the lines! Techtree Contest #13 is a go. The contest is optionally paired.
    Dismiss Notice
  9. Greetings cerebrates, our Swarm needs new spawners that will have numerous children. Join the HIVE's 31st Modeling Contest - Spawners and Spawned! The contest is optionally paired.
    Dismiss Notice
  10. 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.

Engineering Upgrade that gives +armor, +evasion, +strength / armor & life regen aura

Discussion in 'World Editor Help Zone' started by Jakebert, Dec 18, 2008.

  1. Jakebert

    Jakebert

    Joined:
    Sep 2, 2008
    Messages:
    19
    Resources:
    0
    Resources:
    0
    Hi all,

    So my new problem(s) of the day is this.
    1. I'm trying to make an ability like the tinker's engineering upgrade, BUT instead of giving +MS and armor, I want to give +armor and +evasion and +strength. I also want it to be permanent. Just a passive that automatically begins when learned.

    2. I'm also trying to make an aura that grants armor and life regen. How can I do this?

    Thank you!
     
  2. bounty hunter2

    bounty hunter2

    Joined:
    Sep 27, 2005
    Messages:
    1,949
    Resources:
    7
    Icons:
    3
    Maps:
    3
    Tutorials:
    1
    Resources:
    7
    Hey there,

    @ 1 I am not so sure, maybe with triggers.

    @ 2 Make a normal devotion aura and then when learned, create a dummy unit near the hero with the life regen aura.

    Hero Learns Aura
    Triger turn on x

    x

    periodic event every 0.01 sec
    move dummy to position of hero
     
  3. graystuff111

    graystuff111

    Joined:
    Dec 11, 2007
    Messages:
    715
    Resources:
    23
    Icons:
    20
    Skins:
    1
    Maps:
    1
    Tutorials:
    1
    Resources:
    23
    Or add the life regen aura to the unit in a disabled spellbook. Periodic events are very not efficient. The disabled spellbook is the way to go.
     
  4. Jakebert

    Jakebert

    Joined:
    Sep 2, 2008
    Messages:
    19
    Resources:
    0
    Resources:
    0
    Great idea. Did that. Now, the abilities don't show up unless I leave the spellbook enabled. And if I do that it shows up!

    Also, in order to level up the abilities inside the spellbook, do I just level up the spellbook? Or do I need a trigger to level them all up when the hero learns the dummy ability?
     
  5. Eccho

    Eccho

    Joined:
    Nov 29, 2006
    Messages:
    2,297
    Resources:
    2
    Spells:
    2
    Resources:
    2
    yes... leveling up the spellbook doesn't work, so yep, level the spells in the spellbook all up by triggers.
     
  6. graystuff111

    graystuff111

    Joined:
    Dec 11, 2007
    Messages:
    715
    Resources:
    23
    Icons:
    20
    Skins:
    1
    Maps:
    1
    Tutorials:
    1
    Resources:
    23
    You just have to make a seperate ability for the three levels of life regen and put them into the spell list for their corrosponding levels in the spellbook, then when the hero learns the armor aura, it increases the level of the spellbook
    I hope I explained that well
     
  7. Deathclaw24

    Deathclaw24

    Joined:
    May 3, 2006
    Messages:
    81
    Resources:
    2
    Icons:
    2
    Resources:
    2
    You can easily add the strength with a trigger

    Hero Learns Skill

    Skill = Your Skill

    Add (#) strength to learning hero



    So if the ability added 5 str per level everytime you leveled it the hero would gain 5 str.

    For the armor you can make an item ability like Item Armor Bonus and add that to hero when he learns the skill and simply level it up equal to the Skill Level. Level 1 of Your Skill adds the armor, level 2 simply sets it to next level so it'll be equal to what you set level 2 to add in the object editor.

    Hero Learns Skill

    Skill = Your Skill

    Add ability Item Armor Bonus to learning hero
    Set level of Item Armor Bonus for learning hero equal to level of Skill being learned

    The evasion could be done the same way but then it'd show the icon on your hero and that might be a problem, but if not you can do it the same way, leveling it up equal to the Skill the hero is learning.
     
  8. Jakebert

    Jakebert

    Joined:
    Sep 2, 2008
    Messages:
    19
    Resources:
    0
    Resources:
    0
    Thanks, Deathclaw24, that's a great idea. I'll try that. But I'm still confused: does leveling up a spellbook work or not? And how come when I disable the spellbook via trigger (because I want it to be invisible) the abilities inside it don't work?
     
  9. graystuff111

    graystuff111

    Joined:
    Dec 11, 2007
    Messages:
    715
    Resources:
    23
    Icons:
    20
    Skins:
    1
    Maps:
    1
    Tutorials:
    1
    Resources:
    23
    No, the entire point of disabling a spellbook is so that passive abilitys inside of the spellbook will still work without showing the icon of the ability. Increasing the level of a disabled spellbook works via trigger.
     
  10. Jakebert

    Jakebert

    Joined:
    Sep 2, 2008
    Messages:
    19
    Resources:
    0
    Resources:
    0
    I know :grin:. So how come when I disable the spellbook, the passive abilities inside don't work? (even though they're leveled?)
     
  11. graystuff111

    graystuff111

    Joined:
    Dec 11, 2007
    Messages:
    715
    Resources:
    23
    Icons:
    20
    Skins:
    1
    Maps:
    1
    Tutorials:
    1
    Resources:
    23
    They do. Make the passive abilitys one level each, and then make seperate abilitys for each level.
     
  12. Jakebert

    Jakebert

    Joined:
    Sep 2, 2008
    Messages:
    19
    Resources:
    0
    Resources:
    0
    EDIT: Nevermind, I got it working! Thanks to everyone who helped me!

    Ok, here's exactly what I'm doing, maybe you can tell me what I'm doing wrong.

    I need to put two passives inside an invisible spellbook, as well as create a dummy ability that levels up the two passives when it is leveled up.

    Spellbook Ability has 5 levels, each level contains two skills, a life regen aura and a IAS bonus aura. Each aura has five different skills, so Life Regen Level 1 goes under Level 1 on the spellbook and so on (so different abilities for each level). Then I have a trigger:

    On- Map Initialization
    Pick All Players and Disable Spellbook for Picked Player

    Also

    On- A hero learns a skill
    Learned Skill = Dummy Skill (NOT the spellbook)
    Make Level of Spellbook = Level of Dummy Skill for Triggering Unit

    The Spellbook is an Item Ability
    The Dummy ability is a hero ability
    The two passives are both Unit abilities

    Thanks!