Hi, would anyone be able to assist me with the duplication process of the war3 heroes?
I wanted to duplicate a paladin, and I figured it would be easy peasy like any other unit, but I ran into some issues. Here are the steps I took:
1. Opened editor, data editor, unit tab
1. Right clicked and clicked add new unit
2. Named the new unit, clicked suggest right below it (Called it "Paladin2")
4. Selected "Paladin" as the unit I wanted to copy (bottom of the new opened window, "copy from" row)
6. Pressed okay
7. Clicked the plus sign on the object editor tabs, went to edit actor data, actors
8. Clicked the new actors tab
9. Right clicked and clicked add new actor
10. Named it "Paladin2Actor" and clicked suggest like before
11. Changed the "Actor Type:" row to unit
12. Selected "Paladin" to copy (bottom of the new opened window again)
13. Pressed okay
14. Clicked on the new actor
15. At the bottom right of the window where it says "Token" and then "Unit Name," changed the unit name to "Paladin2"
First problem I ran into was that duplicating the paladin this way changed the name of the original from "Paladin" to "Paladin2." No big deal, I was able to distinguish between the two by using suffixes.
Second problem I ran into was that my duplicated actor, "Paladin2Actor" still seemed to be connected to both the original paladin and my new one. No big deal again, ran into no errors in game from that.
The third problem I have run into is causing me issues though. I noticed Renee made her paladin a hero by using the veterancy behavior defined as "Hero." Nothing out of the ordinary there. Strength, Agility, and Intelligence are all attribute behaviors as well, nothing out of the ordinary there. The problem now though is that under the "Hero" veterancy behavior, there is no attribute gain per level. Nothing in defined in "Hero" except the levels.
This means my new duplicate paladin has 0 str, 0 agi, and 0 int at level 1. No big deal, I could define them myself, BUT I'm wondering what gives Renee's paladin all of its str, agi, and int. It certainly isn't the "Hero" behavior as there is no str, agi, or int gain per level defined there. Also what gave the Paladin str as a primary attribute? The only thing missing from my own duplicated paladin is the upgrade node, but I have no idea how that thing works as it seems to use some kind of custom script.
Any advice on how to make my paladin work like Renee's? Do I need to define my own veterancy behavior that increases dmg per point of str and then copy how much str, agi, and int is gained per level manually to emulate a paladin from war3 or is there something missing that I can simply link up to do all that automatically like Renee's paladin somehow has?
There is a User Type data with I used to define the Unit's att.
For those of you wondering how to find your unit's ID after the unit is already made:
1. Open the data editor window
2. Right click your unit and select modify (unit ID should be shown as the second field)
This also allows you to look up the unit ID of other heroes if you wanted to copy their stats from Renee's table.
To add your unit to Renee's table,
1. Click the plus tab on the data editor and go to "Edit Advanced Game Data" -> "User Types"
3. Click the new "User Types" tab that should have appeared in your data editor
4. Look for the User Type "Hero Balance"
5. If you are in table view, double click "(Basic) Instances +" and then the "Add" button or if you are in detail view, click add under the "(Basic) Instances" window
6. Rest should be self explanatory, BUT make sure you select "Main Attribute (YourChoiceHere)" in the values window under "Primary" (below "INTplus").
Oh, and the values like "INTplus" define how much of each attribute (str, agi, int) you gain per level. You know what those do I'm sure War3 fans, but you can also look in the data editor's "Behaviors" tab for "Intelligence," "Agility," and "Strength" if you don't remember (they're the ones that are attributes under the "Behavior Type" column).
Another way to find those behaviors mentioned above is just to click on your unit in the data editor and look what's listed under its "Behaviors" section (window near lower left in data editor once you select a unit).