GTA: Modification Area
Would you like to react to this message? Create an account in a few clicks or log in to continue.
GTA: Modification Area

A website for the GTA modding scene

Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Big-game starts raising Schneider's profile
Carcols.dat File EmptySun Mar 04, 2012 2:28 am by lavivi

» [Help] cleo created lighting
Carcols.dat File EmptyThu Oct 14, 2010 1:03 am by findmy012

» Mission Question
Carcols.dat File EmptyThu Oct 14, 2010 1:02 am by findmy012

» [IV] Spoiler Script
Carcols.dat File EmptyThu Oct 14, 2010 1:02 am by findmy012

» Mission mod [help]
Carcols.dat File EmptySat Sep 18, 2010 5:50 pm by jayd00

» Bc7 Mod Help
Carcols.dat File EmptyFri Aug 20, 2010 11:19 am by pengpeng

» Found a bug
Carcols.dat File EmptyFri Dec 18, 2009 4:22 am by _CJ360_

» [IV] Novitec Rosso 599 GTB
Carcols.dat File EmptyTue Nov 17, 2009 4:22 pm by Kotton

» Hello/Guidance Request
Carcols.dat File EmptyMon Oct 12, 2009 6:45 am by Adler

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Affiliates
image

Image

Image

Image

Image

Image

Image

Image

Image

Image

image

Image

steve-m.com

Image


----- Русский -----

Если ваш сайт содержит большую коллекцию SCM/CLEO-скриптов (больше 16), напишите на мой e-mail, и я добавлю его в список. Приветствуются скрипты, которые не встречаются на других сайтах ... Спасибо. ))))


----- English -----

If your website has a big enough collection of SCM/CLEO scripts (more than 16) notify me by e-mail
, and I will add it to the list. The unique scripts are preferable ... Thank you. ))))
Log in

I forgot my password



November 2024
MonTueWedThuFriSatSun
    123
45678910
11121314151617
18192021222324
252627282930 

Calendar Calendar


You are not connected. Please login or register

Carcols.dat File

Go down  Message [Page 1 of 1]

1Carcols.dat File Empty Carcols.dat File Sun Feb 08, 2009 9:50 am

gtasbigfoot

gtasbigfoot
Admin

Description


The carcols.dat contains a color palette and numbers to associate them with specific cars.
The file can be opened and edited with any text editor.

To comment you may put # before the message you wish to write.

Struct

The file is split into three sections; col, car, and car4
Each section starts with a section identifier and ends with the keyword "end", both in a single line.

Col Section


Col section contains color palette, the data is made of text lines, every line contains 3 numbers separated with a comma ',' sign. The 3 numbers in a line specify the Red, Green and Blue component of that line's color.



CAR Section


The CAR section associates specific colors from the color's palette with cars. Data in a line is separated same as in COL section (with a comma ','). Every car has a line dedicated to it, followed by numbers which specify the car's color pairs (2 colors per color pair - primary and secondary). For example, on a police car, the primary color is black, and the secondary is white. Make the police car's numbers 2,0 and you'll have a blue and white police car.

Code:

alpha, 58,1, 69,1, 75,77, 18,1, 32,1, 45,45, 13,1, 34,1

List of colors in San Andres:

Carcols.dat File Carcol10

Adding a car color


This is incredibly simple. To begin with, you must come up with an RGB code that matches the color you want a car to spawn as. As explained earlier, choose any number between 0 and 255 for each 3 values. If you choose 255,0,0 you will have the strongest red color possible.

Now in the COL section, add a new line at the bottom, and give it a # number that follows on from the very last color.

Make sure your new line does not have the same # number as any other line.

Once you have your new line ready, you can add a name for it on the right, similar to the other lines, but this is not necessary. You have now finished with the COL section.

Now we move onto the CAR and CAR4 sections. Find the vehicle you want your new color(s) to apply to. This vehicle should already have one or more pairs assigned to it. You can either remove these, or add your new pair to the end. Whichever you choose will make no difference, but don't forget the last number of the car's line must not have a comma ending it.

A pair can also have the same color in it twice, all this will do is match the primary and secondary colors together. Remember, many cars only make use of the primary color in a pair - the dff model file will need editing if you want the secondary color to function somewhere on a car. The secondary color (and perhaps tertiary and quaternary if using CAR4) can be set to anything should the model not actually have any materials assigned to those values.

Note: In San Andreas, having more than 179 colors will crash the game.

Links

Carcols

http://gtamodding.com

Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum