HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Spellbook as a hero skill issues

07-23-2004, 09:50 PM#1
UnemployedNinja
I was making a map and to put in more spells, I made a system of spellbooks that were hero spells. It was kinda complicated, but it worked. For example, if I wanted to use the spell heal to go to level 10 and to level up with the spellbook, for the list of spells in the first level of the spellbook, there would be "Heal Lv. 1." In the second level of the spellbook, a different spell would be in the book, "Heal Lv. 2." It was essentially the same spell as Heal Lv. 1 but better. In this case, it would heal more skill points. I've tested all the spells in the spellbook, and it works, and though I can't get rid of the green box bug (where when you try to learn the spellbook as a hero skill it looks like a green box), thats fine. The real problem is that when I level the spellbook skill to level four, the game completely crashes, something about a fatal error. If anyone could help, it would be greatly appreciated.

P.S. I've tried this on several computers, and it doesn't work on all of the ones I've tried.
07-23-2004, 09:58 PM#2
bile
what kind of abilties do you have on the spellbook abilty at level 4? if you somehow gave it an item ability or hero ability that might cause problems.

the green box appears if there is no icon. You must have no disabled icons for the icons you're using. Import a disabled icon with the normal icon but the diabled icon must have "DIS" before BTNname.blp and be in the "CommandButtonsDisabled" route so that the game knows it's a disabled icon.
07-23-2004, 10:03 PM#3
UnemployedNinja
Quote:
Originally Posted by bile
what kind of abilties do you have on the spellbook abilty at level 4? if you somehow gave it an item ability or hero ability that might cause problems.

the green box appears if there is no icon. You must have no disabled icons for the icons you're using. Import a disabled icon with the normal icon but the diabled icon must have "DIS" before BTNname.blp and be in the "CommandButtonsDisabled" route so that the game knows it's a disabled icon.

I put in heal, rejuvenation, faerie fire and thorns aura type abilities. I tried putting them in at spell book level 1, though, and they worked fine and I could level it up. Thanks for the help on the greenbox issue.
07-23-2004, 10:09 PM#4
bile
Quote:
Originally Posted by UnemployedNinja
I put in heal, rejuvenation, faerie fire and thorns aura type abilities. I tried putting them in at spell book level 1, though, and they worked fine and I could level it up. Thanks for the help on the greenbox issue.

thorns aura? did you change that to "hero ability false" or "item ability false"? I know that auras in general have problems with spell books. The aura might be your problem. But they usually just leak out and add to the hero's regular ability section.
07-23-2004, 10:13 PM#5
dragnstitch
ok another thing did you change the spells in the book? for example make sure that if you plan to put 5 spells in the book the MAX spell limit is 5 that might cause a crash apond trying to force more then the max spells in the book allowed..

Auras do leak out of spell books from what i been reading.. i dont need spell books as of yet =P so i really never used it all yet.. only taped into the spell books.
07-23-2004, 10:22 PM#6
UnemployedNinja
Quote:
Originally Posted by bile
thorns aura? did you change that to "hero ability false" or "item ability false"? I know that auras in general have problems with spell books. The aura might be your problem. But they usually just leak out and add to the hero's regular ability section.

Thanks, you were completely right, it was thorns aura. I didn't think it mattered since I made a trigger to prevent the spell from leaking over, but as soon as I took it out, I could level the spellbook to level 10. Thanks a lot, I owe ya one.

If anybody knows of a good base spell I could use that is like thorns aura, it would be greatly appreciated. It doesn't need to be a percentage of damage returned, I was actually looking for something more like lightning shield, but I don't want it to damage my own units.

Oh, and bile, if you could walk me through how to fix the green box thing once more it would be greatly appreciated, but it doesnt matter, thanks again.
07-23-2004, 10:46 PM#7
Yanah
Just use lightning shield but remove the tag that lets it hit your units.
07-24-2004, 04:35 AM#8
bile
Alrighty. Ok, so you have your imported icon file.
the normal icon should be under "replaceabletextures\CommandButtons\BTNname.blp"
after you import the disabled icon, you should have it something like "replacabletextures\CommandButtonsDisabled\DISBTNname.blp"

notice the addition of Disabled to the root and the word "DIS" in front of the filename.

the disabled icons are used when say you have a shop selected and the inventory icons are darkened. those are disabled icons. Like you've seen, the disabled icons also show up in the hero spell select if you don't have the level requirement.

i hope you understand that better now.