HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need some help...

04-18-2003, 07:03 AM#1
Arche
Maybe I'm just n00b, but I dl'd redsculls spell editor (wich, by the way, owns), and I create a new hero spell based on the raise dead spell. I conf all the options for all three levels (3 skeletons, 6, 9), and make the whole thing look like any other hero spell. Then, in game, when I select the spell with my hero, he loses an hero point but he does not gain the ability in the command card. Then I check the reserch card again and there it also sais that I have not reserched this spell yet.. Is this possible to fix?
04-18-2003, 03:27 PM#2
fr0ggE
I'm not very experienced with spell editting so I'm not sure of all the things that could be causing this. However, i know that when i was using redscull's at first i made like 15 skills. They didn't work. I went back and looked for errors. I found a lot, and fixed them. They still didn't work. A day later I went back and found some more! There are lotsa mistakes you could have made and I'd double and triple check that everything is right.

(by the way, do you want this spell to work by raising skeletons from corpses or spontaneously. If spontaneously base it off the Book of the Dead item, just a comment)

Some things to check:
--Check the targets and make sure things aren't conflicting (like having hero and non-hero in there)
--You changed something from a unit ability to a hero ability. Make sure you changed the fields correctly (like the requisite level to 1 or whatever from 0).

if it still doesn't work, tell me which spell you're trying to base it off of (so I'm sure) and I'll try to duplicate it with (i use redscull's too).
04-18-2003, 03:55 PM#3
Guest
That happened to me when I started spell editing. It happens because WE ****s off the files u imported to the map.
To test every time you have opened the map with WE you got to save the map, and close WE (dont use "Test Map" button), and then you have to import the following files to the w3m file: abilitydata.slk , undeadabilityfunc.txt and undeadabilitystrings.txt.

That should work.
04-18-2003, 04:35 PM#4
fr0ggE
why just the undead ones?

and yeah, you have to reimplant the slk and texts every time, cuz the world editor washes them away every time you save the map.
04-18-2003, 04:58 PM#5
Arche
I based it on the necros raise dead spell. And yes, I have inserted all the abilityfiles. It looks almost the same as that except the numbers of skeletons raised is larger and I've but a reserchicon and such... I have also checked in the abilitydata and the strings and funcs wich contains the spells, and they look just like they should compared to any other hero spell. I just cannot find the error!

I also tried to make a "Mass heal" spell wich I based of the scroll of healing and changed the animation to holy light and the healing value to 500.. I also inserted mana and such, but the same error there. The spells you created, did u base it on items and similar or just hero spells? I mean, that could very well be the problem. But I know that it is POSSIBLE to do that (just check DOTA). I have also played the HSTC (Hero spell total conversion) beta, and there one unfinished spell had the same problem...
04-18-2003, 05:46 PM#6
Guest
In my current map I'm basing spelss on items and unit spells, and yes, they all work. I aso have raise dead hero spell.
If u have imported the files after closing WE and doesn't work I dunno what happens... unless u re importing them while abilitydata sheet is still open in excel or in the spell editor. I know it sounds foolish, but it happens to me sometimes hehe...

PS:Have u set it to hero ability? Or maybe... have u changed the ability code? That can't be made up, it need to be an existing one...
04-18-2003, 08:35 PM#7
Siphon
hmm, send me your undead files Ill take a look at them and see if I can figure out whats wrong with them. Best bet would be to email them too [email protected] Ill open them up see what the error is and then do what I can to fix it for you.

*edit
you wanted this to be a new spell right? Not just edit the old one?
04-19-2003, 07:51 AM#8
Arche
I think I must sovle this myself.. But what do you meen by the code? I have not changed any code since the spell editor made the spell... But I'm not sure that i've inserted the files with the spell editor shut down.. I will try that right away.

Edit:
It did'nt work. I forgot to say something.. I use the <data> tags to say how many skeletons it is, and I've checked that there is no typos, but it says 0 skeletons on all three levels.

Edit 2: Also, the spell created is not put in the undeadfiles, but in the itemfunc and neutralstring (or the other way). I've tried to change them to the same file, but there was no difference.
04-19-2003, 09:36 AM#9
fr0ggE
The code he's talking about is the alias and uber alias i think. A cool thing about redscull's editor is that it automatically generates a new code for you each time, and since all the text and slk things are in the same place you don't have to worry about incompatibilities there.
--------------

ok, got inspired, spent 5 minutes and made the spell.

It worked. I based it off the *CREEP VERSION* and changed it to hero, kept identical numbers in all fields except number summoned, made it 3 6 9 for that. Then in the f9 place, i added a research icon, and some descriptions, as well as a research hot key button. Saved, gave it to a unit in my custom spell test map. Implanted slk and text into the map, ran it, worked fine.

possibly the error comes from basing it off something that needs research (oh wait, necro doesn't need research for raise dead does he)? redscull's doesn't let you get rid of the research, which is why i based it on the creep version. follow the steps i laid out above and see if it works for you. try the ability out in a new map, sometimes other things inside a map can make the abilities mess up like custom loading screens or whatever.
04-19-2003, 09:42 AM#10
fr0ggE
also i don't want to be redundant, but just to make sure you know:

every time you save a change to the map or to the slk you have to re-implant the slk and txt into the map.
04-19-2003, 10:17 AM#11
Guest
The code I mean is not alias or uber-alias. Between those there's a field called code that can't be made up. Mmmh, maybe in that spell editor doesn't apeear (I edit form Excel with no Spell editor).

I write here my example of Raise Dead for heroes:

This is in SLK file (only important things):

Alias: Rssk
Code: Arai (must be the same as orgiginal spell)
UberAlias: Rssk
UseInEditor: 1
Hero: 1
Item: 0
Sort: hero
CheckDep: 1
Levels: 3
ReqLevel: 1


and well data11, data21 an data 31 2, 4 and 6, but if there'ss something wrong in the SLK is in the fields i wrote up.

This is in UndeadAbilityFunc.txt (the code between [ ] signs msut be the uberalias, so I put in the example Rssk):

// Raise Dead for heroes
[Rssk]
Art=ReplaceableTextures\CommandButtons\BTNRaiseDeadOn.blp
ResearchArt=ReplaceableTextures\CommandButtons\BTNRaiseDeadOn.blp
Unart=ReplaceableTextures\CommandButtons\BTNRaiseDeadOff.blp
Buttonpos=0,2
Unbuttonpos=0,2
Effectart=Abilities\Spells\Undead\RaiseSkeletonWarrior\RaiseSkeleton.mdl
Order=raisedead
Orderon=raisedeadon
Orderoff=raisedeadoff


This is in UndeadAbilityStrings.txt Ç(again the code between [ ] must be the uberalias):

// Raise Dead for Heroes
[Rssk]
Name=Raise Skeleton Warriors
Tip=Raise Skeleton |cffffcc00W|rarriors - [|cffffcc00Level 1|r],Raise Skeleton |cffffcc00W|rarriors - [|cffffcc00Level 2|r],Raise Skeleton |cffffcc00W|rarriors - [|cffffcc00Level 3|r]
Untip="|cffc3dbffRight-click to activate auto-casting."
Ubertip="Raises <Rssk,Data11> skeleton warriors, who last <Rssk,Dur1> seconds.","Raises <Rssk,Data21> skeleton warriors, who last <Rssk,Dur1>.","Raises <Rssk,Data31> skeleton warriors, who last <Rssk,Dur1>."
Unubertip="|cffc3dbffRight-click to deactivate auto-casting."
Hotkey=W
Researchtip="Learn Raise |cffffcc00W|rarriors "
Researchubertip="Revives skeletons who last <Rssk,Dur1> seconds. |n|n|cffffcc00Level 1|r - <Rssk,Data11> skeletons. |n|cffffcc00Level 2|r - <Rssk,Data21> skeletons. |n|cffffcc00Level 3|r - <Rssk,Data31> skeletons."


That's all. Feel free to copy it to your spells if it may help you. If you do, in undeadabilityfunc.txt and undeadabilitystrings.txt go till the end of code that is made by Blizzard and add a line to paste there the code.

Hope this helps.
04-19-2003, 11:49 AM#12
Arche
It seems like I've tried EVERYTHING!! It still won't work. I made a new one from the Raise Dead Creeps, and still it did not work! Also theres a strange thing.. If I extract the files from the war3.mpq, suddenly the frost armor stops work, both in the editor and the map with the inserted files.. And yes, I also made a new map. Should I take the files in war3patch.mpq instead?
04-19-2003, 01:08 PM#13
Guest
Frost Armor doesn't stop working, the one thats stops from working is Frost Armor with autocast, because it was implented in a patch, not in orginal WC3.

And have u tryed to use the codes I've posted?
04-19-2003, 01:15 PM#14
Arche
No, I have not taken your codes, but I have checked it and it is exactly the same. And when I say that it does not work I did'nt ean that autocast does'nt work. The icon dissapears and the name dissapears and the description just shows some strange constantly changing numbers (like 40, -230).
04-19-2003, 04:46 PM#15
Guest
The Frost Armor doesn't disappear, disappears the Frost Armor with autocast (they are 2 different spells. u csan see it in abilitydata.slk. they have different codes).