City Car Driving
Няма достатъчно оценки
How to add more cars into traffic
От mish
So, are you bored of the default traffic cars? No need, it is easy to add ANY car (mod or vanilla) into the traffic.
   
Награда
Добавяне към любими
В любими
Премахване от любими
Finding the car you want to add
You can add any car into traffic, as long as it is either a vanilla playable car or a mod playable car. Firstly, to find the car you want, go to Steam/steamapps/common/City Car Driving/data/physics/cars. You will find a list of all cars that you have ingame. Modded cars will often have a file with the name of the car and the creator (such as bmw 330d by modder) and vanilla cars will have a generic name like "car27". Most vanilla cars are already in traffic, so you will need to search through the folders to find one you want, as they are hard to identify. I can say that "car28" is the holden commodore, but the rest i do not know. DO NOT add car137 or car 194, as they are trailers and they will drive about with no car attached.
Adding the car into traffic
So, say i chose the Opel astra to add into traffic. Click on the folder and open it.
it should look like this, however for vanilla cars there may be a p_parking_setup or p_traffic_setup file. if there is already a p_traffic_setup the car is already in traffic, so no need to add it. if there is only a p_parking_setup i would not add the car, as it is not designed to be moving and will look buggy and ugly. in the file i chose, there is only p_player_setup. Copy this file and paste it. Rename this from p_player_setup-copy to p_traffic_setup. you dont need to open the file. When this is done, the folder should look like this:
Finalising
To add this car into traffic, you need to go to Steam/steamapps/common/City Car Driving/data/config and find these files:here you can select the regions the cars will spawn in, so just traffic_cars is Russia, traffic_cars_eu is europe and ect. Open the file with your favorite text editing program, i just use notepad. Copy the FOLDER NAME of the car you want to add, for me its astra_by_denis154rus and do the following:
go in the traffic_cars file and scroll down until you see this list:
Go to the bottom and create a NEW LINE (dont replace or it will remove another car from traffic) and put the cars folder name in it like so:
by changing the "prob", that changes the chance of the car spawning, so a higher prob means you see the car more often.
Save the document, this should make the car apper in traffic
As we can see, the astra is now in traffic, and will appear in all the colour you can choose for yourself.

DISCLAIMER: SOME CARS ARE BUGGY AND FROM DISTANCES WILL HAVE WIERD WHEEL POSITIONS. THERE IS NOTHING I KNOW HOW TO FIX THIS, WHEN YOUR CLOSE THE CAR LOOKS FINE.
12 коментара
DIXYPALMER 23 окт. 2021 в 5:11 
i had problem with trafic when i download car mod some trafic cars turn red
v12ejima 6 ян. 2021 в 20:20 
I did it thank you the cars dont have passengers but i can easily live with that
mish  [автор] 3 ноем. 2020 в 2:36 
you probably made a mistake somewhere or deleted/edited an important file. Verify integrity of the game should fix it
mr. zunzan 31 окт. 2020 в 5:43 
this breaks the game and makes it crash every time you try to load a map
lionfish5656 30 ноем. 2019 в 10:12 
Good luck.
mish  [автор] 30 ноем. 2019 в 4:06 
ill try and contact them. i have a small idea as to what i causing this but i dont know how to fix it.
lionfish5656 29 ноем. 2019 в 13:24 
Great tutorial. I hope that you can figure out how to fix that potential bug. Perhaps you can ask the developers of the game for help on this front.
mish  [автор] 10 ноем. 2019 в 4:05 
D:\Program Files (x86)\Steam\steamapps\common\City Car Driving\data\physics\cars
thats the path. I have no idea why it isnt letting you paste, you sohuld be able to go to the traffic_cars.xml, add a line with the car and save it
vontelmeverything 9 ноем. 2019 в 19:43 
And I'm also having an Issue with copying and pasting the folder of the mod I want to put in traffic. And then when I go to the notepad it won't lemme paste the name of the mod car I want,can you help with this please?
vontelmeverything 9 ноем. 2019 в 9:36 
Okay great, where exactly do I find it?