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.
 

Anything.

New Member
Reaction score
69
Changing the order in the Spellbook Data Fields should work, although some spells, like Devotion Aura have their slots functional (not sure why, though).
 

United

New Member
Reaction score
1
I just tried reordering my spells (again) in the order I want them in, and it still does not work. :mad:
 
P

Panasonic

Guest
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:
 
P

Panasonic

Guest
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:
 
D

dadads

Guest
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.
 

AceHart

Your Friendly Neighborhood Admin
Reaction score
1,495
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...
 
W

Wabolas

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

United

New Member
Reaction score
1
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
 
W

Wabolas

Guest
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.
 

Anything.

New Member
Reaction score
69
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...
 
W

Wabolas

Guest
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?
 

Anything.

New Member
Reaction score
69
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.
 

United

New Member
Reaction score
1
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...
 
W

Wabolas

Guest
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?
 

United

New Member
Reaction score
1
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.
 
W

Wabolas

Guest
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
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top