Overview
This document is a manual for configuring fuel consumption functionality for cars created and added to the simulator “City Car Driving. Home Edition”.
Creating Configuration Files
Create the following files in the folder “data/gamedata/cars/<My_car_name>/”:
• “engine.csv”;
• “fuel.csv”.
Where “<My_car_name>” is your car’s name.
Example:
• “data/gamedata/cars/Car01/engine.csv”;
• “data/gamedata/cars/Car01/fuel.csv”.
Contents of the file “engine.csv”:
Contents of the file “fuel.csv”:
The required files can also be just copied from the folder “data/gamedata/cars/Car01/” into your folder.
Changing Settings in the Created Files for Your Car
Files “.csv” can be opened in Microsoft Excel or a common text editor.
Description of parameters in the file “engine.csv”:
• “heads” – the number of cylinders in the engine;
• “volume” – the engine capacity.
Important!!! The other parameters in this file should not be changed.
Description of parameters in the file “fuel.csv”:
• “max (mL)” – fuel tank capacity in milliliters;
• “consumptionFactor” – a linear coefficient calculated as:
0.0678 * ((Number of cylinders * Average fuel consumption) / (Engine capacity)).
Important!!! The other parameters in this file should not be changed.
Configuring the Fuel Filler Position in Your Car
This parameter determines from which side your car drives to a fuel pump at a fuel station.
To configure the fuel filler position in your car, change the following in the file “data/gamedata/cars/<My_car_name>/CarProperty.ini”:
“RefuelSide” can have the following values:
• “right” – the fuel filler is on the right side;
• “left” – the fuel filler is on the left side;
• “both” – fueling is possible from either side of the car.