HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

A quick question

12-10-2002, 12:25 AM#1
Guest
I've been trying to code an ability, and have been sucessful at it in that it works - the problem is that both ToolTips and the Art are messed up. Once I implement the ability into the editor and create a unit with said ability, I have a box that's a real life human's face, and if I hover over it I get "Tooltip missing!" and the below it random text scrolls. I based it off a creep heal, it's called Bind Wound.

Here's my entry in the NeutralAbilityStrings.txt
//Bind Wound
[AnXX]
Name=Bind Wound /* This works - I can add an ability in the editor called Bind Wound */
Tip=Bind Wound
Ubertip="Binds the hero's wounds." // Doesn't work
Untip="|cffc3dbffRight-click to activate auto-casting.|r"
Unubertip="|cffc3dbffRight-click to deactivate auto-casting.|r"
Hotkey=E // Doesn't work
Unhotkey=E
EditorSuffix=(Neutral Hostile)

None of the following works.

NeutralAbilityFunc.txt
//Bind Wound
[AnXX]
Art=ReplaceableTextures\CommandButtons\BTNHealOn.blp
Unart=ReplaceableTextures\CommandButtons\BTNHealOff.blp
Buttonpos=0,2
Unbuttonpos=0,2
Casterart=
Targetart=Abilities\Spells\Human\Heal\HealTarget.mdl
Order=heal
Orderon=healon
Orderoff=healoff


I have these two files with my AbilityData.slk, they are imported into the exact same folder (\Units) in both my map file and war3.mpq, as well as in Warcraft iii\Units.

Any help would be greatly appreciated. I've been trying to get this to work for a while but no luck. If you would like, I can post my AbilityData.slk entry as well. Thanks a lot!
12-10-2002, 10:07 PM#2
nicoli_s
um you need to put it in the directory "Units\"
12-11-2002, 02:31 AM#3
Guest
um, you need to edit the strings file for the tooltip. Its should be in the units floder with the function file. Follow the others as an example and create a tooltip for the ability.
12-11-2002, 02:33 AM#4
Guest
oh oops, didn't see that you have the strings there. Is this a hero ability or just a unit ability?
12-11-2002, 02:57 AM#5
Guest
Both files are in Units\, that's not the problem because part of one of the files works, as does AbilityData.slk which I added at the same time. I wish the problem were that simple. It's a unit ability, designed to give the hero 500 hp with a large cooldown. The only possible targets are "self." I also have tried this with other abilities that I have created, everything works fine except the art, tooltips, button position, and hotkey.

It's not that it's a single file missing - The "Name = " line in strings.txt works fine, as it's the only place I have the string "bind wound" that's not commented out, and the ability appears in the editor as "bind wound." But the tooltip and hotkey part of strings.txt have no effect, on all abilities that I have tried. Even editing existing abilities, I have yet to be able to change a tooltip art or button position, even though it seems to me like it should work.
12-11-2002, 03:01 AM#6
Guest
ok, this sounds like my problem, but lets see. Go ahead and make a backup copy of war3patch.mpq, then add the files to that. Then try again. It should work, but its not a fix, I just want to see if the problem is the same with mine.
12-11-2002, 03:21 AM#7
Guest
Yup, adding it to wc3patch.mpq worked. Maybe I was trying to edit abilities that are edited already in wc3patch.mpq and the patch file overwrote them?

Now to find out if simply attatching them to the map will work over b.net
12-11-2002, 03:24 AM#8
Guest
No, it won't work. I've tried that and that is the problem I have. Unless everyone has their war3patch files edited as well it won't work. not sure why, but thats the case. the patch file is overwriting your changes, but unless you can turn that off somehow, yous would look ok but everyone else's would be messed up. Also you can play normal WC with other people, it would disconnect you all the time. Another problem.
12-11-2002, 03:57 AM#9
Guest
Hmm.. Opening up war3patch.mpq, there are about 10 different copies of all the abilitystrings.txt files. Is this unique to me, or do all war3patch.mpq files contain these duplicates? Is anyone else having this problem? Does everyone having this problem have the duplicates? And is there a way to make a map bypass the patch?
12-11-2002, 04:00 AM#10
Guest
Hmm, I never noticed that before, how interesting. I don't know about the duplicates, but I've been trying to get and answer to the bypassing patch file for some time, but no one answers.
12-11-2002, 04:07 AM#11
Guest
Is nobody else having this problem? Are there tons of carefree spell creators hanging around here? Do they know something that we don't, or are they having the same troubles?

Questions, Questions, questions
12-11-2002, 04:11 AM#12
Guest
I honestly don't know what is wrong, if we both have the same problem, then its not just random chance. Something is wrong I want it to know how to fix it!
12-11-2002, 04:13 AM#13
Guest
Also, have you actually tested the map on B.Net or are you assuming the patch will write over it?
12-11-2002, 04:16 AM#14
Guest
I have tested it, and it doesn't work. I do suggest testing it though, maybe it will work. I would with friends though, so they dont go distributing it without the finished details.
12-11-2002, 04:16 AM#15
Guest
Oh NM the duplicates are the same file in different languages, for multi language support i assume.