Strobe Modding
Welcome to our site! Please take a moment to register or if you already have an account, LOG IN now.
Strobe Modding
Welcome to our site! Please take a moment to register or if you already have an account, LOG IN now.
Strobe Modding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

 
 
HomeGalleryLatest imagesSearchRegisterLog in

 

 [TUT] Carcols Editing

Go down 
AuthorMessage
Reckless
Admin
Reckless


Posts : 74
Join date : 2012-03-19
Age : 29
Location : Los Angeles, CA

[TUT] Carcols Editing Empty
PostSubject: [TUT] Carcols Editing   [TUT] Carcols Editing Icon_minitimeFri Mar 23, 2012 2:29 pm

Well,I decided to do a quick tutorial for carcols.dat editing...

Part 1
Carcols.dat (Program files/Rockstar Games/GTA San Andreas/data/) manages vehicles' colors.It can be edited by text editors like Notepad.Once you open it,you'll see something like this:


CODE
0,0,0 # 0 black black

that mean 0=Red,0=Green,0=Blue
# 0 black=color id name
black=hue I think

So,it uses RGB scale.Here you can find a list of most used colors (see the RGB Value column).

Example:I want to change this color
[TUT] Carcols Editing Paint6gg9.th

to this one

[TUT] Carcols Editing Paint7pz4.th

Now,I search for 4th color (ID 3,because they start from 0) and I change its value from this

CODE
132,4,16
to this

CODE
255,0,0

Close and save it.

Part 2


If you scroll down you'll see something like this:

CODE
admiral, 34,34, 35,35, 37,37, 39,39, 41,41, 43,43, 45,45, 47,47
Well,it means it's an Admiral,and it has 1/8 of chances to being the 34th colour,another 1/8 to being the 35th etc...So it could be something like:

CODE
carmodelname, color1,color1, color2,color2, color3,color3 etc...

For two-colours cars (like Cops,Ambulance,etc) it's a bit different.Infact,they have only one chance to be two colours.Let's see LS Cop Car (copcarla):

CODE
copcarla, 0,1
It means it has one chance to being black and white (0=black color ID,1=white color ID).Don't add more chances to these ones,they may crash!

This little tutorial finished for the moment,but there are some things you gotta know:

  • colours are 126.They're used with street's cars,but only 64 are used for garages.
  • may you can edit it while game is running,without crash.
  • you can change colors' name as you want.
That's all!I wanna thank Automan for 2nd part helping!

PS:Sorry for my really bad english [TUT] Carcols Editing Smile
Back to top Go down
http://strobemodding.nstars.org
 
[TUT] Carcols Editing
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Strobe Modding :: GTA SA Modding :: GTA SA Tool Box-
Jump to: