Menu

From Unofficial EFPSE wiki Extended
Revision as of 12:56, 28 July 2023 by Pixelwolf (talk | contribs) (Created page with " Inside "Data/Scripts" there is a main menu script file called "Menu.script". It uses its own commands but basically it's a script. Any menu option is hard-coded so all you can do is change its position and add a text. * '''mcolor 255 255 255''' - sets main menu font color as R,G,B. * '''mbutton "CONTINUE" 50 370 "return" -1''' - creates a button. You can't create your own button, they're hard coded. The last number is a meu screen this button will be shown at: -1 - any...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Inside "Data/Scripts" there is a main menu script file called "Menu.script". It uses its own commands but basically it's a script. Any menu option is hard-coded so all you can do is change its position and add a text.

  • mcolor 255 255 255 - sets main menu font color as R,G,B.
  • mbutton "CONTINUE" 50 370 "return" -1 - creates a button. You can't create your own button, they're hard coded. The last number is a meu screen this button will be shown at: -1 - any of them, 0 - main screen only, 1 - save, 2 - load, 3 - video, 32 - video 2, 4 - game, 5 - audio, 6 - input, 62 - keyboard.
  • mtext "SETTINGS" 570 30 5 - the only component you can create. Just shows a text.