Coreconfig.xml

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
Dialog-information.png This article needs checking.

Reason(s): This article should be updated so it matches with the latest coreconfig.xml settings.

Coreconfig.xml

This file is used to set your UI e.g. chat box color, chat font or even bind keys. You can modify it to make your chat box look better or add favourite servers manually. Coreconfig.xml is located in your MTA San Andreas 1.x\MTA\ folder (by default C:\Program files\MTA San Andreas 1.x\MTA\).

Settings

Most of the settings are self-explained.

  • nick - Your nickname in-game
  • host - Last played server's IP
  • port - Last played server's port
  • password - Last played server's password
  • console_pos - X, Y co-ords of the screen where console should be shown (after pressing ` (tilde) key)
  • chat_font - Font ID you want to be used in chat box
  • chat_lines - How many lines you want to be displayed in chat box
  • chat_color - Chat box background color (format is: RGBA, values between 0 - 255)
  • chat_input_color - Background of the line shown when you type text (displayed when you press T or Y)
  • chat_scale - Scale of the chat box, that is size of it (format is: width height, floating values between 0 - 1)
  • chat_input_prefix_color - Color of the word "Say:" or "Team Say:" when you press T or Y
  • chat_input_text_color - Color of the text you type, when you press T or Y
  • chat_width - Width of the chat box, text will wrap if it reaches this end
  • chat_css_style_text - (needs explanation)
  • chat_css_style_background - (needs explanation)
  • chat_line_life - (needs explanation)
  • chat_line_fade_out - Time after which line should fade out (milliseconds)
  • chat_use_cegui - Should chat use CEGUI? (values 0 or 1) (needs more explanation)
  • mtu_size - (needs explanation)
  • menu_options - Contains the flags for the animated 3D menu scene (as given in the Video tab). Set to 255 to enable all options. Set to 248 to disable all options in case of problems/issues in the main menu (and not during game play).

Bind key

Binding key format is easy and almost everyone can bind their own keys to make the game easier to play and speed up your gaming a little bit. You can bind a command you use the most often to a key, so when you press the key that command will execute.

Example binding key "h" which will execute /help command:

<bind key="h" command="help" />

it's that simple. You can also use arguments in commands e.g. some servers have banking systems so you can /deposit money using keys too, eg:

<bind key="[" command="deposit" arguments="1000" />

This will deposit your $1000.

See Also

Key names
Control names