| 10-28-2003, 02:13 PM | #1 |
Hi, I am having a little trouble editing/creating my own spells/abilities. I followed this tutorial on how to do it http://www.wc3campaigns.com/sections...rtid=10http:// Ok ill run through exactly what I have done: MPQ: I'm using WinMPQ .slk/.txt viewer: Microsoft Excel and Notepad Ok I started by opening war3.mpq using winmpq, I searched and extracted the files -AbilityData.slk -HumanAbilityFunc.txt -HumanAbilityStrings.txt -NightElfAbilityFunc.txt -NightElfAbilityStrings.txt -OrcAbilityFunc.txt -OrcAbilityStrings.txt -UndeadAbilityFunc.txt -UndeadAbilityStrings.txt -NeutralAbilityFunc.txt -NeutralAbilityStrings.txt I extracted them directly to this file: C:programfiles\warcraftIII\Units I then used Microsoft Excel to open AbilityData.slk I copied the first spell in the list (Arch mage – Blizzard) I pasted this cell in at the bottom of the document and changed all of the Blizzard texts to Ice Storm. I changed Cells A and C to A1bz. I then saved the file. I then opened HumanAbilityfunc.txt and copied this: // Blizzard [AHbz] Art=ReplaceableTextures\CommandButtons\BTNBlizzard.blp Researchart=ReplaceableTextures\CommandButtons\BTNBlizzard.blp Buttonpos=0,2 Researchbuttonpos=0,0 Casterart= Order=blizzard And changed it to this: // Ice Storm [A1bz] Art=ReplaceableTextures\CommandButtons\BTNBlizzard.blp Researchart=ReplaceableTextures\CommandButtons\BTNBlizzard.blp Buttonpos=0,2 Researchbuttonpos=0,0 Casterart= Order=blizzard I saved the file and then opened HumanAbilitystrings.txt and copied this: // Blizzard [AHbz] Name=Blizzard Tip=|cffffcc00B|rlizzard - [|cffffcc00Level 1|r],|cffffcc00B|rlizzard - [|cffffcc00Level 2|r],|cffffcc00B|rlizzard - [|cffffcc00Level 3|r] Ubertip="Calls down <AHbz,Data11> freezing ice shard waves; each wave deals <AHbz,Data12> damage to units in a small area.","Calls down <AHbz,Data21> freezing ice shard waves; each wave deals <AHbz,Data22> damage to units in a large area.","Calls down <AHbz,Data31> freezing ice shard waves; each wave deals <AHbz,Data32> damage to units in a very large area." Hotkey=B Researchtip="Learn |cffffcc00B|rlizzard - [|cffffcc00Level %d|r]" Researchubertip="Calls down waves of freezing ice shards that damage units in a target area. |nEach level increases the area of effect. |n|n|cffffcc00Level 1|r - <AHbz,Data11> waves at <AHbz,Data12> damage each. |n|cffffcc00Level 2|r - <AHbz,Data21> waves at <AHbz,Data22> damage each. |n|cffffcc00Level 3|r - <AHbz,Data31> waves at <AHbz,Data32> damage each." Researchhotkey=B And changed it to this: // Ice Storm [A1bz] Name=Ice Storm Tip=|cffffcc00I|ce Storm - [|cffffcc00Level 1|r],|cffffcc00I|ce Storm - [|cffffcc00Level 2|r],|cffffcc00I|ce Storm - [|cffffcc00Level 3|r] Ubertip="Calls down <A1bz,Data11> freezing ice shard waves; each wave deals <A1bz,Data12> damage to units in a small area.","Calls down <A1bz,Data21> freezing ice shard waves; each wave deals <A1bz,Data22> damage to units in a large area.","Calls down <A1bz,Data31> freezing ice shard waves; each wave deals <A1bz,Data32> damage to units in a very large area." Hotkey=B Researchtip="Learn |cffffcc00I|ce Storm - [|cffffcc00Level %d|r]" Researchubertip="Calls down waves of freezing ice shards that damage units in a target area. |nEach level increases the area of effect. |n|n|cffffcc00Level 1|r - <A1bz,Data11> waves at <A1bz,Data12> damage each. |n|cffffcc00Level 2|r - <A1bz,Data21> waves at <A1bz,Data22> damage each. |n|cffffcc00Level 3|r - <A1bz,Data31> waves at <A1bz,Data32> damage each." Researchhotkey=I I then saved the file. I opened the World Editor and opened my map (for all future purposes referred to as mymap.w3m). I added the hero Arch Mage and using the object editor deleted Blizzard from his spell/ability list and replaced it with my new spell. I then saved the map. Using WinMPQ I then opened mymap.w3m and used the “Add� function, selecting the files from my Units folder (location same as above) I added them to the map (when the little box popped up prompting for the file path I entered Units\). I closed WinMPQ (the files were now in the file list for the map). I then ran Warcraft III and selected my hero, and he didn't have my ability. Can anyone see where ive gone wrong? And can you advise me on where ive gone wrong. If I haven't given enough detail just ask and I can give more information. Thanks, IDISacredIDI |
| 10-28-2003, 02:19 PM | #2 |
Sorry if this is in the wrong area. If it is please move it to the right area. Sorry for any inconvenience Thanks, IDISacredIDI |
| 10-28-2003, 07:49 PM | #3 |
Why don't you just use TFT WE (The frozen throne world edit), It allows you to edit spells easily and not through .slk editing? |
| 10-28-2003, 08:20 PM | #4 |
I dont have TFT nor can I afford to buy it :(. But if using TFT makes it much easier I may well think about saving for it, or d/ling it through kazzaa. IDISacredIDI |
| 10-30-2003, 02:50 PM | #5 |
actually, the TFT editor kinda worsens things. you cant change the art for a lot of spells, and there are bugs, and you cant edit buffs. It might get fixed in the next patch, it might not. Currently SLK editing is more convenient - if you can get it to work :P (P.S. you dont need to edit the humanabilityfunc file if you only wanna change the name, the spell name is only changed in the humanabilitystrings file - you actually only need the humanabilitystrings file, since you only edited the spell's name =/. If you aren't using blizzard, change the code back to Ahbz and just import the humanabilitystrings.txt file, you dont need the rest) |
