Object Editing (Custom Abilities)

Amaranth

New Member
Reaction score
0
Hello,

I recently started using World Editor, I read several articles around about editing, and learned some of the basics and now trying to create some custom heroes based on normal hero characters with different abilities.

Mostly changing the stats, names and icons of the spells and giving them to heroes works fine. I even made some with custom icons with using Wc3 Image Extractor II. But I have several issues.

Firstly, after I edit it some of the info in "Text-Tooltip-Normal-Extended" section doesn't appear on the game. Sometimes it appears partially or not at all. I compared the spells with their originals or similars but couldn't find out why.

Secondly, my custom icon appears on the game perfectly, I placed the normal and research icons, so far it's fine. But when I click the Hero Abilities in the game when I don't have points to spend the icon supposed to look like dark (disabled icon) but instead there's a green box. Now, I made the disabled icon along with the normal one, and put them into their directories. I choosed the Normal icon for "Normal" and "Research" icons but couldn't find where to put the disabled icon.

I'd appreciate if you can help me. Thanks.
 

Avaleirra

Is back. Probably.
Reaction score
128
For the icon thing make sure you're using the correct path. Don't ask me what it is :p


P.S. Amaranth is a good song

P.P.S. Welcome to thehelper!
 

s3rius

Linux is only free if your time is worthless.
Reaction score
130
P.S. Amaranth is a good song!
Amaranth is also a flower ^^

Secondly, my custom icon appears on the game perfectly, I placed the normal and research icons, so far it's fine. But when I click the Hero Abilities in the game when I don't have points to spend the icon supposed to look like dark (disabled icon) but instead there's a green box. Now, I made the disabled icon along with the normal one, and put them into their directories. I choosed the Normal icon for "Normal" and "Research" icons but couldn't find where to put the disabled icon.
The disabled icon doesn't have to be put anywhere, it just needs the right image path.
Let's say your normal icon has this path:
ReplaceableTextures\CommandButtons\BTNxxxxx.blp
Then the disabled version must have this one:
ReplaceableTextures\CommandButtonsDisabled\DISBTNxxxx.blp

I advice you to always use this path for your icons. It's the standard path and you'll have the least problems with it.
Also note that the normal icon has the "BTN" prefix and the disabled "DISBTN".

Firstly, after I edit it some of the info in "Text-Tooltip-Normal-Extended" section doesn't appear on the game. Sometimes it appears partially or not at all. I compared the spells with their originals or similars but couldn't find out why.
Does this happen after you edited the icon? Or also if you just changed the "Text-Tooltip-Normal-Extended" and nothing else?
 

Amaranth

New Member
Reaction score
0
I advice you to always use this path for your icons. It's the standard path and you'll have the least problems with it.
Also note that the normal icon has the "BTN" prefix and the disabled "DISBTN".

Yes I'm using that path, I did it as it was written here. It's seems to be correct. I can upload a screenshot and link it here if you like to check.

Does this happen after you edited the icon? Or also if you just changed the "Text-Tooltip-Normal-Extended" and nothing else?

I changed both icon and Text-Tooltip-Normal-Extended. The info I put in Tooltip either disappears completely or partially.

It seems like this:

Learn Ability

Level 1 - First Level Hero Ability
Level 2 - Sec


The following text not visible. Most of the time this happens, not sure what causes this, when I compare it to another spell it seems to be correct but in the game it's just like this.

P.P.S. Welcome to thehelper!

Thank you =)
 

s3rius

Linux is only free if your time is worthless.
Reaction score
130
Do you mind uploading your map? Or a small test map with the same issues?
Long distance diagnosis is kind of troublesome :p
 

Finestdeath

New Member
Reaction score
10
Does your tooltip show some random letters/numbers/symbols sometimes? If it is, try changing the base ability. If its all of your abilities thats expericing this problem then I guess it something else.
 

INCINERATE

New Member
Reaction score
12
for icon paths .. which took me a while to figure out why some were just showing green..

you have to name them exactly the same to your spell

so using s3rius e.g

Let's say your normal icon has this path:
ReplaceableTextures\CommandButtons\BTNxxxxx.blp
Then the disabled version must have this one:
ReplaceableTextures\CommandButtonsDisabled\DISBTNxxxx.blp


so lets say your spell you want to use for the icon is called "AMERICAN JUSTICE"

your icons paths will have to be

ReplaceableTextures\CommandButtons\BTNAMERICAN_JUSTICE.blp
Then the disabled version must have this one:
ReplaceableTextures\CommandButtonsDisabled\DISBTNAMERICAN_JUSTICE.blp
 

Amaranth

New Member
Reaction score
0
Thanks, I checked the file names and figured out the icon problem, it was a minor spelling error in the name of the icon, I fixed it and it works okay now.

But I still have the tooltip problem. It seems whenever I enter a custom info for the spells, the tooltip extensions either completely or partially disappear. But it happens even if I don't touch the original spell datas, like damage or duration etc. If I just change the icon (with an in-game icon), it works fine also. So I thought I was doing something wrong while editing tooltips extensions and I made another spell, with a custom icon, with a custom name but I didn't touch the original tooltip extensions.

I edited:

Art Icon - Normal and Resarch
Text - Hotkey Learn
Text - Name
Text - Tooltip - Learn
Level 1 - Text - Tooltip - Normal

I left the "Level 1 - Text - Tooltip - Normal - Extended" untouched but they still partially appeared on my test.

This screenshot should explain the issue better I hope:

exampler.jpg


Full size of the picture here.
 

Amaranth

New Member
Reaction score
0
It seems whether I touch the tooltip extension field or not the problem happens if it's a custom spell.
 

Amaranth

New Member
Reaction score
0
I fixed this problem, there were some errors in the code fields, I edited them and works fine now.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top