there seems to be something weird with the Ability-id, some are valid, some aren't so the training might fail and your hero has all abilities from the start/beginning if you have multiple heroes there seems one way to ensure that your Ability-id is valid, use HeroSkillsUnitname ie. HeroSkillsGuy
For the most part, I got WC3 Hero emulation working. It must be noted some things were pretty much duplicated from the aforementioned chinese mod. Some things, like level requirements for skills havent been finished yet. I will get to fix it once I study said mod further. No documentation within yet either.
It requires a launcher like Zoxc's which allows to pick a mod. Player Race must be protoss, and computer race I recommend zerg, for I have given them a few extra zerglings for testing purposes.
http://dl.dropbox.com/u/1047844/HeroMod.rar
OH MY SCREENSSS:
to get the level-reqs working you "only" need the following things
A CBehaviorBuff with a RemoveValidatorArray
A Validator looking like this:
The tooltip attribute prevents something like RequirementNode/Tooltip/NotLv6 in the requirements or null - so it just shows the Requirement
make sure you have added your RequirementNodeData.xml to add.mpq2k and having a blank RequirementNodeData.xml in your patch.S2Archive in your "...\Starcraft II Beta\Versions\Base10000"
there seems to be something weird with the Ability-id, some are valid, some aren't so the training might fail and your hero has all abilities from the start/beginning if you have multiple heroes there seems one way to ensure that your Ability-id is valid, use HeroSkills
Unitname
ie. HeroSkillsGuyto get the level-reqs working you "only" need the following things A CBehaviorBuff with a RemoveValidatorArray A Validator looking like this:
RemoveValidator for Behaviors remove the buff if the case isn't matched any longer
Next you need a RequirementData (for this kind of Requirement) you need a Node ( RequirementData.xml
)
in the RequirementNodeData.xml you will now need the following
The tooltip attribute prevents something like RequirementNode/Tooltip/NotLv6 in the requirements or null - so it just shows the Requirement make sure you have added your RequirementNodeData.xml to add.mpq2k and having a blank RequirementNodeData.xml in your patch.S2Archive in your "...\Starcraft II Beta\Versions\Base10000"