Gadafi king
Software Engineer, Web Developer, and Designer in the United States
Gadafi king
Software Engineer, Web Developer, and Designer in the United States
Hey there, I’m Gadafi. I’m a software engineer living in United States. I am a fan of entrepreneurship, gaming, and video games. You can read my blog with a click on the button above.
Cars.txt
This is the file that controls the cars list in the game. You can add new cars to the list but they will be shown only in the ‘Showroom’ option of the main menu and will not be available in-game. This is because of the method game uses to handle the cars. I (BIW) personally think that the new car list is loaded but the game only uses the official cars available for auction and job creation. So the new cars will not show up.
File Contents
The cars.txt contains the list of cars. The details included are data file name for the car, image thumbnail that is followed by in-game name separated by a comma.
Example: car_BoltReptilia, Bolt Reptilia
In the above example it will load car_BoltReptilia.txt (data file) and car_BoltReptilia.jpg (thumbnail). The name of the car will appear as ‘Bolt Reptilia’ in-game.
Modding
This is an easy process that can be done using any text editor or the Car Mechanic Simulator 2015 Mod Manager that is created by Blue Icarian Wings.
Code sample
From the AuctionLogic class, as of Patch 1.0.7.6
/*
Removed extra bits not need for this example
*/