ENG New site

Advanced search

[ New messages · Forum rules · Members ]
  • Page 1 of 1
  • 1
Config File Suggestions
form_d_kDate: Monday, 02.06.2014, 22:58 | Message # 1
Astronaut
Group: Users
United States
Messages: 68
Status: Offline
Hi, Space Engineer! I have some suggested changes I was wondering if you'd consider.

To context.cfg:

  • Could you make it where music entries were top-most & contained contexts child entries?
  • Could you add a "Simulation" context for tracks that, regardless of whether or not the user specified contextual music, would play at any time during simulation?
  • Could you add a file path entry?
I imagine these changes would look like this:

Music AstroPilotInvertedWorlds {
Filepath("\music\AstroPilot - Inverted Worlds.ogg")
Contexts ("MainMenu" "Galaxy")
}


This would make it easier (for you or other users) to add new music & give context flexibility.

Also, UI features could be offloaded to config files:

  • UI config file would contain entries for menus/menu items, windows, popups, message boxes, buttons, etc.
  • Child entries to describe element position, optional image, size, styles, color, etc.
  • UI entries would specify events you make available to them, such as OnClick, OnHover, OnSelect, OnDisplay, OnStart, OnExit, etc.
  • UI entries would specify functionality that you make available to them, such as PauseSimulation/UnpauseSimulation/ExitSimulation, PlaySound, DisplayUI_Item/HideUI_Item, etc.
  • The user config file could have an entry to a UI config file, which would allow easy swaps to different skins/UI types.
  • Instead of loading the config file, read from it dynamically.
This would have several advantages, such as letting you easily update the UI, see changes immediately in-game, & allow users to customize UI.

Thanks for such a great simulation! biggrin


Edited by form_d_k - Monday, 02.06.2014, 23:03
 
EnkiDate: Sunday, 22.06.2014, 17:38 | Message # 2
Astronaut
Group: Users
United States
Messages: 67
Status: Offline
I agree. This is an interesting idea. smile




"If you arrive at a contradiction, check your premises. You will find that one of them is wrong." - Ayn Rand
"It may be that our purpose on Earth is not to find God, but to create him." - Arthur C. Clarke
 
  • Page 1 of 1
  • 1
Search: