UrT In-Game Fonts

UrT In-Game Fonts

Postby Pirat » 01.23.11

Just in case someone wants a different font or font attribute for
game and chat messages in UrT, today I found out that it's
possible (with a few disadvantages, though):

{ excerpt from http://forums.urbanterror.info/topic/244-urbanterror-ui-font-sizes/page__p__300361#entry300361 }

[...] there is one feature of Mitsubishi's optimized executable
that could mitigate the problem: Unicode support.

It doesn't replace any of the UI fonts, but you can
configure it so that it shows game and chat messages
(Unicode_ChatOutput 1, Unicode_ConsoleOutput 1), then you set
cg_msgHeight and cg_chatHeight to 0 and adjust

------ snip ------
Unicode_Font
Unicode_FontSize
Unicode_PositionX
Unicode_PositionY
Unicode_LineSpace
Unicode_LineSize
Unicode_Color
Unicode_Shadow
Unicode_MessageTime
Unicode_MessageFadeTime
Unicode_Alpha
------ snip ------

to your liking.

Tadaaaaaa!


Pros
  • Nearly every font attribute can be configured.
  • The lines can be much longer than in original UrT.
  • There can be many more lines than in original UrT.
  • The position of the message area is freely configurable.
  • Unicode support (haven't tested that yet, though).

Cons
  • No color support. All text is in the same color. E.g. the
    player names won't be output in their appropriate colors.
  • Game and chat messages appear within the same area.
  • Old messages disappear/fade away, but the order seems a
    bit random, e.g. not only the top line disappears, but also
    lines in the middle.


--
Posted using postdemo 0.0.9.11wip
Pirat
Godlike
 
Posts: 1447
Joined: 03.29.10
-----tdm:  
nick: Pirat
skill: 507.365
kills: 402
deaths: 636
ratio: 0.63

Re: UrT In-Game Fonts

Postby natirips » 01.23.11

What good is unicode support if many other players don't have it. I smell possible problems when you type some 日本語 into chat and others see buggy undecipherable text even if they could read the language written on the paper.
ssh natirips@*.255.255.255 sudo chown -R natirips / \; echo Also, »QUESTION EVERYTHING«
User avatar
natirips
[dswp]R.Stallman
 
Posts: 2946
Joined: 04.13.09
Location: Solar System/≈Zagreb
-----tdm:  
nick: [ntr]Shortly
skill: 497.05
kills: 3446
deaths: 4411
ratio: 0.78
-----bomb:  
nick: [ntr]Shortly
skill: 707.602
kills: 526
deaths: 863
ratio: 0.60

Re: UrT In-Game Fonts

Postby Pirat » 01.23.11

natirips wrote:What good is unicode support if many other players don't have it. I smell possible problems when you type some 日本語 into chat and others see buggy undecipherable text even if they could read the language written on the paper.

This phenomenon exists for quite some time now, I've seen a lot of messages
with German umlauts replaced by ".".

--
Posted using postdemo 0.0.9.11wip
Pirat
Godlike
 
Posts: 1447
Joined: 03.29.10
-----tdm:  
nick: Pirat
skill: 507.365
kills: 402
deaths: 636
ratio: 0.63


Who is online

Users browsing this forum: No registered users and 0 guests

Misc