HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Unit name lenght, can I broke its limit?

09-06-2008, 01:29 PM#1
rednek
Hi
I am trying to create a unit with veeeeery long name. The problem is, World Editor allow me to use only like 90 letters max.
Can I change that limit somehow? In MiscData or somewhere?
Thx
09-06-2008, 02:36 PM#2
moyack
Why do you want a veeeeery long name when it won't be displayed properly ingame???
09-06-2008, 02:51 PM#3
rednek
Won't it?
I need to use it like a description, these units with long names are actually used like items, and I can't use unit is selected/targeted for issue order event to display text.
09-06-2008, 02:56 PM#4
darkwulfv
Units whose names are too long in-game will be broken. (Their name will show up in their description, I think, but not in their UI)
09-06-2008, 03:21 PM#5
rednek
Just tried to make as long name as possible, with unit and with item
It's working, names shows up in game and in UI also. They're above command buttons and minimap, so they're ruining player UI, or at least untill I use |n tags. (it looks good in that case by the way)

Or do I see them just becouse I have ultra huge widescreen monitor?
09-06-2008, 04:21 PM#6
DioD
well, try shift clik or edit wts file.
09-06-2008, 04:46 PM#7
rulerofiron99
If all else fails, floating text.
09-06-2008, 07:07 PM#8
HyperActive
There's something like that (if not exactly like that) done in B&B, when choosing a hero.
09-06-2008, 07:24 PM#9
blu_da_noob
Yes, that's how the hero selection thing from BnB is done. Export strings file (something like File -> Export strings), edit names (should be fairly obvious) and then File -> Import strings.
09-06-2008, 07:58 PM#10
rednek
Quote:
Originally Posted by DioD
well, try shift clik or edit wts file.
I have tried shift click even before creating this thread, doesn't work :C
What is wts file?
Quote:
Originally Posted by rulerofiron99
If all else fails, floating text.
nope, there's good reason why I'm not using it

HyperActive, blu_da_noob: Wait wait, wut? What should I use to open that strings file, notepad?
All I can see in there is:

Quote:
STRING 1
{
Player 1
}

STRING 2
{
Force 1
}

I am not sure what should I do with that :/
What is that BnB you're talking about by the way? Where can I downl it?

But thank you all for your time and replyes, very appreciated ^^
09-06-2008, 09:09 PM#11
HyperActive
B&B: link
09-06-2008, 11:28 PM#12
blu_da_noob
Extract the string file (as you did). It starts off looking like what you quoted. Scroll further down and you get stuff like this (an example from BnB):
Quote:
STRING 5141
// Units: h00V (Vicky Sweetsugar, Spring’s Queen

Strengths: High mobility, versatile spell), Name (Name)
{
|c00FF80FFVicky Sweetsugar|r, |c004EA396Spring’s Queen|r

|c00FF80FFStrengths: High mobility, versatile spells.
Weakness: Low survivability|r

|c004EA396A lovely fairy with blinding beauty. Not only is she good looking, Vicky can
help her allies out with a strong healing spell and wash away enchantments
with her damaging wave. Her wings carry her far as her teleport spell enables
her to be all over the place. As a ultimate weapon, she uses her feminine
charms to take control over a enemy hero for a short duration.|r
}

Anything more? :)
09-07-2008, 08:36 AM#13
rednek
Yep, it's working now (couldn't see those other stuffs cuz I had no custom units in map at first time, is there also way to reedit default units?)

Anyway this should be enoguh, thanks a lot C:
+rep
09-07-2008, 10:44 AM#14
blu_da_noob
Just change the name of a default unit from its default value and it should appear there.