• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] SpellBook Issue

Status
Not open for further replies.
Level 2
Joined
Feb 21, 2020
Messages
5
First time dabbling with the Spell Book concept, but I had an idea to create a base-building kit spell book item.

So some book that can be obtained that has the "build tiny Lumbermill" etc, one of every building.
But when I do it, something really odd happens.

No matter which building I try to make, it always just makes the same one. I've tried this multiple times and I can't discern any consistency either. This time, its trying to make a Scout Tower, and last time it tried to make a Town Hall. After I place the tower, the book looks like this as well.

spellbook.jpg


So something is clearly malfunctioning. What do you guys think it is?
Is there a better solution to this?
All I did was take the Spell Book ability and add these "build tiny X" spells to it, so maybe there is a more elegant process I am unaware of to make it work?
 
Because you copy pasted the ability. Each ability should have a unique order string otherwise it will just cast one of your copies.

The solution here is to use different abilities per building (do not copy and paste the same custom ability), use "Build Tiny Altar Of Kings" to (your building #1), use "Build Tiny Barracks" to (your building #2), use "Build Tiny Blacksmith" to (your building #3) and so on.
 
Last edited:
Level 2
Joined
Feb 21, 2020
Messages
5
Because you copy pasted the ability. Each ability should have a unique order string otherwise it will just cast one of your copies.

The solution here is to use different abilities per building (do not copy and paste the same custom ability), use "Build Tiny Altar Of Kings" to (your building #1), use "Build Tiny Barracks" to (your building #2), use "Build Tiny Blacksmith" to (your building #3) and so on.
Interesting, but I already did what you suggested.
I just started with the ones that were already there to make sure it worked before I elaborated, and they had this issue happen too.

Anyway, I looked at "Text - Order String - XXX" and it was just "none" for all 4 possible entires on all the different builds.

I tried changing it to just a bunch of different ones, but still nothing changed.
Still trying to build a tower no matter the button I select.

Does it matter WHAT the order string is?
Is that even what you were talking about, because I assumed the "text" segment was irrelevant for this sort of error.

Thanks for any addition advice!
 
AFAIK ability orders are hardcoded in the game, only Channel ability is customizable.

Your unit should not have two similar orders/abilities in it otherwise other orders/abilities with similar order string/id will just be ignored - in your case it is only building the tower because it has the same order/ability as the rest of your build structure abilities.

You can see at the raw data if you based your ability at a single ability. Like I mentioned above you should not be using similar abilities in your unit otherwise it will just cast only one of them (but will appear like it's casting at the same time ingame).

upload_2020-3-15_11-2-31.png


Can you send a screenshot of the raw data of your abilities here?
 
Last edited:
Level 2
Joined
Feb 21, 2020
Messages
5
Is this what you are looking for?
Sorry, still learning the vernacular.
wcm14.jpg


I for sure copied each one individually, but seems like a lot of similar letters there. I don't know what they refer to, but hope it can help you distinguish the issue.
 
Status
Not open for further replies.
Top