Difference between revisions of "Custom cars"

From ACC Wiki (Unofficial)
Jump to navigation Jump to search
(Marked this version for translation)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages />
+
<span style="color:red; font-size:20px;">New Site !!!</span> https://wiki.acc.nonameweb.ch/wiki/ACC_Custom_Cars
<translate>
 
== Custom Car for Singleplayer == <!--T:14-->
 
You can put together your own car, then look at it in the showroom and use it in a singleplayer.
 
* got to \ Documents \ Assetto Corsa Competizione \Customs \ Cars
 
* create File exampleCar.json ''( or others Name )''
 
* continue as below [[Custom_cars#Create_CarSkin|Create_CarSkin]]
 
 
 
== Custom Car for Multiplayer == <!--T:1-->
 
This topic is an advanced section of [[Dedicated-Servers|Dedicated Server]] and [[Create your LAN-Server|LAN Server]]. Therefore, you should not go into this section until you are familiar with the [[Dedicated-Servers|Dedicated Server]] and [[Create your LAN-Server|LAN Server]] sections.
 
 
 
=== create File “entrylist.json” === <!--T:15-->
 
create File “entrylist.json” in Folder “cfg”, with the following content:
 
 
 
<!--T:3-->
 
<source lang=json>
 
{  "entries":[
 
{  "drivers": [
 
{  "playerID": "S765611xxxxxxxxxx1"}
 
              ],
 
"overrideDriverInfo": 0,
 
"overrideCarModelForCustomCar": 1,
 
"customCar": "exampleCar.json",
 
},
 
{  "drivers": [
 
{  "playerID": "S765611xxxxxxxxxx2"}
 
              ],
 
"overrideDriverInfo": 0,
 
"overrideCarModelForCustomCar": 1,
 
"customCar": "exampleCar2.json",
 
        }
 
  ]
 
}
 
</source>
 
{| class="wikitable"
 
|-
 
! ... !! 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” === <!--T:4-->
 
* create a Folder “cars” in Folder “cfg”
 
* create exampleCar.json-File in Folder “cars”, with the following content:
 
<source lang=json>
 
{
 
"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": ""
 
}
 
</source>
 
{| class="wikitable"
 
|-
 
! ... !! description
 
|-
 
| raceNumber || set a firm starting number, from 1 to 998 possible
 
|-
 
| carModelType || enter the corresponding ID for the vehicle model -  [[Custom_cars#Car_ID.27s_.2F_Template_ID.27s|<b>Car ID's / Template ID's</b>]].</br>
 
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: [[Custom_cars#Car_ID.27s_.2F_Template_ID.27s|<b>Car ID's / Template ID's</b>]]
 
|-
 
| sponsorId || Premade logos of major sponsors
 
|-
 
| auxLightKey || ...
 
|-
 
| auxLightColor || ...
 
|-
 
| skinColor1Id || select Base-Color for state coach: [[Custom_cars#Color_and_Material_IDs|<b>Color and Material IDs</b>]]
 
|-
 
| skinColor2Id || select second Color for state coach: [[Custom_cars#Color_and_Material_IDs|<b>Color and Material IDs</b>]]
 
|-
 
| skinColor3Id || select third Color for state coach: [[Custom_cars#Color_and_Material_IDs|<b>Color and Material IDs</b>]]
 
|-
 
| rimColor1Id || select Base-Color for rim: [[Custom_cars#Color_and_Material_IDs|<b>Color and Material IDs</b>]]
 
|-
 
| rimColor1Id || select second Color for rims ''( ring )'': [[Custom_cars#Color_and_Material_IDs|<b>Color and Material IDs</b>]]
 
|-
 
| skinMaterialType1</br>skinMaterialType2</br>skinMaterialType3</br>rimMaterialType1</br>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 == <!--T:5-->
 
 
 
=== Car ID's / Template ID's === <!--T:6-->
 
<code>"carModelType": ; "skinTemplateKey": ;</code>
 
 
 
<!--T:7-->
 
{| class="wikitable sortable"
 
|-
 
! Car !! ID  !! Template ID 100 !! Template ID 101 !! Template ID 102 !! Template ID 103 !! Template ID 104
 
|-
 
| '''Porsche 991 GT3''' || '''0''' || [[File:Cars 0 100.jpg|150px]] || [[File:Cars 0 101.jpg|150px]] || [[File:Cars 0 102.jpg|150px]]
 
|-
 
| '''Mercedes AMG GT3''' || '''1''' || [[File:Cars 1 100.jpg|150px]] || [[File:Cars 1 101.jpg|150px]] || [[File:Cars 1 102.jpg|150px]] || [[File:Cars 1 103.jpg|150px]] || [[File:Cars 1 104.jpg|150px]]
 
|-
 
| '''Ferrari 488 GT3''' || '''2''' || [[File:Cars 2 100.jpg|150px]] || [[File:Cars 2 101.jpg|150px]] || [[File:Cars 2 102.jpg|150px]]
 
|-
 
| '''Audi R8 GT3 2015''' || '''3''' || [[File:Cars 3 100.jpg|150px]] || [[File:Cars 3 101.jpg|150px]] || [[File:Cars 3 102.jpg|150px]] || [[File:Cars 3 103.jpg|150px]] || [[File:Cars 3 104.jpg|150px]]
 
|-
 
| '''Lamborghini Huracan GT3''' || '''4''' || [[File:Cars 4 100.jpg|150px]] || [[File:Cars 4 101.jpg|150px]] || [[File:Cars 4 102.jpg|150px]]
 
|-
 
| '''McLaren 650s GT3''' || '''5''' || [[File:Cars 5 100.jpg|150px]] || [[File:Cars 5 101.jpg|150px]] || [[File:Cars 5 102.jpg|150px]]
 
|-
 
| '''Nissan GT-R Nismo GT3 2018''' || '''6''' || [[File:Cars 6 100.jpg|150px]] || [[File:Cars 6 101.jpg|150px]] || [[File:Cars 6 102.jpg|150px]]
 
|-
 
| '''BMW M6 GT3''' || '''7''' || [[File:Cars 7 100.jpg|150px]] || [[File:Cars 7 101.jpg|150px]] || [[File:Cars 7 102.jpg|150px]]
 
|-
 
| '''Bentley Continental GT3 2018''' || '''8''' || [[File:Cars 8 100.jpg|150px]] || [[File:Cars 8 101.jpg|150px]] || [[File:Cars 8 102.jpg|150px]]
 
|-
 
| '''Porsche 991.2 GT3 Cup''' || '''9''' || [[File:Cars 9 100.jpg|150px]] || [[File:Cars 9 101.jpg|150px]] || [[File:Cars 9 102.jpg|150px]]
 
|-
 
| '''Nissan GT-R Nismo GT3 2015''' || '''10''' || [[File:Cars 10 100.jpg|150px]] || [[File:Cars 10 101.jpg|150px]] || [[File:Cars 10 102.jpg|150px]]
 
|-
 
| '''Bentley Continental GT3 2016''' || '''11''' || [[File:Cars 11 100.jpg|150px]] || [[File:Cars 11 101.jpg|150px]] || [[File:Cars 11 102.jpg|150px]]
 
|-
 
| '''Aston Martin Vantage V12 GT3''' || '''12''' || [[File:Cars 12 100.jpg|150px]] || [[File:Cars 12 101.jpg|150px]] || [[File:Cars 12 102.jpg|150px]]
 
|-
 
| '''Lamborghini Gallardo R-EX''' || '''13''' || [[File:Cars 13 100.jpg|150px]] || [[File:Cars 13 101.jpg|150px]] || [[File:Cars 13 102.jpg|150px]]
 
|-
 
| '''Jaguar G3''' || '''14''' || [[File:Cars 14 100.jpg|150px]] || [[File:Cars 14 101.jpg|150px]]
 
|-
 
| '''Lexus RC F GT3''' || '''15''' ||colspan="5"| <span style="color:red;">currently no pattern available</span>
 
|-
 
| '''Lamborghini Huracan Evo 2019''' || '''16''' || Carbon ||colspan="4"| <span style="color:red;">currently no pattern available</span>
 
|-
 
| '''Honda NSX GT3''' || '''17''' || [[File:Cars 17 100.jpg|150px]] || [[File:Cars 17 101.jpg|150px]] || [[File:Cars 17 102.jpg|150px]]
 
|-
 
| '''Lamborghini Huracan SuperTrofeo''' || '''18''' || [[File:Cars 18 100.jpg|150px]] || [[File:Cars 18 101.jpg|150px]] || [[File:Cars 18 102.jpg|150px]]
 
|-
 
| '''Audi R8 LMS Evo 2019''' || '''19''' || Carbon ||colspan="4"| <span style="color:red;">currently no pattern available</span>
 
|-
 
| '''AMR V8 Vantage 2019''' || '''20''' || Carbon ||colspan="4"| <span style="color:red;">currently no pattern available</span>
 
|-
 
| '''Honda NSX Evo 2019''' || '''21''' || Carbon ||colspan="4"| <span style="color:red;">currently no pattern available</span>
 
|-
 
| '''McLaren 720S GT3 Special''' || '''22''' || Standard || Carbon ||colspan="4"| <span style="color:red;">currently no pattern available</span>
 
|-
 
| '''Porsche 911 II GT3 R 2019''' || '''23''' || Carbon ||colspan="4"| <span style="color:red;">currently no pattern available</span>
 
|}
 
 
 
=== Sponsor ID's === <!--T:8-->
 
 
 
<!--T:9-->
 
<code>"sponsorid": ,</code>
 
 
 
<!--T:10-->
 
{| class="wikitable sortable"
 
|-
 
! Sponsor !! Dark !! ID !! ID !! Light
 
|-
 
| not a sponsor || [[File:Sponsor id 00.jpg|Sponsor id 00.jpg]] || 0 || 0 || [[File:Sponsor id 0.jpg|Sponsor id 0.jpg]]
 
|-
 
| '''Fanatec''' || [[File:Sponsor id 1.jpg|Sponsor id 1.jpg]] || 1 || 2 || [[File:Sponsor id 2.jpg|Sponsor id 2.jpg]]
 
|-
 
| '''Thrustmaster''' || [[File:Sponsor id 3.jpg|Sponsor id 3.jpg]] || 3 || 4 || [[File:Sponsor id 4.jpg|Sponsor id 4.jpg]]
 
|-
 
| '''Logitech''' || [[File:Sponsor id 5.jpg|Sponsor id 5.jpg]] || 5 || 6 || [[File:Sponsor id 6.jpg|Sponsor id 6.jpg]]
 
|-
 
| '''Nvidia''' || [[File:Sponsor id 7.jpg|Sponsor id 7.jpg]] || 7 || 8 || [[File:Sponsor id 8.jpg|Sponsor id 8.jpg]]
 
|-
 
| '''Sparco Gaming''' || [[File:Sponsor id 9.jpg|Sponsor id 9.jpg]] || 9 || 10 || [[File:Sponsor id 10.jpg|Sponsor id 10.jpg]]
 
|-
 
| '''rseat''' || [[File:Sponsor id 11.jpg|Sponsor id 11.jpg]] || 11 || 12 || [[File:Sponsor id 12.jpg|Sponsor id 12.jpg]]
 
|-
 
| '''AK Informatica''' || [[File:Sponsor id 13.jpg|Sponsor id 13.jpg]] || 13 || 14 || [[File:Sponsor id 14.jpg|Sponsor id 14.jpg]]
 
|-
 
| '''Assetto Corsa Competizione''' || [[File:Sponsor id 15.jpg|Sponsor id 15.jpg]] || 15 || 16 || [[File:Sponsor id 16.jpg|Sponsor id 16.jpg]]
 
|}
 
 
 
=== Color and Material IDs === <!--T:11-->
 
<code>"skinColor1Id": ;  skinColor2Id": ; skinColor3Id": ; "rimColor1Id": ; "rimColor2Id": ;</br>
 
"skinMaterialType1": ; "skinMaterialType2": ; "skinMaterialType3": ; "rimMaterialType1": ; "rimMaterialType2": ;</code>
 
 
 
<!--T:12-->
 
There are 7 material ID's and 360 colors ID's. This results in a total number of possibilities of 2520.</br>
 
[https://docs.google.com/document/d/1u7SYu1pnZvP_luig8ebTcK7vM-YZq5t2MMq9mwgKEck/ All 1904 color/material images variants available so far can be found here.]
 
Here I show 7 colors for illustrative purposes.</br>
 
( indirect light / Color-Picture = Audi / 7 PM / Zolder / CloudLevel: 0.2 [20%] )
 
 
 
<!--T:13-->
 
{| class="wikitable"
 
|-
 
! 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''' || [[File:0_0.jpg|0_0]] || [[File:0_1.jpg|0_1]] || [[File:0_2.jpg|0_2]] || [[File:0_3.jpg|0_3]] || [[File:0_4.jpg|0_4]] || [[File:0_5.jpg|0_5]] || [[File:0_6.jpg|0_6]]
 
|-
 
| '''41''' || [[File:41_0.jpg|0_0]] || [[File:41_1.jpg|41_1]] || [[File:41_2.jpg|0_2]] || [[File:41_3.jpg|0_3]] || [[File:41_4.jpg|0_4]] || [[File:41_5.jpg|0_5]] || [[File:41_6.jpg|0_6]]
 
|-
 
| '''150''' || [[File:150_0.jpg|150_0]] || [[File:150_1.jpg|150_1]] || [[File:150_2.jpg|150_2]] || [[File:150_3.jpg|150_3]] || [[File:150_4.jpg|150_4]] || [[File:150_5.jpg|150_5]] || [[File:150_6.jpg|150_6]]
 
|-
 
| '''223''' || [[File:223_0.jpg|223_0]] || [[File:223_1.jpg|223_1]] || [[File:223_2.jpg|223_2]] || [[File:223_3.jpg|223_3]] || [[File:223_4.jpg|223_4]] || [[File:223_5.jpg|223_5]] || [[File:223_6.jpg|223_6]]
 
|-
 
| '''285''' || [[File:241_0.jpg|241_0]] || [[File:241_1.jpg|241_1]] || [[File:241_2.jpg|241_2]] || [[File:241_3.jpg|241_3]] || [[File:241_4.jpg|241_4]] || [[File:241_5.jpg|241_5]] || [[File:241_6.jpg|241_6]]
 
|-
 
| '''285''' || [[File:285_0.jpg|285_0]] || [[File:285_1.jpg|285_1]] || [[File:285_2.jpg|285_2]] || [[File:285_3.jpg|285_3]] || [[File:285_4.jpg|285_4]] || [[File:285_5.jpg|285_5]] || [[File:285_6.jpg|285_6]]
 
|-
 
| '''338''' || [[File:338_0.jpg|338_0]] || [[File:338_1.jpg|338_1]] || [[File:338_2.jpg|338_2]] || [[File:338_3.jpg|338_3]] || [[File:338_4.jpg|338_4]] || [[File:338_5.jpg|338_5]] || [[File:338_6.jpg|338_6]]
 
|}
 
</translate>
 

Latest revision as of 09:13, 28 October 2019