• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

Spellbook's doing my head in ><

Status
Not open for further replies.
Level 2
Joined
Apr 15, 2008
Messages
17
Ok, so i'm trying to work on some spellbooks. (I'm aware not many people like them :p)
I try to add spells, and its not working. I've followed this guide:
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=34530
and got the FIRST spell to show up, when i went to add another spell... It just didn't work... all spellbooks use the same 'Data - Base Order ID'
Since trying a couple things to make it work.. Its turned worse.. The first spell doesn't even show up now. When i open the spellbook ingame, its just blank.
To test the spellbooks, i had the following CUSTOM options:

Spellbook
Data - Maximum Spells: 11
Data - Minimum Spells: 1
Data - Shared Spell Cooldown: False
Data - Spell List : (blank)
Stats - Item Ability: False
Text - Editor Suffix: (Level 1 Burrower)

dummy (level1)
Data - Maximum Spells: 11
Data - Minimum Spells: 1
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level1)
Stats - Item Ability: False
Text - Editor Suffix: (Level 1 Burrower)
Text - Name: dummy

dummy (level3)
Data - Maximum Spells: 11
Data - Minimum Spells: 1
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level1), Bloodlust
Stats - Item Ability: False
Text - Editor Suffix: (Level 3 Burrower)
Text - Name: dummy

dummy (level10)
Data - Maximum Spells: 11
Data - Minimum Spells: 1
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level10), Bloodlust
Stats - Item Ability: False
Text - Editor Suffix: (Level 10 Burrower)
Text - Name: dummy

Here's my triggers

  • Hero Spawn
    • Events
      • Unit - A unit enters Burrower <gen>
    • Conditions
    • Actions
      • Unit - Create 1 Burrower for (Owner of (Entering unit)) at (Center of Hero Spawn <gen>) facing Default building facing degrees
      • Player - Disable dummy (Level 3 Burrower) for (Owner of (Entering unit))
      • Player - Disable dummy (Level 10 Burrower) for (Owner of (Entering unit))
      • Unit - Remove (Entering unit) from the game
      • Camera - Pan camera for (Owner of (Entering unit)) to (Center of Hero Spawn <gen>) over 1.00 seconds
  • Level 3
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • ((Unit-type of (Leveling Hero)) Equal to Burrower) and ((Level of (Leveling Hero)) Equal to 3)
    • Actions
      • Player - Disable dummy (Level 1 Burrower) for (Owner of (Leveling Hero))
      • Player - Enable dummy (Level 3 Burrower) for (Owner of (Leveling Hero))
  • Level 10
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • ((Unit-type of (Leveling Hero)) Equal to Burrower) and ((Level of (Leveling Hero)) Equal to 10)
    • Actions
      • Player - Disable dummy (Level 3 Burrower) for (Owner of (Leveling Hero))
      • Player - Enable dummy (Level 10 Burrower) for (Owner of (Leveling Hero))
 
Level 12
Joined
Jul 11, 2010
Messages
422
You don't need to follow this tuto for your purpose. It explains how to add spells in a spellbook in a non-predefined order (if you wanted to let the player choose his spells, it would have been usefull).
But you just can swap spellbooks.
Also, you should never have the fields "Maximum Spells" and "Minimum Spells" on different values since it's quiet bugged.

dummy (level1)
Data - Maximum Spells: 1
Data - Minimum Spells: 1
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level1)
Stats - Item Ability: False
Text - Editor Suffix: (Level 1 Burrower)
Text - Name: Burrower's spells

dummy (level3)
Data - Maximum Spells: 2
Data - Minimum Spells: 2
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level1), Bloodlust
Stats - Item Ability: False
Text - Editor Suffix: (Level 3 Burrower)
Text - Name: Burrower's spells

dummy (level10)
Data - Maximum Spells: 2
Data - Minimum Spells: 2
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level10), Bloodlust
Stats - Item Ability: False
Text - Editor Suffix: (Level 10 Burrower)
Text - Name: Burrower's spells

  • Level 3
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • ((Unit-type of (Leveling Hero)) Equal to Burrower) and ((Level of (Leveling Hero)) Equal to 3)
    • Actions
      • Unit - Remove the ability (Burrower's spells (Level 1 Burrower)) from (Leveling Hero)
      • Unit - Add the ability (Burrower's spells (Level 3 Burrower)) to (Leveling Hero)
With this, you don't have to use "Enable/disable ability", your hero should have the lvl1 spellbook at start and you do a similar trigger for lvl 10.
 
Level 2
Joined
Apr 15, 2008
Messages
17
Will try that tomorrow. Off to bed now. Thanks for the advice :)

Edit: Tried this and it worked perfectly! Thank you very much!
 
Last edited:
Status
Not open for further replies.
Top