What's new

Discussion Car Colours Release

  • Thread starter Cathering
  • Start date
  • Views 10,747
C

Cathering

Getting There
Messages
1,111
Reaction score
558
This was meant for release in 6.0, i.e. private material turned public. As some people have discovered it we figured that we should release it now, before the truth becomes twisted, the first person to discover this was at GTA IV Modding Russia: http://translate.google.co.uk/translate?hl=en&sl=ru&u=http://www.gtamodding.ru/&ei=I99jTtGXNMeBhQf4-92uCg&sa=X&oi=translate&ct=result&resnum=1&ved=0CCAQ7gEwAA&prev=/search%3Fq%3Dgta%2Bmodding%2Bru%26hl%3Den%26client%3Dfirefox-a%26hs%3Drve%26rls%3Dorg.mozilla:en-GB:official%26biw%3D1366%26bih%3D664%26prmd%3Divns (English translation) therefore the person deserving of credit is Solom of GTA Modding RU (person who added the information about car colours into the page).

The little gem in that page is this (which documents the names of each column for the stream section/parked car section for the XPL):
Code:
Size: 56 bytes
4b - FLOAT - X
4b - FLOAT - Y
4b - FLOAT - Z
4b - FLOAT - Unknown
4b - FLOAT - Rotation
4b - FLOAT - Rotation
4b - UINT32 - Model name hash
4b - INT32 - Car color 1
4b - INT32 - Car color 2
4b - INT32 - Car color 3
4b - INT32 - Specular color
4b - INT32 - Flags
4b - INT32 - Alarm
4b - INT32 - Unknown
Take note of the "Car color 1", "Car color 2", "Car color 3" and "Specular color" column names.

What does this translate to?
It means while using the Dageron placement editor, the following columns in the stream section are of great interest:
colorsz.png

They follow in order: Car color 1, Car color 2, Car color 3, Specular color.

They are usually set to -1 but changing them should make the specified vehicle always spawn with a specific colour.

How do they work?
  • A -1 value means a random selection of colour.
  • Any other values mean a specific colour index as defined in carcols.dat.
  • All values 1, 2, 3 and the specular must either all be random or have proper colour indexes, you can not have one random and one as a proper index at the same time.
Credits
  • Solom of GTA Modding RU.
Additions
So we do this while map modding and we only get 3 colors?
You have misunderstood, in the stream section there is four columns, unknown 8, 9, 10, 11, they all represent a specific colour, as named: colour 1, colour 2, colour 3, specular. You can assign each car these values.

means the car you spawn can have 1 color, if I'm right on this.

say you want your chopper to be white, you just put a white color in the slots cathering has said like...

this is to get white.
color1:255 color2:255 color3:255

Hope that is right.
Incorrect, it would be: 133, 133, 133 (I believe you may skip the third colour if the vehicle does not have a third colour), 133 to get full white.

If you want a white annihilator then put 133,133,133,0. Always keep the 4th 0 even if it's not use, just to be safe. Look at the carcols.dat colors for colors you want to use, that everyone can see.


Colour index reference from carcols.dat
Image:
capture.png

Textual:
Code:
col
#BLACK's
10,10,10,-,black			# 0 black				
37,37,39,-,black			# 1 black poly				
#GREYS/SILVERS
101,106,121,-,grey			# 2 concord blue poly			
88,89,90,dark,grey			# 3 pewter gray poly			
156,161,163,-,silver			# 4 silver stone poly			
150,145,140,-,silver			# 5 winning silver poly			
81,84,89,dark,grey			# 6 steel gray poly			
63,62,69,dark,grey			# 7 shadow silver poly			
165,169,167,-,silver			# 8 silver stone poly			
151,149,146,-,silver			# 9 porcelain silver poly		
118,123,124,-,grey			# 10 gray poly				
90,87,82,dark,graphite			# 11 anthracite gray poly		
173,176,176,-,silver			# 12 astra silver poly			
132,137,136,light,grey			# 13 ascot gray				
148,157,159,-,grey			# 14 clear crystal blue frost poly	
164,167,165,-,silver			# 15 silver poly			
88,88,83,dark,graphite			# 16 dk.titanium poly			
164,160,150,light,graphite			# 17 titanium frost poly		
175,177,177,-,white			# 18 police white			
109,108,110,-,grey			# 19 medium gray poly			
100,104,106,-,grey			# 20 med.gray poly			
82,86,97,dark,grey			# 21 steel gray poly			
140,146,154,-,grey			# 22 slate gray				
91,93,94,-,graphite			# 23 gun metal poly			
189,190,198,light,grey			# 24 light blue grey			
182,182,182,-,white			# 25 securicor light gray		
100,100,100,-,grey			# 26 arctic white			

#RED
226,6,6,bright,red			# 27 very red				
150,8,0,-,red				# 28 torino red pearl			
107,0,0,-,red				# 29 formula red			
97,16,9,-,red				# 30 blaze red				
74,10,10,-,red				# 31 graceful red mica			
115,11,11,-,red				# 32 garnet red poly			
87,7,7,-,red				# 33 desert red				
38,3,6,dark,red				# 34 cabernet red poly			
158,0,0,-,GrottiRed				# 35 turismo red			
20,0,2,dark,red				# 36 desert red				
15,4,4,dark,red				# 37 currant red solid			
15,8,10,dark,red			# 38 brt.currant red poly		
57,25,29,-,red				# 39 elec.currant red poly		
85,39,37,-,red				# 40 med.cabernet solid			
76,41,41,-,red				# 41 wild strawberry poly		
116,29,40,-,red				# 42 med.red solid			
109,40,55,bright,red			# 43 bright red				
115,10,39,bright,pink			# 44 bright red				
100,13,27,-,red				# 45 med.garnet red poly		
98,11,28,bright,red			# 46 brilliant red poly			
115,24,39,bright,red			# 47 brilliant red poly2		
171,152,143,light,pink			# 48 alabaster solid			
32,32,44,dark,blue			# 49 twilight blue poly			

#GREEN
68,98,79,-,green			# 50 torch red				
46,91,32,-,green			# 51 green				
30,46,50,dark,green			# 52 deep jewel green			
48,79,69,dark,green			# 53 agate green			
77,98,104,light,blue			# 54 petrol blue green poly		
94,112,114,-,green			# 55 hoods				
25,56,38,dark,green			# 56 green				
45,58,53,dark,green			# 57 dark green poly			
51,95,63,-,green			# 58 rio red				
71,120,60,bright,green			# 59 securicor dark green		
147,163,150,light,green			# 60 seafoam poly			
154,167,144,light,beige			# 61 pastel alabaster solid		

#BLUE
38,55,57,dark,blue			# 62 midnight blue			 
76,117,183,bright,blue			# 63 striking blue			 
70,89,122,-,blue			# 64 saxony blue poly			
93,126,141,light,blue			# 65 jasper green poly			
59,78,120,-,blue			# 66 mariner blue			
61,74,104,-,blue			# 67 harbor blue poly			
109,122,136,light,blue			# 68 diamond blue poly			
22,34,72,dark,blue			# 69 surf blue				
39,47,75,dark,blue			# 70 nautical blue poly			
78,104,129,-,blue			# 71 lt.crystal blue poly		
106,122,140,light,blue			# 72 med regatta blue poly		
111,130,151,light,blue			# 73 spinnaker blue solid		
14,49,109,-,blue			# 74 ultra blue poly			
57,90,131,light,blue			# 75 bright blue poly			
32,75,107,-,blue			# 76 nassau blue poly			
43,62,87,-,blue				# 77 med.sapphire blue poly		
54,65,85,-,blue				# 78 steel blue poly			
108,132,149,-,blue			# 79 lt.sapphire blue poly		
77,93,96,-,blue				# 80 malachite poly			
64,108,143,-,blue			# 81 med.maui blue poly			
19,69,115,bright,blue			# 82 bright blue poly			
16,80,130,bright,blue			# 83 bright blue poly			
56,86,148,-,blue			# 84 blue				
0,28,50,dark,blue			# 85 dk.sapphire blue poly		
89,110,135,light,blue			# 86 lt.sapphire blue poly		
34,52,87,-,blue				# 87 med.sapphire blue firemist		
32,32,44,dark,blue			# 88 twilight blue poly			

#YELLOW
245,137,15,-,yellow			# 89 taxi yellow			
145,115,71,-,yellow			# 90 race yellow solid			
142,140,70,-,yellow			# 91 pastel alabaster			
170,173,142,light,yellow			# 92 oxford white solid			
174,155,127,-,yellow			# 93 flax				
150,129,108,-,yellow			# 94 med.flax				
122,117,96,-,beige			# 95 pueblo beige			
157,152,114,light,yellow			# 96 light ivory			
152,149,134,light,beige			# 97 smoke silver poly			
156,141,113,-,yellow			# 98 bisque frost poly			

#ORANGE

#PURPLE
105,30,59,-,pink			# 99 classic red			
114,42,63,dark,pink			# 100 vermilion solid			
124,27,68,bright,pink			# 101 vermillion solid			

#BROWN
34,25,24,-,brown			# 102 biston brown poly			
127,105,86,light,brown			# 103 lt.beechwood poly			
71,53,50,dark,brown			# 104 dk.beechwood poly			
105,88,83,light,brown			# 105 dk.sable poly			
98,68,40,-,brown			# 106 med.beechwood poly		
125,98,86,light,brown			# 107woodrose poly			
170,157,132,light,beige			# 108 sandalwood frost poly		
123,113,94,-,brown			# 109 med.sandalwood poly		
171,146,118,-,beige			# 110 copper beige			
99,92,90,-,brown			# 111 warm grey mica			

#WHITE
201,201,201,-,white			# 112 white				
214,218,214,-,white			# 113 frost white			
159,157,148,-,beige			# 114 honey beige poly			
147,163,150,-,white			# 115 seafoam poly			
156,156,152,-,white			# 116 lt.titanium poly			
167,162,143,-,white			# 117 lt.champagne poly			
15,106,137,light,blue			# 118 arctic pearl			

161,153,131,-,white			# 119 lt.driftwood poly			
163,173,198,-,white			# 120 white diamond pearl		
155,139,128,-,beige			# 121 antelope beige			
132,148,171,light,blue			# 122 currant blue poly			 
158,164,171,-,white			# 123 crystal blue poly			 
#PURPLE

#SPEC FLIP COLOURS
134,68,110,-,pink			# 124 temple curtain purple		
226,6,6,-,red				# 125 cherry red			
71,120,60,light,green			# 126 securicor dark green		
215,142,16,-,yellow			# 127 taxi yellow			
42,119,161,-,blue			# 128 police car blue			

#MSC
66,31,33,dark,brown			# 129 mellow burgundy			
111,103,95,-,brown			# 130 desert taupe poly			
252,38,0,bright,orange			# 131 lammy orange
252,109,0,-,yellow			# 132 lammy yellow
255,255,255,-,white			# 133 very white

#NEW COLOURS's
245,180,0,-,yellow			# 134 SuperD yellow
5,5,5,-,black				# 135 black
189,149,75,-,gold			# 136 Gold	
end

Do not PM me.
 
T

tim008

Retired Diet Mod
Retired
Messages
9,292
Reaction score
1,869
Seperates the modders from the bullsh*tters!
 
G

gta4pilot

Enthusiast
Messages
392
Reaction score
29
This was meant for release in 6.0, i.e. private material turned public. As some people have discovered it we figured that we should release it now, before the truth becomes twisted, the first person to discover this was at GTA IV Modding Russia: http://translate.google.co.uk/translate?hl=en&sl=ru&u=http://www.gtamodding.ru/&ei=I99jTtGXNMeBhQf4-92uCg&sa=X&oi=translate&ct=result&resnum=1&ved=0CCAQ7gEwAA&prev=/search%3Fq%3Dgta%2Bmodding%2Bru%26hl%3Den%26client%3Dfirefox-a%26hs%3Drve%26rls%3Dorg.mozilla:en-GB:official%26biw%3D1366%26bih%3D664%26prmd%3Divns (English translation) therefore the person deserving of credit is Solom of GTA Modding RU (person who added the information about car colours into the page).

The little gem in that page is this (which documents the names of each column for the stream section/parked car section for the XPL):
Code:
Size: 56 bytes
4b - FLOAT - X
4b - FLOAT - Y
4b - FLOAT - Z
4b - FLOAT - Unknown
4b - FLOAT - Rotation
4b - FLOAT - Rotation
4b - UINT32 - Model name hash
4b - INT32 - Car color 1
4b - INT32 - Car color 2
4b - INT32 - Car color 3
4b - INT32 - Specular color
4b - INT32 - Flags
4b - INT32 - Alarm
4b - INT32 - Unknown
Take note of the "Car color 1", "Car color 2", "Car color 3" and "Specular color" column names.

What does this translate to?
It means while using the Dageron placement editor, the following columns in the stream section are of great interest:
colorsz.png

They follow in order: Car color 1, Car color 2, Car color 3, Specular color.

They are usually set to -1 but changing them should make the specified vehicle always spawn with a specific colour.

How do they work?
  • A -1 value means a random selection of colour.
  • Any other values mean a specific colour index as defined in carcols.dat.
  • All values 1, 2, 3 and the specular must either all be random or have proper colour indexes, you can not have one random and one as a proper index.
Credits
  • Solom of GTA Modding RU.
nice
 
M

Mark Winters

Enthusiast
Messages
636
Reaction score
90
Nice release. :smile:
 
P

parkieto

Enthusiast
Messages
193
Reaction score
4
whoo that is to mutch for me can it :blink: not be a simple releas
 
Z

xXI RoGuE IXx

Enthusiast
Messages
939
Reaction score
184
This was meant for release in 6.0, i.e. private material turned public. As some people have discovered it we figured that we should release it now, before the truth becomes twisted, the first person to discover this was at GTA IV Modding Russia: http://translate.google.co.uk/translate?hl=en&sl=ru&u=http://www.gtamodding.ru/&ei=I99jTtGXNMeBhQf4-92uCg&sa=X&oi=translate&ct=result&resnum=1&ved=0CCAQ7gEwAA&prev=/search%3Fq%3Dgta%2Bmodding%2Bru%26hl%3Den%26client%3Dfirefox-a%26hs%3Drve%26rls%3Dorg.mozilla:en-GB:official%26biw%3D1366%26bih%3D664%26prmd%3Divns (English translation) therefore the person deserving of credit is Solom of GTA Modding RU (person who added the information about car colours into the page).

The little gem in that page is this (which documents the names of each column for the stream section/parked car section for the XPL):
Code:
Size: 56 bytes
4b - FLOAT - X
4b - FLOAT - Y
4b - FLOAT - Z
4b - FLOAT - Unknown
4b - FLOAT - Rotation
4b - FLOAT - Rotation
4b - UINT32 - Model name hash
4b - INT32 - Car color 1
4b - INT32 - Car color 2
4b - INT32 - Car color 3
4b - INT32 - Specular color
4b - INT32 - Flags
4b - INT32 - Alarm
4b - INT32 - Unknown
Take note of the "Car color 1", "Car color 2", "Car color 3" and "Specular color" column names.

What does this translate to?
It means while using the Dageron placement editor, the following columns in the stream section are of great interest:
colorsz.png

They follow in order: Car color 1, Car color 2, Car color 3, Specular color.

They are usually set to -1 but changing them should make the specified vehicle always spawn with a specific colour.

How do they work?
  • A -1 value means a random selection of colour.
  • Any other values mean a specific colour index as defined in carcols.dat.
  • All values 1, 2, 3 and the specular must either all be random or have proper colour indexes, you can not have one random and one as a proper index at the same time.
Credits
  • Solom of GTA Modding RU.

This is great, but how would we go about making them have multiple colours because by the looks of what you said means if we put certain numbers is it will only spawn that colour, or a certain number so it makes it read the carcols.dat. how would we go about making it spawns a good set of custom colours?
 
R

ROBATOREMODZ

Banned
Messages
1,283
Reaction score
104
So we do this while map modding and we only get 3 colors?
 
C

Cathering

Getting There
Messages
1,111
Reaction score
558
So we do this while map modding and we only get 3 colors?
You have misunderstood, in the stream section there is four columns, unknown 8, 9, 10, 11, they all represent a specific colour, as named: colour 1, colour 2, colour 3, specular. You can assign each car these values.
 
R

ROBATOREMODZ

Banned
Messages
1,283
Reaction score
104
This is great, but how would we go about making them have multiple colours because by the looks of what you said means if we put certain numbers is it will only spawn that colour, or a certain number so it makes it read the carcols.dat. how would we go about making it spawns a good set of custom colours?
thats what im saying cause look at 8:56


You have misunderstood, in the stream section there is four columns, unknown 8, 9, 10, 11, they all represent a specific colour, as named: colour 1, colour 2, colour 3, specular. You can assign each car these values.
oh ok i got it lol thanks for explaining
 
I

iTzZ Fenix

Getting There
Messages
1,020
Reaction score
136
This was meant for release in 6.0, i.e. private material turned public. As some people have discovered it we figured that we should release it now, before the truth becomes twisted, the first person to discover this was at GTA IV Modding Russia: http://translate.google.co.uk/translate?hl=en&sl=ru&u=http://www.gtamodding.ru/&ei=I99jTtGXNMeBhQf4-92uCg&sa=X&oi=translate&ct=result&resnum=1&ved=0CCAQ7gEwAA&prev=/search%3Fq%3Dgta%2Bmodding%2Bru%26hl%3Den%26client%3Dfirefox-a%26hs%3Drve%26rls%3Dorg.mozilla:en-GB:official%26biw%3D1366%26bih%3D664%26prmd%3Divns (English translation) therefore the person deserving of credit is Solom of GTA Modding RU (person who added the information about car colours into the page).

The little gem in that page is this (which documents the names of each column for the stream section/parked car section for the XPL):
Code:
Size: 56 bytes
4b - FLOAT - X
4b - FLOAT - Y
4b - FLOAT - Z
4b - FLOAT - Unknown
4b - FLOAT - Rotation
4b - FLOAT - Rotation
4b - UINT32 - Model name hash
4b - INT32 - Car color 1
4b - INT32 - Car color 2
4b - INT32 - Car color 3
4b - INT32 - Specular color
4b - INT32 - Flags
4b - INT32 - Alarm
4b - INT32 - Unknown
Take note of the "Car color 1", "Car color 2", "Car color 3" and "Specular color" column names.

What does this translate to?
It means while using the Dageron placement editor, the following columns in the stream section are of great interest:
colorsz.png

They follow in order: Car color 1, Car color 2, Car color 3, Specular color.

They are usually set to -1 but changing them should make the specified vehicle always spawn with a specific colour.

How do they work?
  • A -1 value means a random selection of colour.
  • Any other values mean a specific colour index as defined in carcols.dat.
  • All values 1, 2, 3 and the specular must either all be random or have proper colour indexes, you can not have one random and one as a proper index at the same time.
Credits
  • Solom of GTA Modding RU.
MoreYou have misunderstood, in the stream section there is four columns, unknown 8, 9, 10, 11, they all represent a specific colour, as named: colour 1, colour 2, colour 3, specular. You can assign each car these values.

Awesome! Thanks for this!
 
D

DONTxMESSxABOUT

Enthusiast
Messages
1,418
Reaction score
256
nice release i will be using this :thumbup:
 
C

Cathering

Getting There
Messages
1,111
Reaction score
558
This is great, but how would we go about making them have multiple colours because by the looks of what you said means if we put certain numbers is it will only spawn that colour, or a certain number so it makes it read the carcols.dat. how would we go about making it spawns a good set of custom colours?
You will have to spawn lots of different spawns and make them each a unique colour, there is no way around this.
 
D

DannyDarthtk

Enthusiast
Messages
1,414
Reaction score
281
means the car you spawn can have 1 color, if I'm right on this.

say you want your chopper to be white, you just put a white color in the slots cathering has said like...

this is to get white.
color1:255 color2:255 color3:255

Hope that is right.
 
C

Cathering

Getting There
Messages
1,111
Reaction score
558
means the car you spawn can have 1 color, if I'm right on this.

say you want your chopper to be white, you just put a white color in the slots cathering has said like...

this is to get white.
color1:255 color2:255 color3:255

Hope that is right.
Incorrect, it would be: 133, 133, 133 (I believe you may skip the third colour if the vehicle does not have a third colour), 133 to get full white.
 
D

DannyDarthtk

Enthusiast
Messages
1,414
Reaction score
281
ahh i see and in order to spawn more then once color you have to make more then 1 spawn.
 
Top Bottom