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 Lich King demands your service! We've reached the 19th edition of the Icon Contest. Come along and make some chilling servants for the one true king.
    Dismiss Notice
  4. The 4th SFX Contest has started. Be sure to participate and have a fun factor in it.
    Dismiss Notice
  5. The poll for the 21st Terraining Contest is LIVE. Be sure to check out the entries and vote for one.
    Dismiss Notice
  6. The results are out! Check them out.
    Dismiss Notice
  7. Don’t forget to sign up for the Hive Cup. There’s a 555 EUR prize pool. Sign up now!
    Dismiss Notice
  8. The Hive Workshop Cup contest results have been announced! See the maps that'll be featured in the Hive Workshop Cup tournament!
    Dismiss Notice
  9. 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.

Spellbooks

Discussion in 'World Editor Help Zone' started by darkalex13, Dec 7, 2008.

  1. darkalex13

    darkalex13

    Joined:
    Feb 20, 2008
    Messages:
    54
    Resources:
    0
    Resources:
    0
    So I have a spellbook, all spells besides one are disabled, while leveling they are enabled one by one but sometimes they don't appear in spellbook, sometimes it works, sometimes it doesn't, why?
     
  2. bounty hunter2

    bounty hunter2

    Joined:
    Sep 27, 2005
    Messages:
    1,949
    Resources:
    7
    Icons:
    3
    Maps:
    3
    Tutorials:
    1
    Resources:
    7
    You need to change the max spells allowed in spellbook.
     
  3. darkalex13

    darkalex13

    Joined:
    Feb 20, 2008
    Messages:
    54
    Resources:
    0
    Resources:
    0
    I've changed it to 11... But still only sometimes all work...
     
  4. bounty hunter2

    bounty hunter2

    Joined:
    Sep 27, 2005
    Messages:
    1,949
    Resources:
    7
    Icons:
    3
    Maps:
    3
    Tutorials:
    1
    Resources:
    7
    Then try creating 9 spellbooks, and the first has 1 skill, seconds 2 ... 9 - 9

    And when you get another skill then ability remove spellbook 1 add spellbook 2 etc.
     
  5. darkalex13

    darkalex13

    Joined:
    Feb 20, 2008
    Messages:
    54
    Resources:
    0
    Resources:
    0
    It's very much to work, especially that I want to make an ORPG that will have a lot of spellbooks, I won't have that many spellID's so... isn't there another way?
     
  6. Kwah

    Kwah

    Joined:
    May 9, 2007
    Messages:
    3,391
    Resources:
    8
    Icons:
    5
    Maps:
    1
    Tutorials:
    2
    Resources:
    8
    It should work. I've done this sort of thing before.
     
  7. Djinn1995

    Djinn1995

    Joined:
    Mar 23, 2008
    Messages:
    89
    Resources:
    0
    Resources:
    0
    how do make so he gets skills by leveling up?
     
  8. Kwah

    Kwah

    Joined:
    May 9, 2007
    Messages:
    3,391
    Resources:
    8
    Icons:
    5
    Maps:
    1
    Tutorials:
    2
    Resources:
    8
    Make two abilites. Make a trigger for one, so that whenever it is cast if you have >1 lumber (or some other stat), increase level of the skill with the effect.
     
  9. darkalex13

    darkalex13

    Joined:
    Feb 20, 2008
    Messages:
    54
    Resources:
    0
    Resources:
    0
    It's not about increasing level of skill, it's about enableling it...
     
  10. Kwah

    Kwah

    Joined:
    May 9, 2007
    Messages:
    3,391
    Resources:
    8
    Icons:
    5
    Maps:
    1
    Tutorials:
    2
    Resources:
    8
    In that case research the upgrade (Or whatever you are using to disable it)
     
  11. darkalex13

    darkalex13

    Joined:
    Feb 20, 2008
    Messages:
    54
    Resources:
    0
    Resources:
    0
    Nobody understands what I'm trying to say... OMG
     
  12. Kwah

    Kwah

    Joined:
    May 9, 2007
    Messages:
    3,391
    Resources:
    8
    Icons:
    5
    Maps:
    1
    Tutorials:
    2
    Resources:
    8
    OMG, maybe you should try to 'say it better'.

    You so Far

    So I have a spellbook, all spells besides one are disabled, while leveling they are enabled one by one but sometimes they don't appear in spellbook, sometimes it works, sometimes it doesn't, why?

    how do make so he gets skills by leveling up?

    It's not about increasing level of skill, it's about enableling it...
     
  13. darkalex13

    darkalex13

    Joined:
    Feb 20, 2008
    Messages:
    54
    Resources:
    0
    Resources:
    0
    Ok, I was wrong, It's not about leveling, let's say I have a spellbook with 7 spells, I press test they all appear and all work normally, another time I don't edit absolutely anything I press test and I have only 4 spells, why?
     
  14. Kwah

    Kwah

    Joined:
    May 9, 2007
    Messages:
    3,391
    Resources:
    8
    Icons:
    5
    Maps:
    1
    Tutorials:
    2
    Resources:
    8
    It's an error with the stats on the spell book ability. Make sure you have max spells set to 10+ and min set to 1.
     
  15. graystuff111

    graystuff111

    Joined:
    Dec 11, 2007
    Messages:
    715
    Resources:
    23
    Icons:
    20
    Skins:
    1
    Maps:
    1
    Tutorials:
    1
    Resources:
    23
    no set the max spells to 11 and the min spells to 11.
    Don't ask me why it works, it just does.
     
  16. Kwah

    Kwah

    Joined:
    May 9, 2007
    Messages:
    3,391
    Resources:
    8
    Icons:
    5
    Maps:
    1
    Tutorials:
    2
    Resources:
    8
    Hrm, I seem recall that now. I might be imagining things.

    Still, I support that solution. (But take no credit)
     
  17. darkalex13

    darkalex13

    Joined:
    Feb 20, 2008
    Messages:
    54
    Resources:
    0
    Resources:
    0
    It works man, thanks! (+rep)
    But do you know how to order them too, so they won't be in a different order each time?
     
  18. Djinn1995

    Djinn1995

    Joined:
    Mar 23, 2008
    Messages:
    89
    Resources:
    0
    Resources:
    0
    how do make someone to get a special skill when he lvls to a specific lvl?
     
  19. darkalex13

    darkalex13

    Joined:
    Feb 20, 2008
    Messages:
    54
    Resources:
    0
    Resources:
    0
    • Events
    • Unit - A unit gains a level
    • Conditions
    • (Leveling Hero) Equal to YourHero
    • Actions
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - conditions
    • (Hero level of YourHero) Equal to 10(for example)
    • Then - Actions
    • Unit - Add Avatar(for example) to YourHero
    • Else - Actions
    • Do nothing


    So anyway, does anyone know how to arrange the spells in a spellbook?
     
  20. Djinn1995

    Djinn1995

    Joined:
    Mar 23, 2008
    Messages:
    89
    Resources:
    0
    Resources:
    0
    so when i add the skill it automaticly gets in to spellbook?