Vehicle default colors: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (New page: This is meant to explain how many coloring slots each vehicle has, where there is a max of 4 and a min of 1 --~~~~)
 
mNo edit summary
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This is meant to explain how many coloring slots each vehicle has, where there is a max of 4 and a min of 1
This file is copied from the MTA:DM Server.<br>
'''File Name:''' vehiclecolors.conf<br>
'''File Location:''' <MTAPath>\server\mods\deathmatch<br>
<br>
This file defines the color combinations a vehicle can have.


--[[User:Ransom|Ransom]] 18:08, 27 October 2007 (CDT)
 
==File Syntax==
[Vehicle ID] [Color 1] [Color 2] [Color 3] [Color 4]<br>
<br>
Note that most vehicles don'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.<br>
<br>
[[Vehicle Colors|Vehicle Color Pallete]]<br>
 
{| width="100" align="left" border="1"
|<center>
445 34 34<br>
445 35 35<br>
445 37 37<br>
445 39 39<br>
445 41 41<br>
445 43 43<br>
445 45 45<br>
</center>
|}

Latest revision as of 14:02, 6 May 2009

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 don'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.

Vehicle Color Pallete

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