Brotato

Brotato

2,604 hodnocení
Mod Options
2
3
   
Ocenit
Přidat do oblíbených
Oblíbeno
Odebrat z oblíbených
GUI
Velikost souboru
Přidáno
Aktualizováno
54.368 KB
9. bře. 2023 v 15.27
2. lis. v 10.44
Poznámky ke změnám (12) – zobrazit

Klikněte na „Odebírat“ pro stažení položky
Mod Options

Popis
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.
- (.2) updated for DLC release (game version 1.1.0.0-rc14)


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 (trust)
Populární diskuze Zobrazit vše (3)
5
18. srp. v 12.30
crashing
Digitale9
2
25. pro. 2024 v 22.23
mody
jj.ziembicki
1
4. srp. 2024 v 8.22
Bug: Mod Settings Don't Save if Subscribed to More Than 16 Mods in Total (Including This Mod)
KevinLGlory
Počet komentářů: 83
今晚打老虎 3. lis. v 0.12 
你是我的神
KANA  [autor] 2. lis. v 2.07 
@toomeybd thanks for reporting! Should be fixed now.
toomeybd 1. lis. v 17.49 
Hey, this seems to work okay, but i get a weird crash only when going into mod options with a controller by pressing RB
Megusaka 30. říj. v 15.05 
tried the updated version, panel works but some of materials get converted to the saved materials each wave with this mod
Eramar0b 28. říj. v 11.39 
Confirming Theoran's bug; the bug report displayed on startup points directly to this mod.
The game crashes on startup.
Theoran 27. říj. v 9.56 
Sadly, this mod does not work with the New Dawn update.
GlitchLinkOne 22. říj. v 17.42 
update for da new beta!! now!! plz
test 19. říj. v 3.35 
where is the BUTTON!
eltoro0815 15. říj. v 13.47 
has a conflict with the current beta
chemicalvamp 24. zář. v 20.27 
this is crashing my game on boot, is there...., am i missing a dependency? Is this supposed to work RN or is it just broken, i dont know..