| 07-29-2003, 03:46 AM | #1 |
I tried adding them in the Unit's Trained along with any other hero to an alter. and then edited that paticular heroes required technology so that they only need that paticular alter to be built... But it seems to completely ignore this... When I try and build them I can't it says I need "an altar and either a townhall equivalient building" even though I changed it... I am trying to make the naga hero buildable at the naga altar. |
| 07-29-2003, 05:41 AM | #2 |
I've been working a lot lately with new Hero units myself and I've noticed that a lot of hero training/hiring behavior seems to be hard coded into the game. Much of it can be gotten around using triggers. Maybe you could have a dummy unit trained at the altar (ie, make a custom unit based off of a peasent, add an altar requirement to it, and give it the icons of the hero unit) and then use a trigger to replace it with the neutral hero once he's trained. Be sure to use another trigger to limit the number of dummy units available for training to 1, or else the player could effectively train multiples of the hero. |
| 07-29-2003, 06:29 AM | #3 |
Actually, to be accurate, I don't think it's hardcoded, but the fields which describe what the units require aren't available for editing in the WE. I recall that ChrydGod's Enhancer SLK (for RoC only, mind you) enable fields that allowed you to set the second and third hero building requirements. So, edit a UnitMetaData.slk to show those fields, perhaps. No gauruntees. |
| 07-29-2003, 10:16 AM | #4 |
*sigh* This bloody sucks... I can't even create a new hero for the Naga race... I tried creating an entirly new hero based on the crypt lord who is a Kraken with new abilities, but no matter what I change he still requires Halls of the Dead to build... Just as neutral heroes equire default races halls... The only thing I can do is base each naga hero on the Lady Serpentine, which is a hell of a lot more work... *sigh* No one has had luck with this? |
| 07-29-2003, 06:32 PM | #5 |
? |
| 07-29-2003, 07:09 PM | #6 |
Though this trigger should be easy to do, I can't seem to get it working right... I made a dummy unit to be trained at the alter, and I want him to be replaced by the hero upon completed training and then disable the unit from being built after that... But I can't seem to find the correct event to start the trigger... |
| 07-29-2003, 07:17 PM | #7 |
A Unit Enters the Playable Map. |
| 07-29-2003, 07:32 PM | #8 |
Argh, this is gonna be a pain in the *** now that I think about it. 1.) For my naga sea queen I used Lady Serpentine/Vashj which can be summoned from the Naga alter... But for some reason I can summon more then one, even though in me melee triggers I have it said "only hire one of each hero" So I'll have to do a trigger to disable that, which is pretty easy... I would base my dummy heroes on her if it wasn't for this problem. 2.) My Kraken hero... Problem with heroes is that their cost and availablity changes after you purchase one hero... With a dummy unit. I will defientl need to know this when I am working with the Burning Legion |
