Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: [0.9.1a] SSMS QoL  (Read 2401 times)

Razuhl

  • Ensign
  • *
  • Posts: 13
    • View Profile
[0.9.1a] SSMS QoL
« on: January 24, 2020, 04:35:45 AM »


Features
  • Automatically drop surplus into cargo pods after looting.
  • Unlimited command points.
  • Mod menu
  • Game menu

Mod and Game menu
The menus provide a user interface to change settings that would otherwise require editing of configuration files or savegames. The mod menu stores its settings in a local file and reapplies them to the application when started. These settings apply to all games. The game menu stores it changes directly in the save game.

This approach makes configuring mods more approachable since mod authors can draw available options from the application itself. So instead of looking up ids and editing json files, the options can be provided as a clickable element with their respective label.

Authors can modify Integer, Float, Boolean, String, Compositions and List of those types. They can either be edited directly with textboxes etc. or values are chosen from a dynamic list of options.

A showcase that displays all possible types of settings together with an example on how to edit starsystems and planets in the game menu can be found at GitHub - Releases - SSMSQoLTest.



Modders that want to use the mods menu must define its jar as a library dependency, without shipping the actual library, and users have to ensure that dependant mods are loaded after this mod. Currently load order must be managed by users, utilizing alphanumeric prefixes in mod names which are defined in the respective mod_info.json file.

FAQ

Can this be added to and removed from an ongoing save? Yes
Can I change/disable features? You can open the mod menu via F12 to change settings for this mod.

In depth documentation is available on GitHub.
« Last Edit: April 05, 2020, 03:34:10 PM by Razuhl »
Logged

Razuhl

  • Ensign
  • *
  • Posts: 13
    • View Profile
Re: [0.9.1a] SSMS QoL
« Reply #1 on: April 05, 2020, 03:18:39 PM »

Added mod/game menu and initial UI Framework.
Logged

Razuhl

  • Ensign
  • *
  • Posts: 13
    • View Profile
Re: [0.9.1a] SSMS QoL
« Reply #2 on: April 23, 2020, 08:30:43 PM »

Added UtilItem to abstract the various items that are lacking a common superclass into a shared id handling.

Added UtilTrade to execute transactions and determine prices for the various items.

Selection lists are sorted by label as default.

Automatically closing the selection for a single option after an option got selected.

Lists with complex objects can create new entries and new instances.

Input lists immediately update the backed value after adding new entries.
Logged

Terethall

  • Commander
  • ***
  • Posts: 157
    • View Profile
Re: [0.9.1a] SSMS QoL
« Reply #3 on: June 30, 2020, 04:46:49 PM »

  • Automatically drop surplus into cargo pods after looting.
You should consider advertising this functionality of the mod more. To my knowledge no one else is doing this, and this is one of the biggest no-brainer QoL changes possible to the game.
Logged