Mod Settings
Supplies an interface for modders to create their own settings pages.
To use, just install the mod, and any other mods which use it.
Note: there may be warnings that a mod "tried to load assembly" something something, do not worry about them, nothing is broken.
Thanks to @ElGatoVolador for the pretty thumbnail!
MODDER Instructions
To use this mod in one of your mods:
First, install the mod, it handles the settings creation, saving, loading, etc. in-game, so you can't test without it.
Then download the Mod Settings.zip, and unzip the files somewhere (or just unzip individual files as you need them).
SPModSettings.dll
is the shared assembly you will use to communicate with the mod, it goes in your mod project Assets folder (anywhere you like), then find it in the Unity project explorer, select it, and on the Mod Builder window hit "Save Selected Assets" (this ensures that your mod won't fail to load if Mod Settings mod isn't installed and loaded before it).
SPModSettings.xml
is the code documentation, so you can have intellisense comments for what functions and variables do/are, it goes in the same folder as SPModSettings.dll
, but do NOT save it with mod builder (not that it would break anything, but it would pointlessly increase the size of your mod).
To get started, you'll need some settings code, you can use the code at the end of my mod settings reveal video, or the source code for the Adjustable Gravity mod on GitHub as a guide (be sure to have using SPModSettings
at the top of your settings code).
This script must be placed on a Persistent Object
, a GameObject with a PersistentObject script from the mod tools, which you then save with the mod tools.
An easy pattern (though not necessarily "good practice"...) to access the settings in another script is to make the output variable public static
, so for example the Adjustable Gravity script could have public static Vector3 GravityVector
, which can then be accessed from any script like so: GravityManager.GravityVector
@HellFireKoder Sir,I don't know how to create a mod,can you teach me?
The settings don't save...
how to apply changes?
By the way could he make a video tutorial for us like me is impossible
by the way can he give us the tutorial
@noti I think his right, it happened to me and it did not appear and made me mad so much that he need to make it better instead of this!
how to use it: first download this https://www.dropbox.com/s/8z161rd38gb00uz/Mod%20Settings.zip?dl=0
Create a new paste or a paste that you want and extract the 2 files on it, and finally put the files that you made on the simpleplanes file! (it worked for me) pls pin that
If the devs re-add android support that would be a game changer, litrally
i downloaded this but mod settings tab is not showing up is the mod broken?
how to use it
@TheMaus it used to have android support.
Are we able to download it on mobile but downloading it from the pc thing and if so how do we put it in simpleplanes?
@HellFireKoder help us there are a lot of reports that the button has vanished pls help
just another user reporting the same issue of no mod settings button on the main menu :( been like this since the latest update
Same here, modsettings isn't present. Thankfully Designersetting's unlimited zoom is still working though.
@HellFireKoder Hello. The mod settings mod doesn´t work with version 1.12.118.0 (gog) anymore. Is it my fault or does it neet to be updated?
i just got this today and afer a few hours, im messing with wind and a sail boat and boom the mod settings button on the main menu is gone how do i fix this @HellFireKoder
牛逼
@TheMegaMauster just realised, sorry bout that
Ios never had mod support
@Ungoc
@Yeargear don't need one, it says noice
@Guylikeairplanes simpleplanes lost its android and ios mod support at 1.9
Doesn’t work😢
@HellFireKoder it doesn't work for me :(
where to put this?