| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- //-----------------------------------------------------------------------------
- // Copyright (c) 2012 GarageGames, LLC
- //
- // Permission is hereby granted, free of charge, to any person obtaining a copy
- // of this software and associated documentation files (the "Software"), to
- // deal in the Software without restriction, including without limitation the
- // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
- // sell copies of the Software, and to permit persons to whom the Software is
- // furnished to do so, subject to the following conditions:
- //
- // The above copyright notice and this permission notice shall be included in
- // all copies or substantial portions of the Software.
- //
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- // IN THE SOFTWARE.
- //-----------------------------------------------------------------------------
- //-----------------------------------------------------------------------------
- // Override base controls
- //GuiMenuButtonProfile.soundButtonOver = "AudioButtonOver";
- //GuiMenuButtonProfile.soundButtonDown = "AudioButtonDown";
- //-----------------------------------------------------------------------------
- // Chat Hud profiles
- singleton 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;
- };
- singleton 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;
- };
- singleton 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;
- };
- singleton GuiControlProfile ("ChatHudScrollProfile")
- {
- opaque = false;
- borderThickness = 0;
- borderColor = "0 255 0";
- bitmap = "data/UI/art/scrollBar";
- hasBitmapArray = true;
- };
- //-----------------------------------------------------------------------------
- // Core Hud profiles
- singleton GuiControlProfile ("HudScrollProfile")
- {
- opaque = false;
- border = true;
- borderColor = "0 255 0";
- bitmap = "data/UI/art/scrollBar";
- hasBitmapArray = true;
- };
- singleton GuiControlProfile ("HudTextProfile")
- {
- opaque = false;
- fillColor = "128 128 128";
- fontColor = "0 255 0";
- border = true;
- borderColor = "0 255 0";
- };
- singleton GuiControlProfile ("ChatHudBorderProfile")
- {
- bitmap = "data/UI/art/chatHudBorderArray";
- hasBitmapArray = true;
- opaque = false;
- };
- //-----------------------------------------------------------------------------
- // Center and bottom print
- singleton GuiControlProfile ("CenterPrintProfile")
- {
- opaque = false;
- fillColor = "128 128 128";
- fontColor = "0 255 0";
- border = true;
- borderColor = "0 255 0";
- };
- singleton GuiControlProfile ("CenterPrintTextProfile")
- {
- opaque = false;
- fontType = "Arial";
- fontSize = 12;
- fontColor = "0 255 0";
- };
- // -----------------------------------------------------------------------------
- // HUD text
- // -----------------------------------------------------------------------------
- singleton GuiControlProfile (HudTextNormalProfile)
- {
- opaque = false;
- fontType = "Arial";
- fontSize = 14;
- fontColor = "255 255 255";
- };
- singleton GuiControlProfile (HudTextItalicProfile : HudTextNormalProfile)
- {
- fontType = "ArialItalic";
- };
- singleton GuiControlProfile (HudTextBoldProfile : HudTextNormalProfile)
- {
- fontType = "ArialBold";
- };
- // -----------------------------------------------------------------------------
- // Numerical health text
- // -----------------------------------------------------------------------------
- singleton GuiControlProfile (NumericHealthProfile)
- {
- opaque = true;
- justify = "center";
- fontType = "ArialBold";
- fontSize = 32;
- fontColor = "255 255 255";
- };
|