Author Topic: menu.tbl  (Read 2162 times)

0 Members and 1 Guest are viewing this topic.

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
So... could there be any kind souls amongst the more well versed code readers that could explain to me (and therefore to wiki) what exactly does this table file do?

I have by some trial and error noticed that i could actually increase game functionality a (veery small) bit by using that table but i really, really dislike making wild guesses of its proper usage.

Basically by changing
Code: [Select]
; options
"" 4 NULL NULL NULL NULL
to
Code: [Select]
; options
"" 4 O NULL NULL NULL NULL
I could access the options menu directly by pressing 'o' in main menu instead of clicking the correct position on screen (go me...)

I also noticed kinda interesting option of pressing 'g' in the main menu. Its seems to be quick start option that can be used to run a mission directly from the main menu..


Beyond those i have no idea what the menu.tbl does... Except that some of the defined options in the table do not seem to be functional at all... Any help?
'


EDIT.. Thanks to axem for this info: these options seem to work only in debug.
« Last Edit: August 08, 2007, 12:47:02 am by Wanderer »
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Solatar

  • 211
Still, I think we'd be interested to hear the actual workings?

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
What i have seen from the code (didn't understood it that well though) and from standard trial-and-error procedure it sort of seems to be part of unfinished interface upgrade or something - it has some rather exotic options (nonfunctional of course) in it... like training menu, and view option for recorded scenes (or something). But i cant really say anything certain as i didn't understand it that well.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Solatar

  • 211
Well, I guess it'll have to be cracked the old fashioned (pre-source) way.

Trial, error, and lots of game crashing. :D

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Yeah.. This thread didn't very enthusiastic responses.. Well i already found something useful - pressing the 'g' key in main hall while debugging
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
 :bump:

I decided to take another look at this one and... IF i read it correctly the whole thing is mostly bugged down by the immense mass of #ifdefs and because it seems to be used only in the main hall. However, the basic portion of the menu.tbl works.. In main hall, allowing the barracks (B), ready room (R), tech room (T) and campaign (C) room hotkeys to be accessed via hotkeys. And also the 'change difficulty level', 'options' and 'exit' hotkeys work if something is set to be a hotkey.

So setting...
Code: [Select]
; exit region
"" 0 Q NULL NULL NULL NULL

; options
"" 4 O NULL NULL NULL NULL

; skill level
"" 13 S NULL NULL NULL NULL NULL
Enables O to access the options menu, Q to quit the game and S to set skill level

That is those work both in debug and in normal (r) builds


In addition the G starts the last played mission (if in debug and SP mode)
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Hitting S will change the skill level in Retail FS anyway. The other hotkeys probably work also.

Somewhere on that table you can probably find the vasudanswuvfishies and insidehumanhead stuff, also.

I remember seeing some old pre-release screenshots of the techroom, with a "training menu". IIRC you can also find some basic interface art referring to this "training menu", at least in the FS1 VPs. Or maybe I'm remembering totally wrong. Regardless, that's where that came from.

You're in unexplored territory, Wanderer and Orpheus. The Wiki says nothing about this; it only gives you the table's text without explaining anything. So it's up to you to figure it out.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Hitting S will change the skill level in Retail FS anyway. The other hotkeys probably work also.

Somewhere on that table you can probably find the vasudanswuvfishies and insidehumanhead stuff, also.

I remember seeing some old pre-release screenshots of the techroom, with a "training menu". IIRC you can also find some basic interface art referring to this "training menu", at least in the FS1 VPs. Or maybe I'm remembering totally wrong. Regardless, that's where that came from.

Dunno what you are talking about.. In builds i am using keys Q, S, or O does absolutely nothing if i press them in the main hall (only area seemingly effected by the table) unless i have enabled those in the menu.tbl. It could perhaps be that menu.tbl was meant to be just that... A partially completed attempt to get rid off hard coded hotkeys?

And the cheat codes are hard coded.
Do not meddle in the affairs of coders for they are soggy and hard to light

 
Well, whenever I type in vasudanswuvfishies I'm told that the skill level has changed, so it must be that S key. Don't know why it doesn't work for you. May be a Finnish keyboard thing.

Is it just me or do we have a whole lot of people from Finland here?

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Just checked.. It changes when you press 'N'.
Do not meddle in the affairs of coders for they are soggy and hard to light

  

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Yes, the difficulty level changing is bound to the N key by default. At least in FS2.

And as for Finns, I think there are indeed quite a few of us here. So, just for a change, here's some Finnish for all you people of other nationalities:

"Aika on rahaa eikä meillä oo kumpaakaan."

, which would translate roughly to "Time is money and we don't have either of 'em." A classic Pekka Puupää quote.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []