HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Yet another bloody Custom-Spell problem...

06-29-2003, 03:16 PM#1
LoocOrez
First of all I would like to apolagise if this question has been
answered elswhere. If so: I'm sorry, but I haven't been able to
find it anywhere. Now; on to the question:

How... the... fu*k... you you make the tooltips work??? :////

Here's what I have done so far...

I read sid67's 'Spell/Ability Editing 101' toturial, and got started
making a spell. I did (atleast I'm pretty shure that I did) exactly
as it sais in the toturial. I exracted the skl., and txt. files

(Units\AbilityData.slk
Units\HumanAbilityFunc.txt
Units\HumanAbilityStrings.txt
Units\NightElfAbilityFunc.txt
Units\NightElfAbilityStrings.txt
Units\OrcAbilityFunc.txt
Units\OrcAbilityStrings.txt
Units\UndeadAbilityFunc.txt
Units\UndeadAbilityStrings.txt
Units\NeutralAbilityFunc.txt
Units\NeutralAbilityStrings.txt
Units\ItemAbilityFunc.txt
Units\ItemAbilityStrings.txt)

And did as it said in the toturial, copied a spell I wished to create
and changed ti to my liking. (I modified a chain lightning to do
'99.999' in just about anything ^^) And (Incredibly) it worked!
I imoprted all of the fies (with WinMPQ) into the w3m.-files and
everything worked out fine... I only imported the files that I had
edited (only the OrcAbilityStrings.txt, UndeadAbilityFunc.txt, and
the AbilityData.slk).

Then I created three more new spells and edited all of the other
Func/Strings.txt accordingly, with quniqe Alias, and Uber-Alias
(Al01, Al02, Al03, etc...) Both the alias, and the uber-alias was
the same.

After I was sattisfied I tried testing my spells in a map. They
didn't work. It didn't really suprise me that I had done something
wrong, so I started all over. It didn't work then, either. What
was really strange was that my first spell worked perfectly, but
my new spells (Everything was 'right' according to the toturial).

Nothing worked. I have tried placind the edited files in both the
primary warcraft directiory, in the 'Units' directory, and in the
same directory as the map (Not that I though it would work, as I
did no such thing with my first spell...) :(

After a while I got fed up with it, and just assumed that I had to
be doing something wrong... so what i did (Yes I know it's
'dishonest, you don't need to tell me) was that I extracted the
slk./txt files from another map, with custom spells (DOTA - Stand
of the Dwarves). And put it all in my Units folder. :bgrun:

At firstwhen I opened the WE they didn't show up in my map, but
the secound time I opened WE they did... and I gave all of the
Death Prophet's spells to one of my Heroes.

Then I imported all of the files (that was in my 'Units' directory)
into the map (Units\AbilityData.slk, etc...) and tested the map.

The too-tip don't wokr now either, but the spells do. The spells
work just as they do in 'Stand of the Dwarves', except for that
the buttonposts are a bit messed-up and the ToolTip/Icons are
not there.

Basically... I haven't got a clue what I am doing (wrong), and just
hope that somebody has had the patience to read through all of
this and awnser my question....

Thank you for your interest.
In addition to the first apology, I would like to add another few,
for my (ohh, soo...) bad language (in the beginning, remember?),
and for all of my (quiet plentifull, I would think) misstypes.
06-29-2003, 03:45 PM#2
Panto
From the sounds of things, I would have guessed that your AbilityData.slk wasn't being implanted, or was improperly edited.
You see, out of the first three columns for a spell, both the first and the third column must be the same for the spell to take both the data AND the description/icon for the spell that you dictate.
So, perhaps your AbilityData.slk is corrupt? I assume you're using Excel to edit it.

And, don't feel too consternated, as TFT will solve your editing problems by making them obsolete in a few days' time.
06-29-2003, 04:03 PM#3
LoocOrez
I'm not too up to speed on the TFT WE improvements (Honestly I know nothing). Your saying that it will include a Spell Editor?

Anyways, yes the slk. file is corrupted.... (4 errors, that seem to appear whatever I do, or wichever program I use while editing)

But I'm pretty shure that the skl.\txk. files I extracted from DOTA - Stand of the Dwarwes, were not corrupted. :Heh: And yet, they did not work either... And the first file I edited, when my spell (magically, and for no apparent reson, what so ever) worked was also corrupt, but the spell still worked.

Is it really gonna include a Spell Editor? If so I want to kiss the guy that came up with that diea, and then shoot him for not coming up with it earlyer.

Thnx for replying :D
06-29-2003, 04:56 PM#4
Hivemind
Look at the FAQ sticky thread. It has a link about this problem.
06-29-2003, 05:29 PM#5
LoocOrez
I presume you ment for me to look up this here link?

http://www.wc3campaigns.com/forums/s...?threadid=8896

Hmmm.... This is where I learnt how to make spells..... just not how to make tooltips... emote_confused

I think that more peopel than me would apprieciate it is someoune out there would help uss (for it is a 'uss') get over this here problem.

IF INDEED it is displayed somwhere in the tutorial, I'm sorry for bothering you, and being so... slow... I'm just really bad at following toturials. I can't even put together a bed... :nono:

Anyways: I'm sorry, but I've not gotten any further...
06-29-2003, 05:30 PM#6
Guest
If you have a custom minimap, you have to exit the level you're playing and start again before it will work (not the game, just the level).
06-29-2003, 05:45 PM#7
LoocOrez
Ookay... now... this doesn't make any sense...

I did as you said, Sesshoumaru, even tough I do not have a custom minimap (I presume that is when you get some other picture where the minimap is supposed to show in the selection menu, befoure you acually start the game...?)

Anyways: The abilitys WORKED!!!!! ://// emote_confused
Isn't WarCraft supposed to read from the w3m. files right away? Why doesn't it? And why does it sudently decide to do so, if I restart the map???

Anyways, the reason I'm making this map (remake, acually...) Is that I wanted to implement some D&D spells into a map I saw online that really sux... (I know It's not mine, and I'm gonna state that in the credits. If you don't like it... sue me) Anyway: How am I supposed to be able to play this over b.net if I have to restart it every time???

(Thnx for the advice, by the way)

EDIT: Why, why, why, why, why, why, why, why, why, why, why, why, why, why, why, why, why, why, why, why, why, why, why? (Sorry I just had to include it)
06-29-2003, 06:42 PM#8
Raleign
Get RID of the custom loading screen, THAT is the problem, it WILL do that if the map has a custom (as in one of the campaign screens,World map, and the credits loading screens).
06-29-2003, 08:24 PM#9
FF_Behemoth
I suggest that you stop working on RoC custom skills, because I've heard that come July 1st a massive patch will make RoC use TFT data values. Therefore all custom skills made in RoC will indeed crash the game....... just wait few more days for TFT WE as its much simpler to do custom skillz

I'm not certain if this is true or not..but i do know a massive patch will come July 1st.
06-30-2003, 12:28 PM#10
LoocOrez
Hmmm.... that was it. I've been messin about with this for a *WEEK* now, andthat was it. I didn't even know that I had a custom loading screen.

Now that I think about it... no maps with custom spells have custom loading creens.

Well, thanks, guys. No matter how meaningless it is I'm still glad I managed to do it in the end. Even if the spells are going to be useless soon... :(