Brotato
Оцінок: 924
Mod Options - v0.4.1
3
   
Нагородити
До улюбленого
В улюблених
Прибрати
GUI
Розмір файлу
Додано
Оновлено
14.839 KB
9 берез. 2023 о 15:27
5 верес. 2023 о 16:59

Підпишіться, аби завантажити
Mod Options - v0.4.1

Опис
Adds a Mods setting menu under options
This mod does nothing by itself, it only allows other mods to have their options changed


current version : 0.4.1:
- added compatibility with the latest ModLoader. Thanks a lot to Pasha !
- (.1) added tooltips with localization. Thanks again to Pasha !! Simply add a "tooltip" field under your config key and set your localization key there.


0.3:
- added the possibility for color sliders in the options. Use a RGB or ARGB code to make the slider show up in the options. When the color is set by a user, the signal sent will pass a String argument with the color in the ARGB format ( see Color.to_html() )
- added some margin before the scrollbar
- (.1) cleared some error messages for devs


0.2:
- you can now have a "step" for the sliders like this : "your_config_parameter_step"
- for min and max slider values use "your_config_parameter_min" or "your_config_parameter_max"



for modders: check out the code in Elemento or See Player mod to get an idea of how to use it.

if you've got suggestions on features to add let me know in the comments !!!

similarly to Content Loader, you can grab the ModsConfigInterface pseudo singleton via get_node(), then receive its signal with connect(). it sends a "setting_changed" signal whenever a mod setting is changed.

var ModsConfigInterface = get_node("/root/ModLoader/dami-ModOptions/ModsConfigInterface")
ModsConfigInterface.connect("setting_changed", self, "your_modded_function")

currently it can handle numbers booleans and color hex codes (as string)


i will clean up this description soon
Популярні обговорення Переглянути всі (2)
1
27 черв. 2023 о 17:35
mody
jj.ziembicki
0
21 лют. о 2:20
Bug: Mod Settings Don't Save if Subscribed to More Than 16 Mods in Total (Including This Mod)
KevinLGlory
Коментарів: 40
UnKNowNLoVe EasySkins.com 16 лют. о 12:53 
dont works mod
Kendrid 17 січ. о 23:55 
Saves for me. 3x seems a fun amount. 10x was surviving, but my frames didn't. And I don't have a weak pc lol
test 23 груд. 2023 о 5:48 
yeah it wont save
DragN Daemonz 19 верес. 2023 о 17:55 
same...nothing saves
CristoElMago 13 верес. 2023 о 18:59 
The mod options don't save, if I close the game I have to set up all again.
w!ckeD 29 лип. 2023 о 17:02 
Activating this mod makes the game horribly stutter.
Cacato 26 лип. 2023 о 17:28 
I tried various combination of mods and this one alone it cause my game to stutter everytime enemies spawn, anyone else ?
DragN Daemonz 22 лип. 2023 о 12:46 
Same
NudePenguin 14 лип. 2023 о 21:44 
Mod Menu option is there but when you open it up, no options show up, its just a blank menu.
喃嘸佬 8 лип. 2023 о 8:38 
I CANT LAUNCH THE GAME WITH THIS MOD ON