Ongoing wipwork of the BaseUI update. Some bugfixes pending

This commit is contained in:
Areloch 2023-12-16 23:18:33 -06:00
parent 616d974212
commit ce4c8dabc9
53 changed files with 2033 additions and 3892 deletions

View file

@ -147,25 +147,31 @@ new GuiControlProfile(GuiTextEditProfile)
category = "Core";
};
if(!isObject(GuiMenuScrollProfile))
new GuiControlProfile(GuiMenuScrollProfile)
if(!isObject(GuiScrollProfile))
new GuiControlProfile(GuiScrollProfile)
{
opaque = true;
fontColor = $TextMediumEmphasisColor;
fontColorHL = $TextMediumEmphasisColor;
fontColorNA = $TextDisabledColor;
fontColorSEL = $TextMediumEmphasisColor;
fillColor = "40 40 40";
opaque = "0";
fontColor = "200 200 200 255";
fontColorHL = "200 200 200 255";
fontColorNA = "108 108 108 255";
fontColorSEL = "200 200 200 255";
fillColor = "0 0 0 0";
fillColorHL = "56 56 56";
fillColorNA = "40 40 40";
borderColor = "87 87 87";
borderColorNA = "0 0 0";
borderColorHL = "255 255 255";
border = true;
border = "0";
bitmapAsset = "Core_GUI:scrollBar_image";
hasBitmapArray = true;
category = "Core";
fontSize = 15;
fontColors[0] = "200 200 200 255";
fontColors[1] = "200 200 200 255";
fontColors[2] = "108 108 108 255";
fontColors[3] = "200 200 200 255";
fontColors[8] = "Fuchsia";
fontColors[9] = "255 0 255 255";
};
if(!isObject(GuiOverlayProfile))

View file

@ -74,6 +74,21 @@ new SimGroup(VideoSettingsGroup)
OptionName = "Graphical Quality";
Description = "Controls the general graphical quality";
new ArrayObject()
{
class = "OptionsQualityLevel";
caseSensitive = true;
displayName = "Medium";
key["$pref::TS::detailAdjust"] = 1.0;
key["$pref::TS::skipRenderDLs"] = 0;
key["$pref::useStaticObjectFade"] = true;
key["$pref::staticObjectFadeStart"] = 75;
key["$pref::staticObjectFadeEnd"] = 100;
key["$pref::staticObjectUnfadeableSize"] = 75;
};
new ArrayObject()
{
class = "OptionsQualityLevel";
@ -89,6 +104,54 @@ new SimGroup(VideoSettingsGroup)
key["$pref::staticObjectUnfadeableSize"] = 75;
};
};
new SimGroup()
{
class = "OptionsSettings";
OptionName = "Lighting Quality";
Description = "Controls the lighting and shadows quality";
new ArrayObject()
{
class = "OptionsQualityLevel";
caseSensitive = true;
displayName = "High";
key["$pref::lightManager"] = "Advanced Lighting";
key["$pref::Shadows::disable"] = false;
key["$pref::Shadows::textureScalar"] = 1.0;
key["$pref::PSSM::detailAdjustScale"] = 1.0;
key["$pref::allowLocalLightShadows"] = true;
};
};
};
new SimGroup(AdvancedVideoSettingsGroup)
{
class = "SubOptionsGroup";
displayName = "Advanced";
new SimGroup()
{
class = "OptionsSettings";
OptionName = "Mesh Detail";
Description = "Controls the max quality of mesh objects";
new ArrayObject()
{
class = "OptionsQualityLevel";
caseSensitive = true;
displayName = "High";
key["$pref::TS::detailAdjust"] = 1.5;
key["$pref::TS::skipRenderDLs"] = 0;
};
};
};
/*new SimGroup(AdvancedVideoSettingsGroup)