|
|
The easiest place to put it is to put it before the <anchor>. You will need to modify the green highlighted variables to adjust the box around it.
There are 4 per row, currently.
That means the width of each is 17.4h/4= 4.35h.
Therefore, if you want it 5 wide, set it to 5*4.35h = 21.8h (round to nearest tenth).
Code:<panel x="-26.8h" y="-2.8h" width="17.4h" height="6.6h" align="right" valign="bottom" color="invisible" visible="true"><frame texture="/ui/frames/tooltip_bg.tga" color="0 0 0 .8" borderthickness=".6h" align="left" valign="top" noclick="1"/> <frame texture="/ui/frames/roundframe.tga" color="#A0A0A0" borderthickness=".6h" noclick="1"/> <panel width="-1.0h" height="-1.0h" align="center" valign="center" float="right" padding="0.8h"></panel><instance name="language" code="en" texture="/ui/elements/flag_uk.tga" tooltip="English"/> <instance name="language" code="fr" texture="/ui/elements/flag_france.tga" tooltip="Français (French)"/> <instance name="language" code="es" texture="/ui/elements/flag_spain.tga" tooltip="Español (Spanish)"/> <instance name="language" code="de" texture="/ui/elements/flag_germany.tga" tooltip="Deutsch (German)"/> <anchor x="0" y="3.1h"/> <!-- This separates the two lines. 3.1h is how far down the divider is. If you want to make a third line, make a new <anchor> and set its y position to 6.2h. You would also have to edit the green and teal variables so the box is the right size and is in the right position. --> <instance name="language" code="ru" texture="/ui/elements/flag_russia.tga" tooltip="Russkiy yazyk (Russian)"/> <instance name="language" code="br" texture="/ui/elements/flag_brazil.tga" tooltip="Português (Portuguese)"/> <instance name="language" code="zh" texture="/ui/elements/flag_china.tga" tooltip="Chinese (coming soon...)" disabled="true" rendermode="grayscale"/> <instance name="language" code="ko" texture="/ui/elements/flag_korea.tga" tooltip="Korean (coming soon...)" disabled="true" rendermode="grayscale"/> <!-- <instance name="language" code="pi" texture="/ui/elements/flag_pirate.tga" tooltip="ARR! (Pirate)"/>--></panel>
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
Look the flag:
http://img15.imageshack.us/img15/6951/fixr.png
are you sure the dimensions are right?
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
I think the problem is the original flags are using DDS which has all images upside down, that's why you see the white bar on the top of flag.
Just make the same upside down 128x128 but a PNG image and have that white bar being transparent
But...it seems some flag will be over shrank, especially the ones with symbols, look my flag.
![]()
Last edited by NiGHTsC; 10-20-2009 at 07:31 PM.
I cant.. I have tried Everything... Can anyone sent me the Greek flag ready?? thx
BTW Dimensions:
<panel width="-1.0h" height="-1.0h" align="center" valign="center" float="right" padding="0.8h">
<instance name="language" code="en" texture="/ui/elements/flag_uk.tga" tooltip="English"/>
<instance name="language" code="gr" texture="/ui/elements/flag_greece.tga" tooltip="Greek (Greek)"/>
<instance name="language" code="es" texture="/ui/elements/flag_spain.tga" tooltip="Español (Spanish)"/>
<instance name="language" code="de" texture="/ui/elements/flag_germany.tga" tooltip="Deutsch (German)"/>
send me a zipped copy of all the files and I'll see if I can get it to work. I'd need to test it
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
I'm trying to test my translations, and I can get them to show up in game, but while some Croatian letters are shown ( š ) some are not ( ć ) and are just ommited. I figured its the font (game.ttf) and changed core_hr.resource to be like this:
Calibri contains Croatian characters, I've checked. Doesn't work. I've tried placing Calibri user folder under Heroes of Newerth\game\core\fonts (just in case it won't use system fonts for some reason). No luck. I can still get it to show up, but again, font is same, and it ommits some characters. Also, it doesn't load mouse properly, and things that aren't translated yet are just blank, nothing written.Code:<?xml version="1.0" encoding="UTF-8"?> <resourcelist> <fontface file="/core/fonts/calibri.ttf"> <fontmap name="dyn_6" size="6" dynamic_fontsize="true" baseresolution="768" axis="y" /> <fontmap name="dyn_7" size="7" dynamic_fontsize="true" baseresolution="768" axis="y" /> <fontmap name="dyn_8" size="8" dynamic_fontsize="true" baseresolution="768" axis="y" /> <fontmap name="dyn_9" size="9" dynamic_fontsize="true" baseresolution="768" axis="y" /> <fontmap name="dyn_10" size="10" dynamic_fontsize="true" baseresolution="768" axis="y" /> <fontmap name="dyn_11" size="11" dynamic_fontsize="true" baseresolution="768" axis="y" /> <fontmap name="dyn_12" size="12" dynamic_fontsize="true" baseresolution="768" axis="y" /> <fontmap name="dyn_14" size="14" dynamic_fontsize="true" baseresolution="768" axis="y" /> <fontmap name="dyn_16" size="16" dynamic_fontsize="true" baseresolution="768" axis="y" /> </fontface> <fontface file="/core/fonts/system.ttf"> <fontmap name="system_small" size="10" /> <fontmap name="system_medium" size="12" language="latin"/> <fontmap name="system_large" size="22" language="latin"/> </fontface> <fontface file="/core/fonts/calibri.ttf"> <fontmap name="littletextpopup" size="16" dynamic_fontsize="true" baseresolution="768" axis="y" /> </fontface> <cursor name="cursor" file="/core/cursors/arrow.cursor" /> <texture name="alphagrad" file="$alphagrad" /> <texture name="logo" file="/textures/logo.tga" /> <texture name="console_background" file="/core/textures/console_blank.tga" /> </resourcelist>
Then again, if i just put default core_hr.resource without font change, everything works well again except for omitted characters. Is there something special about fonts that can be used, which Calibri doesn't meet?
Sorry. I've gotten quite busy lately. I'll have a look soon.
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
Is anyone currently working on a Polish translation? If so, I'm willing to help :P I'm a professional translator :P If no, I'd like to do one myself.
You could help out with http://forums.heroesofnewerth.com/showthread.php?t=7130
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------
how is the swedish translation going? i like to help and please do a post like "Translations In Prosses" were you post the translations in prosses and the Thread were we can find them.
Thanks! Love this game!
I am thinking to change the host because asssemblas timeline doesnt shoes changes on big files such as inteface and enitries.... Any ideas?
I just started With a Danish translation for the fun of it. so far i translated 50 lines though i need to look back at some of them.
im using C++ but the entities_en.str and interface_en.str look really weird there? should i just make my translation look like them or are there any ideas on what to do?
I will miss you HfH, thanks all the guys who helped us help you!
Nergal, the antihealer - please give me some feedback so that i can make him even better ^^
Weird in what way?
S2 Games: Dedicated employees serving dedicated gamers. Continuous development. Never-ending improvement.
-----------------------------