Torque3D/Templates/BaseGame/game/data/UI/scripts/profiles.tscript
Areloch 55697cffdb Streamlined baseUI profiles
Implemented audioOptions file with structure to comply to BaseUI options menu
Implemented majority of keybind remapping logic for options menu
2023-12-18 23:49:13 -06:00

202 lines
4.9 KiB
Plaintext

$TextMediumEmphasisColor = "200 200 200";
$TextMediumEmphasisColorHL = "0 0 0";
$TextHighEmphasisColor = "224 224 224";
$TextHighEmphasisColorHL = "0 0 0";
$TextDisabledColor = "108 108 108";
// ---------------------------------------------------------------------------
// Defaults
// ---------------------------------------------------------------------------
singleton GuiControlProfile( GuiMenuDefaultProfile )
{
opaque = false;
fillColor = "0 0 0 0";
category = "BaseUI";
};
singleton GuiControlProfile( GuiModelessDialogProfile : GuiMenuDefaultProfile )
{
modal = false;
};
singleton GuiControlProfile(GuiMenuBackgroundProfile)
{
category = "BaseUI";
opaque = true;
fillcolor = "34 34 34 255";
};
singleton GuiControlProfile(GuiMenuPanelProfile)
{
category = "BaseUI";
opaque = true;
fillcolor = "15 15 15 255";
};
singleton GuiControlProfile(GuiMenuBasePanelProfile)
{
category = "BaseUI";
opaque = true;
fillcolor = "40 40 40 255";
};
// ---------------------------------------------------------------------------
// Text
// ---------------------------------------------------------------------------
singleton GuiControlProfile(MenuHeaderText)
{
fontType = "Arial Bold";
fontSize = 36;
fontColor = $TextHighEmphasisColor;
justify = "left";
modal = false;
category = "BaseUI";
};
singleton GuiControlProfile(MenuHeaderTextHighlighted : MenuHeaderText)
{
fontColor = $TextHighEmphasisColorHL;
};
singleton GuiControlProfile(MenuHeaderTextCenter : MenuHeaderText)
{
justify = "center";
};
singleton GuiControlProfile(MenuSubHeaderText)
{
fontType = "Arial Bold";
fontSize = 24;
fontColor = $TextMediumEmphasisColor;
justify = "left";
modal = false;
category = "BaseUI";
};
singleton GuiControlProfile(MenuSubHeaderTextHighlighted : MenuSubHeaderText)
{
fontColor = $TextMediumEmphasisColorHL;
};
singleton GuiControlProfile(MenuSubHeaderCenteredText : MenuSubHeaderText)
{
justify = "center";
};
singleton GuiControlProfile(MenuSubHeaderCenteredTextHighlighted : MenuSubHeaderCenteredText)
{
fontColor = $TextMediumEmphasisColorHL;
};
singleton GuiControlProfile(MenuMLSubHeaderText)
{
fontType = "Arial Bold";
fontSize = 20;
fontColor = $TextMediumEmphasisColor;
justify = "left";
autoSizeWidth = true;
autoSizeHeight = true;
modal = false;
category = "BaseUI";
};
singleton GuiControlProfile(MenuMLSubHeaderTextCenter : MenuMLSubHeaderText)
{
justify = "center";
};
singleton GuiControlProfile( GuiMenuTextProfile )
{
opaque = true;
border = false;
fontSize = 18;
fontType = "Arial Bold";
fontColor = "240 240 240";
fontColorHL = "0 0 0";
fontColorNA = "125 125 125";
fixedExtent = false;
justify = "center";
category = "BaseUI";
modal = false;
};
singleton GuiControlProfile( GuiMenuTextProfileHL : GuiMenuTextProfile )
{
fontColor = "0 0 0";
};
singleton GuiControlProfile( GuiMLTextProfile )
{
fontColor = $TextMediumEmphasisColor;
fontColorHL = $TextMediumEmphasisColor;
fontColorSEL = $TextMediumEmphasisColor;
fontColorNA = $TextDisabledColor;
fontSize = 20;
fontColorLink = "100 100 100";
fontColorLinkHL = $TextMediumEmphasisColor;
autoSizeWidth = true;
autoSizeHeight = true;
border = false;
modal = false;
category = "BaseUI";
};
singleton GuiControlProfile( GuiMLTextProfileHighlighted : GuiMLTextProfile )
{
fontColor = $TextMediumEmphasisColorHL;
};
// ---------------------------------------------------------------------------
// Interactive Controls
// ---------------------------------------------------------------------------
singleton GuiControlProfile( GuiMenuButtonProfile )
{
opaque = true;
border = false;
fontSize = 24;
fontType = "Arial Bold";
fontColor = "200 200 200 255";
fontColorHL = "0 0 0 255";
fontColorNA = "108 108 108 255";
fontColorSEL = "200 200 200 255";
fillColor = "0 0 0 0";
fillColorHL = "255 255 255 255";
fillColorNA = "40 40 40";
borderColor = "87 87 87";
borderColorNA = "0 0 0";
borderColorHL = "194 64 64";
fixedExtent = 0;
justify = "center";
canKeyFocus = false;
hasBitmapArray = false;
soundButtonDown = "UI:buttonClick";
soundButtonOver = "UI:buttonHover";
category = "BaseUI";
fontColors[0] = "200 200 200 255";
fontColors[2] = "108 108 108 255";
fontColors[3] = "200 200 200 255";
};
singleton GuiControlProfile( GuiMenuButtonLeftJustProfile : GuiMenuButtonProfile )
{
justify = "Left";
};
singleton GuiControlProfile( GuiRemapActionMapButtonProfile : GuiMenuButtonProfile )
{
fillColor = "18 18 18 255";
fillColorHL = "0 0 0 255";
};
singleton GuiControlProfile(GuiMenuScrollProfile)
{
opaque = false;
fillcolor = "0 0 0 0";
fontColor = "200 200 200";
fontColorHL = "250 250 250";
border = false;
bitmapAsset = "UI:scrollBar_image";
hasBitmapArray = true;
category = "BaseUI";
};