Vehicle default colors: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
'''File Name:''' vehiclecolors.conf<br>
'''File Name:''' vehiclecolors.conf<br>
'''File Location:''' <MTAPath>\server\mods\deathmatch<br>
'''File Location:''' <MTAPath>\server\mods\deathmatch<br>
<br>
This file defines the color combinations a vehicle can have.


This file defines the color combinations a vehicle can have.
==File Syntax==
The syntax is:
[Vehicle ID] [Color 1] [Color 2] [Color 3] [Color 4]<br>
[Vehicle ID] [Color 1] [Color 2] [Color 3] [Color 4]<br>
<br>
<br>
Line 10: Line 12:
If you mess this file up, just delete it and the server will generate a new file with GTA's default values in it.
If you mess this file up, just delete it and the server will generate a new file with GTA's default values in it.


 
==Example==
In this example, vehicle ID 445 is being set colors for the server to use when the vehicle is created, you can add your own by adding new ones under it or anywhere inside this file as long as the syntax follows the example above.<br>
<br>
445 34 34<br>
445 34 34<br>
445 35 35<br>
445 35 35<br>

Revision as of 02:28, 2 January 2008

This file is copied from the MTA:DM Server.
File Name: vehiclecolors.conf
File Location: <MTAPath>\server\mods\deathmatch

This file defines the color combinations a vehicle can have.


File Syntax

[Vehicle ID] [Color 1] [Color 2] [Color 3] [Color 4]

Note that most vehicles doesn't need more than two colors You can specify a vehicle ID more than once to specify more than one combination for a vehicle. The color combination used for a vehicle is randomly decided each time a player spawns in a vehicle. If you mess this file up, just delete it and the server will generate a new file with GTA's default values in it.

Example

In this example, vehicle ID 445 is being set colors for the server to use when the vehicle is created, you can add your own by adding new ones under it or anywhere inside this file as long as the syntax follows the example above.

445 34 34
445 35 35
445 37 37
445 39 39
445 41 41
445 43 43
445 45 45
445 47 47