IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules Attention:

This is for the discussion and releasing of tutorials for modifying GTA. Anything that isn't a tutorial will be deleted without notification.

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Carcols.dat

 [Scripting | SA]
 
AndreONEz  
Posted: Wednesday, Oct 31 2007, 16:27
Quote Post


MSX FM Listener
Group Icon
Group: Members
Joined: Oct 26, 2007

it.gif

XXXXX



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
user posted image

to this one

user posted image

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 smile.gif

This post has been edited by AndreONEz on Thursday, Nov 1 2007, 09:45
Users WebsitePM
  Top
 

 
meraj07  
Posted: Tuesday, Dec 11 2007, 05:58
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 9, 2007

bg.gif

XXXXX



tnx
PM
  Top
 

 
gtamodguy  
Posted: Thursday, Jan 28 2010, 22:52
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Dec 31, 2009

XXXXX



can you upload the carcols.dat file? gta sa ultimate editor deleted it and I need it to install mods? I don't want to install it again but if thats what it takes then ok.
PM
  Top
 

 
Benzilla  
Posted: Friday, Jun 11 2010, 06:12
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Mar 28, 2007

XXXXX



Hey, I've been editing carcols for quite some time now, but one thing I can't get clear is how to reload it while running the game. I've heard to "press start on your controller" but I'm using a keyboard. Obviously in that case you'd think that Esc would reload it... but it doesn't. Could someone tip me off?

Thanks,

Ben
PM
  Top
 

 
Narcis_speed6  
Posted: Friday, Jun 11 2010, 10:13
Quote Post


The Saint
Group Icon
Group: The Connection
Joined: Feb 28, 2008

jolly-roger.gif

Member Award




gtamodguy- you just bumped a 3 years old topic, please check last post date before reply, and always remember to backup.
Benzilla- you can't, simply exit game and enter it again.
Users WebsitePM
  Top
 

 
jpm1  
Posted: Friday, Feb 17 2012, 00:29
Quote Post


Vice city citizen
Group Icon
Group: Members
Joined: Sep 26, 2005

fr.gif

XXXXX



Hi does it work the same in GTA IV ?
PM
  Top
 

 
fastman92  
Posted: Saturday, Feb 18 2012, 09:32
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



QUOTE (Benzilla @ Friday, Jun 11 2010, 07:12)
Hey, I've been editing carcols for quite some time now, but one thing I can't get clear is how to reload it while running the game. I've heard to "press start on your controller" but I'm using a keyboard. Obviously in that case you'd think that Esc would reload it... but it doesn't. Could someone tip me off?

Thanks,

Ben

http://www.gtaforums.com/index.php?showtop...st&p=1060885386
It reloads many files.

This post has been edited by fastman92 on Saturday, Feb 18 2012, 09:37
Users WebsitePMMSN
  Top
 

 
VercettiKiller  
Posted: Monday, Aug 6 2012, 01:38
Quote Post


Player Hater
Group Icon
Group: Members
Joined: May 29, 2012

XXXXX



great.... is like Vice City-GTA III carcol modification, i already did in my San Andreas game, i put this carcol...

0,120,250 141#Light Blue 1 Blue

(from 128 to 139 are from Jvt Special Colors)

When set it in a car, the color change from Blue to Green.

I know that Red=0 Green=120 Blue=250 but it change it to Green. What should i do?

i have repeated this process many times and nothing... what im doing wrong?

In the file says about Press the START Controller to reload the file during the game. What is that means? I have a Keyboard if is the ESC Button, when im going to press it or is another one?

This post has been edited by VercettiKiller on Monday, Aug 6 2012, 16:36
PM
  Top
 

 

0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG