Chatboxpresets.xml: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (Link to coreconfig.xml fixed)
Line 3: Line 3:
===Childrens of the chatboxpresents:===
===Childrens of the chatboxpresents:===
*'''preset name''': The name of the preset.
*'''preset name''': The name of the preset.
**'''color_text''': 3 color values from 0-255 | example: 255 255 255 (red green blue)
**'''color_text''': Text color (3 color values 'RGB' and optional transparent value) | example: 255 255 255 (White) or 255 255 255 122 (White and 47% transparent)
**'''color_background''': The background color. | (not sure what the color values are/mean)
**'''color_background''': The background color (3 color values 'RGB' and 1 transparency value)  | example: 255 0 0 122 (Fully red and 47% transparent)
**'''color_input_text''': The color of the input text.
**'''color_input_text''': The color of the input text.
**'''color_input_background''': The color of the background while input is enabled.
**'''color_input_background''': The color of the background while input is enabled.

Revision as of 07:54, 7 April 2013

This file holds all the MTA ChatBox Presents. Everything in this file deals with the chatbox and nothing else but the chatbox. This file is located with the coreconfig.xml. File path(MTA San Andreas 1.x\MTA). You could even customize it your self but you would need to be careful else MTA might crash or the chat might not even be visible.(BTW, you could customize these in the Settings)

Childrens of the chatboxpresents:

  • preset name: The name of the preset.
    • color_text: Text color (3 color values 'RGB' and optional transparent value) | example: 255 255 255 (White) or 255 255 255 122 (White and 47% transparent)
    • color_background: The background color (3 color values 'RGB' and 1 transparency value) | example: 255 0 0 122 (Fully red and 47% transparent)
    • color_input_text: The color of the input text.
    • color_input_background: The color of the background while input is enabled.
    • font: The number of the font. | 0 meaning no-font.
    • lines: (Not-sure)
    • scale: The scale of the text.
    • width: The width of the text.

(more coming!)

File Example

<chatboxpresets> <preset name="MTA Blue (default)"> <color_text>255 255 255</color_text> <color_background>0 0 128 100</color_background> <color_input_text>172 213 254 255</color_input_text> <color_input_background>0 0 129 110</color_input_background> 0 <lines>7</lines> <scale>1 1</scale> <width>1</width> <css_text>0</css_text> <css_background>0</css_background> <line_life>12000</line_life> <line_fadeout>3000</line_fadeout> </preset> <preset name="MTA Black"> <color_text>255 255 255</color_text> <color_background>0 0 0 100</color_background> <color_input_text>172 213 254 255</color_input_text> <color_input_background>0 0 0 110</color_input_background> 0 <lines>7</lines> <scale>1 1</scale> <width>1</width> <css_text>0</css_text> <css_background>0</css_background> <line_life>12000</line_life> <line_fadeout>3000</line_fadeout> </preset> <preset name="Transparent"> <color_text>255 255 255</color_text> <color_background>0 0 0 0</color_background> <color_input_text>172 213 254 255</color_input_text> <color_input_background>0 0 0 0</color_input_background> 2 <lines>10</lines> <scale>1 1</scale> <width>1.5</width> <css_text>0</css_text> <css_background>0</css_background> <line_life>12000</line_life> <line_fadeout>3000</line_fadeout> </preset> <preset name="Race Oversized"> <color_text>172 213 254 255</color_text> <color_background>0 0 128 100</color_background> <color_input_text>172 213 254 255</color_input_text> <color_input_background>0 0 191 110</color_input_background> 3 <lines>10</lines> <scale>1.65 1.17</scale> <width>1.2</width> <css_text>0</css_text> <css_background>0</css_background> <line_life>12000</line_life> <line_fadeout>3000</line_fadeout> </preset> <preset name="iRace 2009"> <color_text>172 213 254 255</color_text> <color_background>0 0 128 0</color_background> <color_input_text>172 213 254 255</color_input_text> <color_input_background>0 0 191 110</color_input_background> 0 <lines>10</lines> <scale>1.5 1.1</scale> <width>1.2</width> <css_text>1</css_text> <css_background>0</css_background> <line_life>30000</line_life> <line_fadeout>300000</line_fadeout> </preset> </chatboxpresets>