| 12-01-2002, 09:36 PM | #1 |
Guest | Ok I've tried 3 different tutorials and can't get the spell editing to work. I'm just want to do something really simple like increase the radius/damage of immolation or something. Here is what I have (for increasing permanenet immolation dmg/radius): in NeutralAbilityStrings.txt I added to the bottom: // permanent immolation [ANp1] Name=PPPermanent Immolation Tip=PPPermanent Immolation Ubertip="Burns nearby enemy units for <ANp1,Data11> points of damage per second." the in NeutralAbilityFunc.txt I added: // permanent immolation [ANp1] Art=ReplaceableTextures\PassiveButtons\PASBTNImmolation.blp Buttonpos=0,2 And in AbilityData.slk I added a bottom row to be: ANp1 ANpi ANp1 PPPermanent Immolation 1 0 0 unit 0 1 0 ground,enemy,neutral 0 1 1 0 0 300 - 50 And the resto of the row I left the same. Then I used WinMPQ to open War3Patch.mpq to add the files, and when I open up the World Editor and go to "add ability" in the unit thing the new Perm Immolation isn't there. Anyone know what's wrong? |
| 12-01-2002, 09:46 PM | #2 |
All those files need to be imported into the Units\ directory of an archive (.mpq or .w3m) or otherwise they won't work. Martinez |
| 12-01-2002, 10:05 PM | #3 |
Guest | Yea... In that little pop-up I put "Units\" and it doesn't work |
| 12-01-2002, 10:56 PM | #4 |
did u make it so it appears in worldedit in teh abilitydata.slk? |
| 12-02-2002, 01:14 AM | #5 |
Remember, if you reopen the map in world edit all the files will be gone and you'll have to import them again. |
| 12-02-2002, 01:25 AM | #6 |
Guest | What? If it messes it up when I open the map in world edit... how am I supposed to use the spell? Am I doing soemthign wrong...? did u make it so it appears in worldedit in teh abilitydata.slk? No, how do I do that? |
| 12-02-2002, 03:01 AM | #7 |
Guest | ANp1 | ANpi | ANp1 | PPPermanent Immolation | 1 | 0 | 0 | unit | 0 | 1 | 0| ground,enemy,neutral | 0 1 | 1 | 0 | 0 | 300 - 50 What demonic meant is that you need to confirm that your spell can be used in the editor through the coding in the abilitydata.slk. In the copied code above, the first number after PPPermanent Immolation is the part that says whether or not the spell can be used in the editor. A "1" means that it can, and a "0" means that it cannot. Your above code has a "1" in that section, so that shouldn't be the problem. However, there's one possible problem that I can see. If this is a copied ability (ie: you copied the Perm Immolation and moved it down to create your own ability) then the first and third entries need to be changed. The first ANp1 and second ANp1 need to be changed to something like A111. Be sure to keep the second ANp1 the same though. Your thing should look like this: A111 | ANp1 | A111 | PPPermanent Immolation | 1 | 0 | 0 | unit | 0 | 1 | 0| ground,enemy,neutral | 0 1 | 1 | 0 | 0 | 300 - 50 However, this is only if you copied the ability and created your own. If you just edited the original ability then I'm not sure what could be the problem. Oh, and btw, your first code (up top) had the second ANp1 written down as ANpi .... be sure that the middle code is ANp1 (or whatever it orginally was). Also be sure to match the string.txt and func.txt with the FIRST and THIRD ANp1 codes (or whatever they're changed to). Keep the second one the same as it orginally was. |
| 12-02-2002, 03:17 AM | #8 |
Guest | RoadRunner: Ok I see about the editor thing so yea that shouldn't be the problem. ANp1 is the code I made up. Can anyone point me to a good MPQ editor and tell me how to use it. I think that's where my problem is.. I dunno. EDIT: D'oh... I was looking in Hero abilities but it was a unit skill. I'm going to hide my face in shame now.. :( |
