project-navigation
Personal tools

Author Topic: Unable to display a popup with key info in 2.5-dev  (Read 2876 times)

Offline Szpak

  • Rookie
  • ***
  • Posts: 17
    • View Profile
Unable to display a popup with key info in 2.5-dev
« on: November 23, 2013, 10:17:05 pm »
Hi. In current 2.5-dev I am unable to display a popup with key info. F1 from keys.cfg doesn't work and there is the error 'Window "popup_keyinfo" not found' in a console after try to execute a "ui_push popup_keyinfo"  command. Was it intentionally removed from 2.5?

Marcin

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Unable to display a popup with key info in 2.5-dev
« Reply #1 on: November 24, 2013, 05:42:48 am »
Yes it was intentionally removed (see commit f409885c2aaa33b18ee2c3f3fbd0dfb4bd733c50) but the commit message states that it was unused, maybe it was a mistake?

Offline Szpak

  • Rookie
  • ***
  • Posts: 17
    • View Profile
Re: Unable to display a popup with key info in 2.5-dev
« Reply #2 on: November 24, 2013, 03:54:01 pm »
I haven't played UFOAI for years and without keyboard shortcuts in a tooltip it was the only known way (without using a console) to check them within game.

Offline DarkRain

  • Project Coder
  • Captain
  • ***
  • Posts: 746
    • View Profile
Re: Unable to display a popup with key info in 2.5-dev
« Reply #3 on: November 24, 2013, 08:46:06 pm »
You can also go to Options -> Gameplay -> Show Keys, no?
« Last Edit: November 24, 2013, 08:55:40 pm by DarkRain »

Offline Szpak

  • Rookie
  • ***
  • Posts: 17
    • View Profile
Re: Unable to display a popup with key info in 2.5-dev
« Reply #4 on: November 24, 2013, 08:53:48 pm »
You are completely right. I just didn't know about it :).