project-navigation
Personal tools

Author Topic: Next major upgrade for the options menu [W.I.P., paused]  (Read 5538 times)

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Next major upgrade for the options menu [W.I.P., paused]
« on: July 17, 2010, 02:38:37 pm »
I am having some troubles integrating tabs for the submenus in options.ufo.
Maybe someone could take a look at the WIP options.ufo & tell me why I cannot get navigation for the tabs in gameplay...

I am sure it is just a small bug somewhere, but I do not have no energy for search anymore & there are so many menu professionals around here, so I decided to simply ask...

Please help.

If I get the tabs done for one menu, it should be relatively easy to do the same for the rest...
Then there will be enough place for structuring & upgrading our submenus with other important cvars...

Thanks in advance for helping here, here is the new WIP options.ufo, just renamed to options.ufo.txt:
« Last Edit: July 22, 2010, 02:12:45 pm by MCR »

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Help for the new options-menu needed...
« Reply #1 on: July 17, 2010, 06:10:11 pm »
Thanks in advance for helping here, here is the new WIP options.ufo, just renamed to options.ufo.txt:

Uhh, empty lines after every line makes it a nightmare to read

Code: [Select]
if ( *cvar:mn_gameplay_config_tab == 1 )


it would be better using short string IDs instead of magic numbers. Noone can guess what "1" is without learning the whole script but "camera" tells what it is. (Strings are compared via eq and ne instead of == and !=).

Where the problem is? I can't see the matter from the surroundings (lot of irrelevant things allover the place)

-geever

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Help for the new options-menu needed...
« Reply #2 on: July 17, 2010, 09:48:50 pm »

Where the problem is? I can't see the matter from the surroundings (lot of irrelevant things allover the place)

-geever
It would be nice if you could tell me @ least one of the 'irrelevant things'  ::) (except for comments & empty lines), so I would kick them out !
Thanks for the tip with the string IDs, will change that (just imitated Mattn's style from the skirmish menu here), but I am quite sure this will not help me with the tab-navigation problem for the gameplay menu...

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Help for the new options-menu needed...
« Reply #3 on: July 19, 2010, 11:29:38 am »
Nevermind, I just got stuck for a short time...

Here some screenshots of the new option menus wip... 8)

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Help for the new options-menu needed...
« Reply #4 on: July 19, 2010, 11:51:39 am »
Nevermind, I just got stuck for a short time...
Here some screenshots of the new option menus wip... 8)

Uhh, that tooltip is terribly long. No need for explaining their binary format IMHO. Also it is a selectbox which is extendable it's not a good way to write it's options to the tooltip, they may change.

-geever

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Help for the new options-menu needed...
« Reply #5 on: July 19, 2010, 11:57:05 am »
I want players to learn something while tuning graphics of UFO:AI ;)

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: Help for the new options-menu needed...
« Reply #6 on: July 19, 2010, 12:15:16 pm »
If they want to learn something, they always can use google or wiki. Don`t mix the things.

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Help for the new options-menu needed...
« Reply #7 on: July 19, 2010, 12:31:35 pm »
If they want to learn something, they always can use google or wiki. Don`t mix the things.
Charming as always ;), I even cared to make room for looooong russian translations, so you will not have to change the font to a smaller one anymore...

Especially for you, Kildor !

Greetinx.

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Help for the new options-menu needed...
« Reply #8 on: July 22, 2010, 10:43:25 am »
The question is:

Do we want a developer-debug menu also, to have easy control over all the debugging & cheating cvars or should those be accessible strictly via console ?


Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Help for the new options-menu needed...
« Reply #9 on: July 22, 2010, 11:12:12 am »
Do we want a developer-debug menu also, to have easy control over all the debugging & cheating cvars or should those be accessible strictly via console ?

No cheat menu please!
Console commands are enough.

-geever

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Next major upgrade for the options menu [W.I.P.]
« Reply #10 on: July 22, 2010, 01:54:38 pm »
No cheat menu.  ;)

But the rest has been uploaded to trunk for first reviews.
It is a quite big change, so I am sure you will find some typos or other stuff you do not like.

I will pause further development of this until we have decided in which directions our menus are supposed to go...

I have not integrated tabs for now as it was not (yet) necessary. Also the (back- & foreground) graphics did not change @ all, we first have to decide what we want to see there...

If you want changes or have any suggestions, please post those here...

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Next major upgrade for the options menu [W.I.P.]
« Reply #11 on: July 22, 2010, 02:10:34 pm »
2 Screenshots 4 u:

Offline Kildor

  • Project Artist
  • Captain
  • ***
  • Posts: 757
  • Project mapper and some other stuff`er
    • View Profile
    • http://ufoai.nx0.ru
Re: Next major upgrade for the options menu [W.I.P.]
« Reply #12 on: July 22, 2010, 02:23:06 pm »
If someone don`t know what 'sound' mean, that ppl is probably have not enough IQ to play the game. And this is not «funny».
But nice work in general.

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: Next major upgrade for the options menu [W.I.P., paused]
« Reply #13 on: July 22, 2010, 03:21:05 pm »
/ offtopic on
Now I would like to animate the gunboat  ;)
/offtopic off

Thanks for the 'nice work', I do not remember such vocabulary from your previous posts, so I guess this was a compliment...  8)