Release Date: May 13, 2008 System Version: v1.4d Author: Valdez Contact: Valdez_MapMaker@yahoo.com First off let me thank you for showing intrest in my system and please feel free to ask any questions or leave feedback. -------------------------------------------------------------------------------------------- How it works: Your players buy items from shops (resembling the available skills). The item is instantly removed. The trigger that represents the item checks for an open ability slot. If there are no open slots then it tells the player there are no more slots and refunds the purchase price. If there is an open slot, it sets the open slots variable to the ability represented by the item purchased. Then when the player clicks the "Hero Abilities" ability for their hero it runs a dialog. The Dialog displays the abilities the hero has stored and a cancel option. When an option is picked it levels that ability up for the hero. If there are more available skill points it restarts the dialog. -------------------------------------------------------------------------------------------- Implementing the System on your map: 1.) Open my map "CHALS vX.X" 2.) Open the map you want the system used in. 3.) Open the Trigger Editor. 4.) Copy (recommended) or remake all variables from my map to yours (If you remake them, make shure you use the same name) onto your map (Its important that you copy the variables first as it will prevent disabling any parts of the triggers). 5.) Change the array variables (the variables you just copied only) on yours to the number of Human Players with Heros. 6.) Change the variable called "Hero Level" and set its "Initial Value" to 1. 7.) Copy the "Spell Setup" Folder from my map into your map (Copying the folder will also copy all triggers inside it). 8.) Open the Object Editor and goto the "Abilities" tab. 9.) Create a new Ability called "Her|cffffcc00o|r Abilities" (I used Roar as a base but you can use an ability that doesn't require designating a target). 10.) Change the description of the ability to "Opens the abilities menu and allows you to assign unused points to the Heros' abilities." 11.) Change the Icon for this ability to the following path "ReplaceableTextures\CommandButtons\BTNSkillz.blp" thats the path for the icon that represents blizzards preset ability selection interface. 12.) Change the line "Art - Button Position - Normal (X)" to 3 and "Art - Button Position - Normal (Y)" to 1. 13.) Goto the "Units" tab in the Object Editor. 14.) For each of the Heros that are pickable add the spell you made in directions line #9 to their "Normal" abilities (Make shure its not their "Hero" abilities). 15.) Open the Trigger Editor again if you closed it. 16.) Find the "Level Button Clicked" trigger and veiw it. 17.) Change the condition for "Level Button Clicked" to check if the ability being cast is equal to the spell you made in directions line #9 above. (Note: Directions 9-11 do not have to be exact but you must create a new ability to represent a button the player clicks to learn new abilities for the hero) Now your maps Dialog is set as long as you only have the normal 3 levels for normal Hero Abilities and 1 level for Hero Ultimates. If not, then view the "Changing Max Ability Levels" section below. -------------------------------------------------------------------------------------------- Adding Learnable Abilities: It comes standard with the 11 basic blizzard made abilities for the test map. You can choose to delete any of them but I recomend doing it after adding the abilities you want. They will supply you with a template. 1.) Open the Object Editor and goto the "Items" tab. 2.) Create a new item using the abilities Icon and Name. 3.) Change the line "Stats - Use Automatically When Acquired:" to "True" and the line "Stats - Perishable" to "True" and last but not least the line "Stats - Number of Charges:" to 1. 4.) Change the cost of the item to whatever currency your using for abilities. 5.) Open the Trigger Editor. 6.) Create a new trigger. 7.) Copy the "Blizzard" trigger (If its a normal ability) or the "Avatar" trigger (If its an Ultimate) and just change the name to the spell your adding. 8.) Change the first condition to see if the item-type is equal to the "Dummy" item you just created. 9.) Now scroll down the actions and change any condition that checks a spell other than "AbilityCheck" to the ability your "Dummy" item represented. 10.) Now change any of the "Set Variable" actions to set the spell slot to the spell your "Dummy" item represented. 11.) Now change any spell name reference in the Game Messages to the name of your spell or delete them entirely. 12.) Change the refund type at the end of the actions list to the type and amount that was used to purchase the "Dummy" item. Now your ability should work with this system. -------------------------------------------------------------------------------------------- Changing Max Ability Levels: 1.) Open the Trigger Editor. 2.) Find the "Dialog Button Clicked" trigger. 3.) For each If/Then/Else action pretaining to a skill slot edit the "then" actions by copying the If, Then, Else and extending the check for ability level and setting the level of ability for picked unit (thats about as much as I can help you with this part, the comments in the trigger itself may aid you some). 4.) Find the trigger "Skill Point Addon" and change the value for the end of the conditon (should be 13 by default) to the total number of all your abilities maximum levels. Example of Direction 4: Ability 1 = 3 levels Ability 2 = 3 levels Ability 3 = 3 levels Ability 4 = 3 levels Ability Ult = 1 level Total = 13 (The number you use) -------------------------------------------------------------------------------------------- Reporting Errors/Problems/Crashes: You can repor any Errors/Problems/Crashes by e-mailing them to me at the e-mail in the "Contacts" line above or by posting in either thread link below. http://www.wc3campaigns.net/showthread.php?t=100398 or http://www.hiveworkshop.com/forums/showthread.php?t=83405 -------------------------------------------------------------------------------------------- Questions or need help? Just use any of the methods listed in the "Reporting Errors/Problems/Crashes" section above! -------------------------------------------------------------------------------------------- Change Log: CHALS v1.4d -Added Color to the Dialog buttons making them easier to distinguish the different types. -Fixed a problem with double abilities. -Fixed a problem with the "-repick" option. -Added new notes for the Normal WE version. -Fixed a few spelling errors in readme. -Changed a few readme directions to make them more clear and more precise. CHALS v1.4c -Fixed a problem with skill level display. -Fixed a problem with dialog not refreshing when there are unused skills left after a selecton. CHALS v1.4b -Minor tweaks and changes. CHALS v1.4 -Converted everything over to the normal WE. CHALS v1.3 -Fixed a major error concerning the available skills not displaying correctly and causing game to crash. -Made improvements on the triggers and shortened the number of triggers required! CHALS v1.2 -Changed Dialog buttons so they display "Learn" before the spell name and show what level of the ability will be learned after the name. -Changed Dialog buttons so they display "Ability Maxed" if the ability has been maxed already. -Changed Dialog setup so it does not add buttons for available skill slots that have no purchased abilities yet. -Fixed an error that didn't reset the Dialog when you try to level up an Ultimate before the required level. -Added comments to and better organized the triggers to make everything cleaner and more understandable. -Added a refund of purchase price if an ability slot is not open and an ability is purchased. -Fixed a problem of being able to have duplicate abilities in available slots. -Wrote a readme. CHALS v1.1 -Added new features to Dialog Buttons. -Added game startup messages. -Added a -repick option to the map. -Reworked the System so it was MUI compatible. -Other minor changes.