project-navigation
Personal tools

Author Topic: Custom UI  (Read 46492 times)

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: Custom UI
« Reply #45 on: January 30, 2012, 06:27:36 am »
Btw, about font. What do you think about Jura font? It has  Public domain / GNU GPL license and good enough coverage.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Custom UI
« Reply #46 on: January 30, 2012, 10:29:37 am »
Good find! Will check it out.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Custom UI
« Reply #47 on: January 30, 2012, 11:10:45 am »
Jura is really not as strong on the screen as Orbitron, and lacks a proper bold face. But it could be alright if it solves a lot of translation issues...

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: Custom UI
« Reply #48 on: January 30, 2012, 11:42:20 am »
At least Jura can be used as substitution for non-Latin languages.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Custom UI
« Reply #49 on: January 30, 2012, 01:16:47 pm »
If so, we will also need font sizes to be changeable. Will the following allow the size to be changed?

Code: [Select]
font f_menubig
{
font "_media/JuraDemiBold.ttf"
size _27
}

The text size of the two fonts does not match well, so Jura's size needs to be about 3 larger than Orbitron on average.

Offline wizardelo

  • Rookie
  • ***
  • Posts: 28
    • View Profile
Re: Custom UI
« Reply #50 on: February 15, 2012, 01:26:49 pm »
any updates on the UI? :)

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: Custom UI
« Reply #51 on: February 15, 2012, 11:11:03 pm »
Author of Orbitron aswer me he have no time to update the font to cyrillic. I check how easy it is to add new glyths. It is, but there is many glyth and even more many font weight to update.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Custom UI
« Reply #52 on: February 16, 2012, 03:34:52 pm »
I use only two weights, I believe, and can easily restrict it to that. But I don't know much about adding glyths.

Offline wizardelo

  • Rookie
  • ***
  • Posts: 28
    • View Profile
Re: Custom UI
« Reply #53 on: March 29, 2012, 10:52:05 am »
gave up on this? or waiting for 2.4 to go out

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Custom UI
« Reply #54 on: March 29, 2012, 03:37:11 pm »
Progressing slowly but definitely not abandoned.

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: Custom UI
« Reply #55 on: March 29, 2012, 09:46:43 pm »
and what about merging it on the master? maybe into annother /base dir link an extension (maybe mattn have another ideas).
At least we can fix most of the style problems with many hands, and you can continue to update the screen you want.
IMO it is the better moment to do it.

Offline Asarhadon

  • Rookie
  • ***
  • Posts: 12
    • View Profile
Re: Custom UI
« Reply #56 on: May 23, 2012, 07:34:18 pm »
Sorry, could you explain in more detail how to install it. I saw the instructions in "readme" file. However, the game crashes on startup.

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Custom UI
« Reply #57 on: May 23, 2012, 07:40:48 pm »
Asarhadon, what version of UFO:AI are you trying to use it with. What error are you getting when it crashes.

Offline Asarhadon

  • Rookie
  • ***
  • Posts: 12
    • View Profile
Re: Custom UI
« Reply #58 on: May 24, 2012, 12:43:37 pm »
Asarhadon, what version of UFO:AI are you trying to use it with. What error are you getting when it crashes.
Its just crashes with no errors.
UFO:AI version  2.4 (I installed over the old version so that the directory is named 2.3 (in the screenshots), but it is 2.4)
« Last Edit: May 24, 2012, 12:48:56 pm by Asarhadon »

Offline H-Hour

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 1923
    • View Profile
Re: Custom UI
« Reply #59 on: May 24, 2012, 01:48:14 pm »
Sorry, I don't know how to help you. Usually when I get a UI-related crash, I get a crash window that has more than the ufoconsole.log, and usually tells me where the problem is.

Work on this UI has moved into 2.5 and the code that runs the UI system is getting revamped, so I can't distribute the UI as a mod now in a form compatible with 2.4.

If you want to check it out, it's probably easiest to get a nightly download for 2.5 and try it out that way. Check the download page under "development (latest) for Nightly Builds.