Tuning parts from one car showing up on another, or missing in the mod shop? That's usually two cars using the same modkit id. Here's how to find the clash and give each car its own id.
TL;DR:
-
Open each car's
carcols.metaand find its modkitid. - Look for two cars with the same id.
- Pick a new random 6-digit id for one of them.
-
Change it in
carcols.metaandcarvariations.meta, both the id and the kit name. - Restart the server and check the mod shop.
Jump to
1. What a modkit is
A car's tuning parts (bumpers, spoilers, skirts and so on) are grouped in a modkit. The kit is set up in carcols.meta, and carvariations.meta tells the game which kit the car uses:
carcols.meta
<Kits>
<Item>
<kitName>482917_mycar_modkit</kitName>
<id value="482917" />
<kitType>MKT_SPECIAL</kitType>
...
</Item>
</Kits>carvariations.meta
<kits>
<Item>482917_mycar_modkit</Item>
</kits>Every kit on the server needs its own id. When two cars share one, the game mixes them up: the mod shop shows the wrong car's parts, or parts are missing.
2. Find the clash
Open your resources folder in a code editor like Visual Studio Code and search all files (Ctrl + Shift + F) for:
<id value="Look for the same number showing up in two different cars. If the problem started after adding a new car, check that car's id first.
3. Pick a new id
Pick a random 6-digit number, for example 482917. A random number this long is very unlikely to clash with anything else on your server. Search for it first to make sure nothing uses it yet.
4. Change it in both files
In carcols.meta, change the id value and the number at the start of the kitName. Then change the kit name in carvariations.meta to match exactly:
-
carcols.meta:<id value="482917" />and<kitName>482917_mycar_modkit</kitName> -
carvariations.meta:<Item>482917_mycar_modkit</Item>
If the kit name in carvariations doesn't match the one in carcols, the car has no tuning parts at all.
5. Restart and check
Delete the server cache, restart the server and open the mod shop with both cars. Each one should show only its own parts now.
FAQ
What happens when two cars share a modkit id?
The game mixes their kits up. The mod shop can show the other car's parts, or parts go missing.
Does the id have to be 6 digits?
No, but a random 6-digit number is very unlikely to clash with anything else on your server, so it's a safe choice.
Do I need to change the kit name too?
Yes. Change the number at the start of the kit name in carcols.meta and make carvariations.meta match it exactly.
Why does my car have no tuning parts at all?
The kit name in carvariations.meta doesn't match the one in carcols.meta, or the tuning part files aren't in the stream folder.
Need help?
Every car from our store comes with its own modkit id. If you still get a clash, open a ticket on our Discord:
0 Kommentare