HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Error with custom spells....

01-25-2003, 08:50 PM#1
BlueScoobiedo
Hrm, okey, I dunno if this is the right forum to post in, but... the forum is about development TOOLS, so i posted here cuz of i dunno if im doing wrong with TECHmpq or my editing skills are to n00by.... =/
But... here is the problem... im makeing a spell for my freinds hero arena. its called "Soul Transfer" and its Posession that only can target heroes..
BUT. I didnt want to overwrite the Posession spell so i made a new...
With the code: Apo1, In UndeadAbilityFunc the code is:
// Soul Transfer
[Apo1]
Art=ReplaceableTextures\CommandButtons\BTNPossession.blp
Buttonpos=2,2
Researchbuttonpos=2,0
Missileart=Abilities\Spells\Undead\Possession\PossessionMissile.mdl
Missilespeed=1500
Order=possession

In Strings:
// Soul Transfer
[Apo1]
Name=Soul Transfer
Tip=S|cffffcc00o|ul Transfer
Ubertip="Allows the soul to tansfer to the choosen hero."
Hotkey=O

Okey, iknow that im noob at this,
To select the ability in WE i need to have it in War3Patch.mpq, right?
So I imported The Abilitydata.slk, UndeadAbilityfunc/strings.txt in the patch.mpq. And when i run WE i get the error:
UndeadAbilityFunc is corrupted, the program will now terminate...

Okey... So all u experts out there can u help a little n00b on his journey to sucseed u? (Joke)

But what have i missed?

Have a nice ...Eh, wtf, screw that..... :////
01-26-2003, 10:40 AM#2
Krakou
What tool did you use to modify the txt files ?

You have to use a program like notepad that saves the file as txt without adding any extra code.
01-26-2003, 11:56 AM#3
BlueScoobiedo
I used Notepad or Anteckningar as its named for me.... 8)