| 08-28-2003, 03:11 AM | #1 |
So close, yet so far away... I'm working on two heroes which I had intended to be able to build some basic structures. I gave them the Harvest and Repair skills, but when I started to configure the construction options they simply weren't there. Apparently in the editor they are listed for normal units, but not for heroes. Is there an easy way to give a hero building options? Thanks, Trick |
| 08-28-2003, 04:51 AM | #2 |
Answered by own question. Found that line #39 of UnitMetaData.slk controls what unit types the Builds option is displayed for in the WE. I simply made the flag for Heroes a "1" and dropped the updated file into a Units subfolder in my War3 dir. Reopened the WE and was ready to go. Also, has anyone else noticed that "-direct -txt" isn't needed when running WE? I can just place the files in the appropriate place and WE picks them up automatically. |
| 08-28-2003, 09:00 AM | #3 | |
Quote:
Could you be more specified? where to get UnitMetaData.slk ? and so forth... I wanna make add a hero builder too... thanks. |
| 08-28-2003, 03:07 PM | #4 |
Sure! I used MPQ View to extract the contents of War3patch.mpq, retaining its directory structure. In the Units folder you will find UnitMetaData.slk I opened the file using Excel and went to Row #39, which is the Builds line as noted in Column B. If you scroll over to Coulmn Q (useHero), this is the setting which tells the WE if this option is used with Heroes. Change the 0 to 1. Now, you need to save the file into your War3 folder for the WE to see the change. If you have a default installation, then you want to save at: C:\Program Files\Warcraft III\Units\ If you don't have a default install, just create a Units subfolder in your War3 folder and save the file there. Open the WE and you should now have the option to list Structures Built for your heroes. :ggani: NOTE #1: It seems that the build icon will always appear at 0,2. Haven't looked for a way to change this yet, since I'm OK with it. NOTE #2: Once a new patch is released, you will need to do these steps again, using the new UnitMetaData. Otherwise, your WE won't see any changes Blizzard makes to that file in the patch. NOTE #3: Earlier I did a similar thing with AbilityData.slk so I could enable hidden abilities in the editor. I think this is what some of these "hyper-editors" do, but that's for another post... |
| 08-28-2003, 10:47 PM | #5 |
thanks so much man i'll try that later =D |
| 08-28-2003, 11:37 PM | #6 |
Guest | Yea but once the hero starts the construction it won't continue construction... I'm not sure why well i know why but i'm not sure how to fix it. |
| 08-29-2003, 12:20 AM | #7 |
Give the hero the normal Repair ability. |
| 08-29-2003, 04:24 AM | #8 |
That's necessary for Human race, but I don't believe it's necessary for any of the others. You could make your hero an Orc, perhaps. |
