HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Hiding 100% in upkeep ubertip

01-06-2007, 05:50 AM#1
PipeDream
I was asked to look at how DotA Allstars covers up the "100%" text in the upkeep ubertip (mouse hover over upper right of screen). Game info (war3mapSkin.txt) constant COLON_GOLD_INCOME_RATE is placed before the 100%. Apparently the strings are just concatenated prior to rendering, so you can set the color of the "100%" with COLON_GOLD_INCOME_RATE. |c22222222 renders the text invisible relative to the frame.
01-06-2007, 06:24 AM#2
ArchWorm
And someone thought, it's impossible
01-06-2007, 07:34 AM#3
Rising_Dusk
You should write a tutorial on how to do it for everyone.

And what does that mean?
You have to import a custom 'war3mapSkin.txt' file with that constant changed?
01-06-2007, 08:03 AM#4
Pheonix-IV
Uh, just remove the food upkeep numbers from gameplay constants...
01-06-2007, 08:16 AM#5
ArchWorm
war3mapskin.txt is generated automatically.
01-06-2007, 09:46 AM#6
DioD
100% is still visible in dota

only a way

1) change background to BLACK with no alfa chanel
2) set color to black
3) Use yellow chars
01-06-2007, 10:05 AM#7
Syphilis
A crap like |c00xxxxxx for the number wouldn't work to hide it?
01-06-2007, 11:15 AM#8
DioD
nope

it have its own color tag
01-06-2007, 11:20 AM#9
Syphilis
I still don't understand xD
|c00xxxxxx create something with full alpha, => no transparent ?
01-06-2007, 11:29 AM#10
PipeDream
In the main world editor window, open the advanced menu. Click on "Game Interface", in the top group below "Gameplay Constants". You should see a list with headings "Name" and "Value". Since we intend to modify one of these pairs, we need to enable "Use Custom Game Interface". Then about half way down find in the "Name" column "COLON_GOLD_INCOME_RATE". Double click on it to bring up the set value to "Whatever You want to go here|c22222222" without the quotes.