HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spell book spells arrangement

09-21-2006, 01:15 PM#1
zen87
ok, i was trying to fool around with the spell book and encountered some problem here, hope you guys can help

-when you click/open/use the spell book, 11 ability slot appear (duh), lets say the 11 slot are arranged as below

x x x x
x x x x
x x x 0

where 0 is the cancle button (duh)

----

ok, now i want to put skills A,B,C, and D into the spell book in this order (checked the button position and im sure they are at the place i want them to be)

A B C D
x x x x
x x x

but then, it end up to be something like this

x x A B
D C x x
x x x

with trial and error for like 20 times, i still cant figure out what should i put in the putton position in the custom skills in order to get the arrangement i want... (boo blizzard)
09-21-2006, 01:48 PM#2
Fireeye
Normally you can change the order with those options under the Object Editor.
The count begins top left and end botton right.

X|0|1|2|3
-----------
0|A|B|C|D
-----------
1|X|X|X|X
-----------
2|X|X|X|X

A: X=0; Y=0
B: X=1; Y=0
C: X=2; Y=0
D: X=3; Y=0

They should be in the right order then.
Attached Images
File type: jpgScreen0105.JPG (145.1 KB)
09-21-2006, 03:09 PM#3
Panto
The spellbook doesn't listen to the icon positions of the spells in it. It puts them in the order that they're placed in the spell field of the book. However, the minimum and maximum spells fields might have an effect on it. Mess with those.
09-21-2006, 03:11 PM#4
zen87
Quote:
Originally Posted by Panto
The spellbook doesn't listen to the icon positions of the spells in it. It puts them in the order that they're placed in the spell field of the book. However, the minimum and maximum spells fields might have an effect on it. Mess with those.
Ohhh !! I got it !! thanks alot !!

yeah it is true, lets say if you want to put 7 spells in the spell book, you need to put the max and min spells both to 7, THEN only the spell book will listen to the button position in the custom object editor

edit : Fireeye i did mention that i know the button position rules in the 1st post >_<" thank anyway...
09-21-2006, 06:57 PM#5
aquilla
also, the reason it winds up abdc and not abcd is because they are sorted by raw-id and not icon pos
09-21-2006, 08:37 PM#6
karukef
sorted by raw-code id? I don't think so, no.

Extensive spellbook order info: http://www.wc3campaigns.net/showthre...pellbook+order
09-21-2006, 09:30 PM#7
aquilla
Quote:
- There is one little problem, the order of the skills shown in the spell book seems to depend on the order you created them in the object editor...
that should be the same thing, shouldn't it? as the raw id increases by one whenever you create a new spell compared to the last
09-21-2006, 10:45 PM#8
karukef
The FIRST words in the post I pointed to, marked in RED LETTERS explain that the first post should be skipped. The rawcode of the spell has nothing to do with its position in the spellbook.

The order in the spellbook (for added spells, not those you put in it initially) is determined solely based on the order of which they are loaded for the first time in War3. Anyway, I shouldn't have to explain something I wrote about in depth in that post.
09-22-2006, 05:37 AM#9
zen87
Quote:
Originally Posted by karukef
The FIRST words in the post I pointed to, marked in RED LETTERS explain that the first post should be skipped. The rawcode of the spell has nothing to do with its position in the spellbook.

The order in the spellbook (for added spells, not those you put in it initially) is determined solely based on the order of which they are loaded for the first time in War3. Anyway, I shouldn't have to explain something I wrote about in depth in that post.
uhm im not quite sure about all these order or whatever, but there is one thing im sure, just make sure the maximum and minimum spells in your spell book are EQUAL to the spells you added in there, it doesnt matter how the spells are arranged, they will follow the position setup in the object editor
09-22-2006, 01:10 PM#10
karukef
As I said, the extra information is for "added spells, not those you put in it initially". The spells you put in initially comes in the order you put them in, so that's no problem.
09-22-2006, 01:16 PM#11
zen87
Quote:
Originally Posted by karukef
As I said, the extra information is for "added spells, not those you put in it initially". The spells you put in initially comes in the order you put them in, so that's no problem.
uhmmm... make another spell book and replace the old one when you want to add spells ? O_o ok... i know that is a dumb idea...