Last updated | 2 weeks ago |
Total downloads | 126 |
Total rating | 0 |
Categories | |
Dependency string | Team036-ModSettingPlus-1.3.0 |
Dependants | 0 other packages depend on this package |
README
You should not install this until you are told.
Functions
Based on Release v2.2.1 ยท Glacir/ModSettings (github.com). It included Only ModSettingsPlus 1.0.0
.
Need install Northstar.Client
, or ModSettings
. It will overwrites some scripts in ModSettings 2.2.1(which ported from Northstar.Client's modSetting feature)
. It is not necessary to install until you are told.
ModSettings-2.2.1\mod\scripts\vscripts\menu_mod_settings.nut
// Add a ConVar stores color like "255 255 255 255". Yes it needs alpha.
void function ModSettings_AddColorSetting(string conVar, string buttonLabel, void functionref() onPress = null, int stackPos = 2)
// Based on SliderSetting. With a ImagePanel detects the alpha value.
void function ModSettings_AddAlphaSetting(string conVar, string displayName, int stackPos = 2)
// Open ColorPicker when you need.
void function OpenColorPickerMenu(string conVar, string subTitle)
Use
// Only needs the ConVar and displayName.
ModSettings_AddColorSetting("EntityStatus.health_party_fgcolor","#HUD_PARTY_COLORS_OPTION")
ModSettings_AddAlphaSetting("EntityStatus.core_label_alpha","#SETTING_ALPHA" )
Screenshots
Changelog
1.0.0
- Add
ColorPicker
menu. - Add two mod-setting ways.
1.3.0
- Add Subtitle show ConVar displayName.
- Click the ColorPicker window will not close it now.
- Use function parameter instead of convar. ConVar used for color is removed now.