Coreconfig.xml: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== 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 with another file called [[Chatboxpresents.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 ==
== Settings ==
Line 44: Line 42:


Example binding key "h" which will execute /help command:
Example binding key "h" which will execute /help command:
<syntaxhighlight lang="lua"><bind key="h" command="help" /></syntaxhighlight> it's that simple.
<syntaxhighlight lang="xml"><bind key="h" command="help" /></syntaxhighlight> 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: <syntaxhighlight lang="lua"><bind key="[" command="deposit" arguments="1000" /></syntaxhighlight>
You can also use arguments in commands e.g. some servers have banking systems so you can /deposit money using keys too, eg: <syntaxhighlight lang="xml"><bind key="[" command="deposit" arguments="1000" /></syntaxhighlight>
This will deposit your $1000.
This will deposit your $1000.


==MTA 1.4 Coreconfig.xml: ==
==Coreconfig.xml Files: ==
{{#tag:code |
<section name="1.4" class="client">
<syntaxhighlight lang="xml">
<mainconfig>
<mainconfig>
     <settings>
     <settings>
Line 270: Line 269:
                 <serverlist>
                 <serverlist>
                     <server priority="3">http://master.multitheftauto.com/ase/mta/?v=%VERSION%&amp;id=%ID%</server>
                     <server priority="3">http://master.multitheftauto.com/ase/mta/?v=%VERSION%&amp;id=%ID%</server>
                    <server priority="3">http://178.21.18.248/ase2.dat</server>
                    <server priority="4">http://1mgg.com/affil/mta</server>
                 </serverlist>
                 </serverlist>
             </ase>
             </ase>
Line 319: Line 316:
     <favourite_servers></favourite_servers>
     <favourite_servers></favourite_servers>
</mainconfig>
</mainconfig>
|lang="xml"}}
</syntaxhighlight>
</section>


== See Also ==
== See Also ==

Latest revision as of 20:10, 7 March 2021

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 with another file called Chatboxpresents.xml.

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
  • qc_host - Quick Connect IP
  • qc_port - Quick Connect Port
  • qc_password - Quick Connect Password
  • debugfile -
  • console_pos - X, Y co-ords of the screen where console should be shown (after pressing ` (tilde) key)
  • console_size - The size of the console after setting it's co-ordinates.
  • serverbrowser_size - The size of the server browser.
  • fps_limit - The limit for your FPS(Frames Per Second)
  • 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_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_scale - Scale of the chat box, that is size of it (format is: width height, floating values between 0 - 1)
  • 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).
  • text_scale - Scale of the text.
  • invert_mouse - Should the mouse be inverted? (Values 0 or 1).
  • fly_with_mouse - Should you fly with mouse? (Values 0 or 1).
  • steer_with_mouse - Should you steer with the mouse? (Values 0 or 1).
  • classic_controls - Should the classic controls be on? (Values 0 or 1).
  • mtavolume - Your MTA's Volume.
  • voicevolume - The in-game players voice volume.
  • async_loading - (Explaination)
  • 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.

Coreconfig.xml Files:

Click to expand [+]
1.4

See Also

Key names
Control names