| 07-27-2003, 09:22 PM | #1 |
Alright, I'm just trying to do basic stuff here and I don't know what to do right now. I'm trying to add a hero to the Orcs, with a couple custom abilities. So here's what I've done so far: extracted all the *unitfunc, *unitstring, *abilityfunc, *abilitystring, abillitydata.slk, unitui.slk, and unitabilities.slk. I copied a hero section (Warden specifically) and pasted it in the OrcUnitFunc.txt. I changed the code from Ewar to Ewa1. I changed a few things like missile art, model, etc. I did the same for the OrcUnitString.txt, changing to Ewa1. I copied the Warden's line in unitabilities.slk and unitui.slk and pasted it at the bottom, changing the code and leaving everything else virtually the same (right now I just want to get it working). Now, what exactly do I do from here to get my new hero to appear in the editor? I'm sure if I figure out to get my hero working, I can easily get the ability working for sure. As a second question, I don't understand how to edit the buffs. Let's say I want to create a custom starfall. Can I simply create a new ability with code A123 and give it the reference code for starfall, set all the graphics and damage and stuff, and then add a buff by creating B123 and setting the targetart and buffname? Thank you for your help. |
| 07-28-2003, 04:45 AM | #2 |
You need to edit UnitData.SLK and UnitUI.slk In UNitUI you will see 2 field name : inEditor and hiddenInEditor . Just set hiddenInEditor = 0 . If you use UMSWE 3.8 you will see your hero exactly in WE but in standard WE you can't see it right . I don't know what makes UMSWE differ to standard WE . P/S : I have make the custom hero appear in WE but when I test the map , all my custom hero disappear .:nono: |
