Custom cars

From ACC Wiki (Unofficial)
Revision as of 06:18, 25 October 2019 by DiRTyDRiVER (talk | contribs)
Jump to navigation Jump to search
Other languages:
English

Preparation

This topic is an advanced section of Dedicated Server and LAN Server. Therefore, you should not go into this section until you are familiar with the Dedicated Server and LAN Server sections.

create File “entrylist.json”

create File “entrylist.json” in Folder “cfg”, with the following content:

{  "entries":[
{  "drivers": [
{  "playerID": "S765611xxxxxxxxxx1"}
              ],
		"overrideDriverInfo": 0,
		"overrideCarModelForCustomCar": 1,
		"customCar": "exampleCar.json",
},
{  "drivers": [
{  "playerID": "S765611xxxxxxxxxx2"}
              ],
		"overrideDriverInfo": 0,
		"overrideCarModelForCustomCar": 1,
		"customCar": "exampleCar2.json",
        }
   ]
 }
... description
playerID SteamID from Driver, insert an "S" in front of it
overrideDriverInfo If set to 1, the driver’s name and category will be overridden by what is setup in the entry list. If set to 0, it’s up to the client joining.
overrideCarModelForCustomCar If "customCar" is used, this setting will apply the car model configured if the value is set to 1 ( which is the default ). If set to 0, all values except the "carModelType" are applied, so the user is free to pick a car but while team name and appearance will be applied
customCar If set to a filename, the car, team and appearance will be used no matter what the user chose ( Exception: “overrideCarModelForCustomCar” ). This is useful for leagues and events, where we want consistent car appearance and the chosen car model for the corresponding driver/team. The custom car file has to be located in a “cars” folder next to the entrylist.json ( also works for centralEntryListPath ). Leave blank ( “” = default ) to let the user chose the car via car selection UI.

create File “exampleCar.json”

  • create a Folder “cars” in Folder “cfg”
  • create exampleCar.json-File in Folder “cars”, with the following content:
{
"raceNumber": 13,
"carModelType": 3,
"useEnduranceKit": 1,
"cupCategory": 0,	
"skinTemplateKey": 103,
"sponsorId": 15,
"auxLightKey": 1,
"auxLightColor": 67,
"skinColor1Id": 345,
"skinColor2Id": 200,
"skinColor3Id": 125,
"skinMaterialType1": 1,
"skinMaterialType2": 3,
"skinMaterialType3": 1,
"rimColor1Id": 345,
"rimColor2Id": 200,
"rimMaterialType1": 1,
"rimMaterialType2": 1,
"teamName": "My Team",
"displayName": "",
"competitorName": ""
}
... description
raceNumber set a firm starting number, from 1 to 998 possible
carModelType enter the corresponding ID for the vehicle model - Car ID's / Template ID's.

If the line "overrideCarModelForCustomCar" is in the entrylist.json and the value is set to "0", use vehicle from selection menu and all values ​​except "carModelType" are applied to it.

useEnduranceKit select Normal Bodykit = 0; Endurance-Bodykit = 1
cupCategory Driver drives in the Cup-Category: 0 = Alles ; 1 = ProAm ; 2 = Am ; 3 = Silver ; 4 = National
skinTemplateKey Choose a pattern for the selected vehicle model: Car ID's / Template ID's
sponsorId Premade logos of major sponsors
auxLightKey ...
auxLightColor ...
skinColor1Id select Base-Color for state coach: Color and Material IDs
skinColor2Id select second Color for state coach: Color and Material IDs
skinColor3Id select third Color for state coach: Color and Material IDs
rimColor1Id select Base-Color for rim: Color and Material IDs
rimColor1Id select second Color for rims ( ring ): Color and Material IDs
skinMaterialType1
skinMaterialType2
skinMaterialType3
rimMaterialType1
rimMaterialType2
Standard = 0 ; mat = 1 to 3 ; gloss = 4 to 6
teamName Enter the name of your team here. The name is displayed in the HUD ( F2 ) table- and broadcast-view. bottom right next to the start number.
displayName ..
competitorName ...

Create CarSkin

Car ID's / Template ID's

"carModelType": ; "skinTemplateKey": ;

Car ID Template ID 100 Template ID 101 Template ID 102 Template ID 103 Template ID 104
Porsche 991 GT3 0 Cars 0 100.jpg Cars 0 101.jpg Cars 0 102.jpg
Mercedes AMG GT3 1 Cars 1 100.jpg Cars 1 101.jpg Cars 1 102.jpg Cars 1 103.jpg Cars 1 104.jpg
Ferrari 488 GT3 2 Cars 2 100.jpg Cars 2 101.jpg Cars 2 102.jpg
Audi R8 GT3 2015 3 Cars 3 100.jpg Cars 3 101.jpg Cars 3 102.jpg Cars 3 103.jpg Cars 3 104.jpg
Lamborghini Huracan GT3 4 Cars 4 100.jpg Cars 4 101.jpg Cars 4 102.jpg
McLaren 650s GT3 5 Cars 5 100.jpg Cars 5 101.jpg Cars 5 102.jpg
Nissan GT-R Nismo GT3 2018 6 Cars 6 100.jpg Cars 6 101.jpg Cars 6 102.jpg
BMW M6 GT3 7 Cars 7 100.jpg Cars 7 101.jpg Cars 7 102.jpg
Bentley Continental GT3 2018 8 Cars 8 100.jpg Cars 8 101.jpg Cars 8 102.jpg
Porsche 991.2 GT3 Cup 9 Cars 9 100.jpg Cars 9 101.jpg Cars 9 102.jpg
Nissan GT-R Nismo GT3 2015 10 Cars 10 100.jpg Cars 10 101.jpg Cars 10 102.jpg
Bentley Continental GT3 2016 11 Cars 11 100.jpg Cars 11 101.jpg Cars 11 102.jpg
Aston Martin Vantage V12 GT3 12 Cars 12 100.jpg Cars 12 101.jpg Cars 12 102.jpg
Lamborghini Gallardo R-EX 13 Cars 13 100.jpg Cars 13 101.jpg Cars 13 102.jpg
Jaguar G3 14 Cars 14 100.jpg Cars 14 101.jpg
Lexus RC F GT3 15 currently no pattern available
Lamborghini Huracan Evo 2019 16 Carbon currently no pattern available
Honda NSX GT3 17 Cars 17 100.jpg Cars 17 101.jpg Cars 17 102.jpg
Lamborghini Huracan SuperTrofeo 18 Cars 18 100.jpg Cars 18 101.jpg Cars 18 102.jpg
Audi R8 LMS Evo 2019 19 Carbon currently no pattern available
AMR V8 Vantage 2019 20 Carbon currently no pattern available
Honda NSX Evo 2019 21 Carbon currently no pattern available
McLaren 720S GT3 Special 22 Standard Carbon currently no pattern available
Porsche 911 II GT3 R 2019 23 Carbon currently no pattern available

"sponsorid": ,

Sponsor Dark ID ID Light
not a sponsor Sponsor id 00.jpg 0 0 Sponsor id 0.jpg
Fanatec Sponsor id 1.jpg 1 2 Sponsor id 2.jpg
Thrustmaster Sponsor id 3.jpg 3 4 Sponsor id 4.jpg
Logitech Sponsor id 5.jpg 5 6 Sponsor id 6.jpg
Nvidia Sponsor id 7.jpg 7 8 Sponsor id 8.jpg
Sparco Gaming Sponsor id 9.jpg 9 10 Sponsor id 10.jpg
rseat Sponsor id 11.jpg 11 12 Sponsor id 12.jpg
AK Informatica Sponsor id 13.jpg 13 14 Sponsor id 14.jpg
Assetto Corsa Competizione Sponsor id 15.jpg 15 16 Sponsor id 16.jpg

Color and Material IDs

"skinColor1Id": ; skinColor2Id": ; skinColor3Id": ; "rimColor1Id": ; "rimColor2Id": ;
"skinMaterialType1": ; "skinMaterialType2": ; "skinMaterialType3": ; "rimMaterialType1": ; "rimMaterialType2": ;

There are 7 material ID's and 360 colors ID's. This results in a total number of possibilities of 2520.
All 1904 color/material images variants available so far can be found here. Here I show 7 colors for illustrative purposes.
( indirect light / Color-Picture = Audi / 7 PM / Zolder / CloudLevel: 0.2 [20%] )

Color ID Material ID 0 Material ID 1 Material ID 2 Material ID 3 Material ID 4 Material ID 5 Material ID 6
normal mat mat mat gloss chrome chrome
0 0_0 0_1 0_2 0_3 0_4 0_5 0_6
41 0_0 41_1 0_2 0_3 0_4 0_5 0_6
150 150_0 150_1 150_2 150_3 150_4 150_5 150_6
223 223_0 223_1 223_2 223_3 223_4 223_5 223_6
285 241_0 241_1 241_2 241_3 241_4 241_5 241_6
285 285_0 285_1 285_2 285_3 285_4 285_5 285_6
338 338_0 338_1 338_2 338_3 338_4 338_5 338_6