Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Mod Settings #76

@VasVadum

Description

@VasVadum

I'd like this mod to use the mod settings screen for features to allow things like server forced choices and default selections when playing single player.

Right now you have; Time of day, Evolution, Kill Count, Time played, Locations, Pollution for settings, with Day, Evo, Time, Location having advanced options.

Time of day can be a map setting, with a checkbox to allow in-game control for everyone.
Evolution can be a map setting, with a checkbox to toggle its advanced.
Kill count can be a player setting, so players can all choose this themselves, not a server specific setting.
Same for Time Played, a player setting rather than server setting.
Locations would be a map setting, with checkboxes for the options and allowing in game control.
Pollution would be another map setting.

Map settings, are things that would allow the server owner to force on everyone, so that only the server owner can choose how those options would work within a server.

Player settings, would allow the player to choose.

A checkbox in the map setting versions allowing player control again, would use the in game UI for allowing players to choose a setting.

There's also the option of adding all settings to both map and player screens, and having the mod use if else statements to first check "if mapset-evo-gui-evolution-counter == true then" before it checks the player setting version which I would assume might be "playset-evo-gui-evolution-counter" instead. So that if mapset is true, it will refer to playset instead. If false, it will skip playset checking.

I could come up with a settings file for you, if you would like the help with it. I checked the LUAs you made for the GUI and its too advanced for me to try and add any methods for that to be changed by settings, but a setting file I can do easily.

Example; https://pastebin.com/bCTkh6Fy
But I can finish this for you if you like it.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions