tge/example/starter.fps/client/ui/defaultGameProfiles.cs
2017-04-17 06:17:10 -06:00

125 lines
3.2 KiB
C#
Executable File

//-----------------------------------------------------------------------------
// Torque Game Engine
// Copyright (C) GarageGames.com, Inc.
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// Override base controls
GuiButtonProfile.soundButtonOver = "AudioButtonOver";
//-----------------------------------------------------------------------------
// Chat Hud profiles
new GuiControlProfile (ChatHudEditProfile)
{
opaque = false;
fillColor = "255 255 255";
fillColorHL = "128 128 128";
border = false;
borderThickness = 0;
borderColor = "40 231 240";
fontColor = "40 231 240";
fontColorHL = "40 231 240";
fontColorNA = "128 128 128";
textOffset = "0 2";
autoSizeWidth = false;
autoSizeHeight = true;
tab = true;
canKeyFocus = true;
};
new GuiControlProfile (ChatHudTextProfile)
{
opaque = false;
fillColor = "255 255 255";
fillColorHL = "128 128 128";
border = false;
borderThickness = 0;
borderColor = "40 231 240";
fontColor = "40 231 240";
fontColorHL = "40 231 240";
fontColorNA = "128 128 128";
textOffset = "0 0";
autoSizeWidth = true;
autoSizeHeight = true;
tab = true;
canKeyFocus = true;
};
new GuiControlProfile ("ChatHudMessageProfile")
{
fontType = "Arial";
fontSize = 16;
fontColor = "44 172 181"; // default color (death msgs, scoring, inventory)
fontColors[1] = "4 235 105"; // client join/drop, tournament mode
fontColors[2] = "219 200 128"; // gameplay, admin/voting, pack/deployable
fontColors[3] = "77 253 95"; // team chat, spam protection message, client tasks
fontColors[4] = "40 231 240"; // global chat
fontColors[5] = "200 200 50 200"; // used in single player game
// WARNING! Colors 6-9 are reserved for name coloring
autoSizeWidth = true;
autoSizeHeight = true;
};
new GuiControlProfile ("ChatHudScrollProfile")
{
opaque = false;
border = false;
borderColor = "0 255 0";
bitmap = "common/ui/darkScroll";
hasBitmapArray = true;
};
//-----------------------------------------------------------------------------
// Common Hud profiles
new GuiControlProfile ("HudScrollProfile")
{
opaque = false;
border = true;
borderColor = "0 255 0";
bitmap = "common/ui/darkScroll";
hasBitmapArray = true;
};
new GuiControlProfile ("HudTextProfile")
{
opaque = false;
fillColor = "128 128 128";
fontColor = "0 255 0";
border = true;
borderColor = "0 255 0";
};
new GuiControlProfile ("ChatHudBorderProfile")
{
bitmap = "./chatHudBorderArray";
hasBitmapArray = true;
opaque = false;
};
//-----------------------------------------------------------------------------
// Center and bottom print
new GuiControlProfile ("CenterPrintProfile")
{
opaque = false;
fillColor = "128 128 128";
fontColor = "0 255 0";
border = true;
borderColor = "0 255 0";
};
new GuiControlProfile ("CenterPrintTextProfile")
{
opaque = false;
fontType = "Arial";
fontSize = 12;
fontColor = "0 255 0";
};