Spell Book Ability Order

United

New Member
Reaction score
1
I was wondering if anybody could show me how to get spells ordered in a spell book (for example, like in Defiance). Basically what I mean is that I want my starting spell to be in position 0,0 (top left), then once your hero gets to level 4, you learn a second spell (I have the triggers set up already for this process) and it's added one slot to the right of the first spell (1,0).

Right now, my spells seem random ordered, some disappear, etc, when new spells are learnt in the spell book. The standard "Art - Button Position - Normal/Turn Off (X/Y)" doesn't work. Neither does changing the order of the spells in the "Data - Spell List" field.

Any help greatly appreciated. This is holding up my map a lot.
 
Changing the order in the Spellbook Data Fields should work, although some spells, like Devotion Aura have their slots functional (not sure why, though).
 
I just tried reordering my spells (again) in the order I want them in, and it still does not work. :mad:
 
i cant really explain it but here goes anything...

IF, say ur spell book is like 20 levels and u want 2 spells.. for the spell list the first level of spell list would be ( Ability One - Level One and Ability Two - Level One ) and the second level of the spell list would be ( Ability One - Level Two and Ability Two - Level Two ) and so on...

hope this helps u... :nuts:
 
ooo u want the place of the abilty in a certain spot.. well if u want that i dont know.. i dont think u can do that sorry :eek:
 
Are you sure that they have different Base Order IDs?

Coz long time ago I've tried putting 2 abilites based on the same base-spell (which happened to be Shockwave) in a spellbook, and what happened was that only one of the abilities showed up.
 
It would seem that spell books order their content based on the loading order of the spells.

Which should mean that you can create some unit at map init, add all the abilities to it in a predefined order,
and the next spell book will use that very order.

Personally, I've never verified this though...
 
You said 'when new spells are learnt in the spell book'. What do you mean by that?
 
AceHart said:
It would seem that spell books order their content based on the loading order of the spells.

Which should mean that you can create some unit at map init, add all the abilities to it in a predefined order,
and the next spell book will use that very order.

Personally, I've never verified this though...

This didn't work, worth a try.

Wabolas said:
You said 'when new spells are learnt in the spell book'. What do you mean by that?

Umm... when you learn a new spell in the spell book. In my map, once you reach x level, you get a new spell. Reach another specified level, you get a new spell.

Wabolas said:
How do you add abilities to a spellbook in-game?

Create multiple levels for a spell book (Stats - Levels). Then, set the spells in the Data - Spell List for each level. Then, create a trigger like:

Code:
Event - Unit - A unit Gains a level
Condition - ((Unit-type of (Triggering unit)) Equal to YourHero)
Actions - 
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        (Hero level of (Triggering unit)) Equal to 4
    Then - Actions
        Unit - Set level of Assassin's Basic Abilities  for (Triggering unit) to 2
    Else - Actions
        Do nothing

If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    If - Conditions
        (Hero level of (Triggering unit)) Equal to 8
    Then - Actions
        Unit - Set level of Assassin's Basic Abilities  for (Triggering unit) to 3
    Else - Actions
        Do nothing
 
You could use multiple levels of the spellbook, BUT, I mean it in a way so you could have all the combonations of the abilities in warcraft in a spellbook. Like: Evasion, Bash.... then another: Holy light, Purge. Like to do that with spellbook levels, you would have to give it a million levels and set each level to a different combonation..... too much work but it could be done.
 
Uh, just to let you know, this isn't at all what Defi4nc3 did in his ORPG. He disabled all the spells on Map Initialization and then re-enabled them when he needed them.

And, uh, I could give you proof if you'd like...
 
So you mean... Put all the abilities you want into a spellbook, make them all disabled at map initialization, and then re-enable then when needed?
 
Wabolas said:
So you mean... Put all the abilities you want into a spellbook, make them all disabled at map initialization, and then re-enable then when needed?
Yes.
 
I'm not trying to do this exactly like Defiance, I just want the spells ordered like in Defiance; they spells show up the way I want them to. I have also tried disabling all the spells at the start of the map, but this caused more problems...
 
I tryed disabling them all and then re-enabling them when I wanted, and it worked for me. I wasnt going for any specific order so you'll need to keep trying that. Did you disable the spells through triggers or through the ability techtree?
 
Triggers.

I'll give it another shot.

edit: It's not working, so I have a couple questions:

1) Should I set all the Icon Positions to 0, 0?
2) Should I do Disable Ability then Enable Ability when you reach the right level, or Enable Ability and then Add Ability?

I'm hoping to get this resolved quickly, so, you can contact me on MSN/AIM.
 
Disable all the abilities you want at map initialization, and when you want them just enable them, you dont need to go add ability.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    News portal has been retired. Main page of site goes to Headline News forum now
  • The Helper The Helper:
    I am working on getting access to the old news portal under a different URL for those that would rather use that for news before we get a different news view.
  • Ghan Ghan:
    Easily done
    +1
  • The Helper The Helper:
    https://www.thehelper.net/pages/news/ is a link to the old news portal - i will integrate it into the interface somewhere when i figure it out
  • Ghan Ghan:
    Need to try something
  • Ghan Ghan:
    Hopefully this won't cause problems.
  • Ghan Ghan:
    Hmm
  • Ghan Ghan:
    I have converted the Headline News forum to an Article type forum. It will now show the top 20 threads with more detail of each thread.
  • Ghan Ghan:
    See how we like that.
  • The Helper The Helper:
    I do not see a way to go past the 1st page of posts on the forum though
  • The Helper The Helper:
    It is OK though for the main page to open up on the forum in the view it was before. As long as the portal has its own URL so it can be viewed that way I do want to try it as a regular forum view for a while
  • Ghan Ghan:
    Yeah I'm not sure what the deal is with the pagination.
  • Ghan Ghan:
    It SHOULD be there so I think it might just be an artifact of having an older style.
  • Ghan Ghan:
    I switched it to a "Standard" article forum. This will show the thread list like normal, but the threads themselves will have the first post set up above the rest of the "comments"
  • The Helper The Helper:
    I don't really get that article forum but I think it is because I have never really seen it used on a multi post thread
  • Ghan Ghan:
    RpNation makes more use of it right now as an example: https://www.rpnation.com/news/
  • The Helper The Helper:
  • The Helper The Helper:
    What do you think Tom?
  • tom_mai78101 tom_mai78101:
    I will have to get used to this.
  • tom_mai78101 tom_mai78101:
    The latest news feed looks good
  • The Helper The Helper:
    I would like to see it again like Ghan had it the first time with pagination though - without the pagination that view will not work but with pagination it just might...
  • The Helper The Helper:
    This drink recipe I have had more than a few times back in the day! Mind Eraser https://www.thehelper.net/threads/cocktail-mind-eraser.194720/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top