Welcome, Guest
Username: Password: Remember me
"City Car Driving" modifications forum

TOPIC: IF YOU HAVE A MOD PROBLEM OR QUESTION! READ HERE!

Re: IF MOD (OR GAME WITH MOD) DOESN'T WORK! READ HERE! 18 Jun 2013 17:12 #10917

  • jericho
  • jericho's Avatar
  • OFFLINE
  • Forum Administrator
  • Posts: 4795
  • Thank you received: 667
The mod file will be a .pkg*number*. Example: Mod_car.pkg3

How to use The Mod Installer:

  1. 1. Download the mod file
  2. 2. Disable antivirus, as it is seen as malicious software, and run the Mod Installer as administrator (right click-->Run as Administrator.
  3. 3. Choose mod, and click "Install mod". For mods that can be used as traffic car, after clicking "Install Mod", click Install to traffic


IMPORTANT: Make sure player_cars has UTF-8 encoding. To do that, open the file using Notepad, save as, click select UTF-8 on the drop-down list on the lower-right of the save window, and hit save ;)
Last Edit: 18 Jun 2013 20:13 by jericho.
The administrator has disabled public write access.

Re: IF MOD (OR GAME WITH MOD) DOESN'T WORK! READ HERE! 21 Jun 2013 04:18 #10986

  • simulationdude
  • simulationdude's Avatar
  • OFFLINE
  • Guru
  • American
  • Posts: 4474
  • Thank you received: 486
Awez wrote:
I. Adding a new car to menu


Following is a list of parameters, which should be specified for a new car section:

'Name' attribute - this attribute is your car identificator. All gfx and settings for cars are situated in folders
named as their respective car ID's. For example, a 'Car28' car have all its data placed in following folders:

data\gui\Common\layouts\cars\Car28\
data\gui\3di_home\imagesets\cars\Car28\
data\gamedata\cars\Car28\
data\physics\cars\Car28\
data\physics\Engine\Car28\
data\physics\Transmission\Car28\
export\anims\cars\Car28\
export\gfxlib\cars\Car28\
export\meshes\cars\Car28\
export\texturesdds\cars\Car28\

All car identifiers SHOULD BE UNIQUE. Try to create an unique and distinctive IDs so you wouldn't collide
with other user cars and future developer cars.

'ABS' attribute - this attribute defines if this car could be driven with an antilock brake system.
Values: 'true' - ABS is enabled, 'false' - ABS is disabled.

'AT' attribute - this attribute defines if this car could be driven with an automatic gearbox.
Values: 'true' - automatic gearbox is enabled, 'false' - automatic gearbox is disabled.
NOTE that all cars should have a default manual gearbox.

'DisplayName' element - this element contains a name for the car, which is displayed in the menu.

'Description' element - this element contains a description for the car, such as technical specifications,
car creator or whatever else.

All listed parameters ARE MANDATORY.

AN IMPORTANT NOTE: This file should be saved with UTF-8 encoding.


II. Defining an image for a new car.

Each new car have a default image in the menu. In order to define an own image for a new car,
one should add all necessary image files to the following path:

data\gui\3di_home\imagesets\cars\<Car ID>\

An examples of such files could be found at

data\gui\3di_home\imagesets\cars\Car01\


III. Example of new car description.

<Car Name="Shelly5000" ABS="false" AT="false" >
<DisplayName>Shelly Warsteed GT 5000</DisplayName>
<Description>
Shelly Warsteed GT 5000

Rear wheel drive
Manual transmission, 6 gears
Engine power of 5000 hp
Engine displacement 3000 cm3
Maximum speed 1000 km/h

Have your helmet on so it could be easier to pick up your head.
</Description>
</Car>

-->

<!-- ADD NEW CARS BELOW THIS LINE -->

<Car Name="reventon" ABS="true" AT="true" >
<DisplayName>Lamborghini Reventon</DisplayName>
<Description>
Lamborghini Reventon
Òèï ïðèâîäà: ïîëíûé
Òèï êîðîáêè ïåðåäà÷ è êîë-âî ïåðåäà÷: ÌÊÏÏ - 6, ÀÊÏÏ - 5
Ìîùíîñòü äâèãàòåëÿ: 650 ë.ñ.íà 8000 îá/ìèí
Ðàáî÷èé îáú¸ì äâèãàòåëÿ: 6496 êóá. ñì.
Ìàêñèìàëüíàÿ ñêîðîñòü: 340 êì/÷
</Description>
</Car>

<Car Name="MB_S65AMG_by_Daeman" ABS="true" AT="true" >
<DisplayName>Mercedes-Benz S65 AMG</DisplayName>
<Description>
Mercedes-Benz S65 AMG
Drive type: rear
Type of gearbox and number of gears: automatic - 5
Maximum power: 604 HP on 4800-5100 RPM
Maximum torque: 1000 N*m on 2000-4000 RPM
Engine displacement: 5980 cc
Maximum speed: 330 km/h
</Description>
</Car>

<Car Name="BMWX6M2013" ABS="true" AT="true" >
<DisplayName>BMW X6 M 2013</DisplayName>
<Description>
BMW X6 M 2013
Drive Type: 4x4
Gears and Gears: Manual 5; Auto 5
Engine power, hp: 555
Max. speed, km / h: 300
</Description>
</Car>
You should have 2 </Car> at the end i think
CEO of Sim Forestry Company. Contact me on forum for job salary starts at
a decent 40k.


детские игрушки


AMD FX 6300 6-Core @ 3.5 Ghz
Nvidia Geforce GTX 750 Ti
16 GB DDR3 Ram
1 TB SSD
Logitech G25 and Logitech Driving Force GT
Windows 8.1
2 20 inch monitors (Buy me a third and i'll ship you a cookie expedited)
The administrator has disabled public write access.

Re: IF MOD (OR GAME WITH MOD) DOESN'T WORK! READ HERE! 21 Jun 2013 04:22 #10987

  • simulationdude
  • simulationdude's Avatar
  • OFFLINE
  • Guru
  • American
  • Posts: 4474
  • Thank you received: 486
tychotje, try this

Warning: Spoiler! [ Click to expand ]
CEO of Sim Forestry Company. Contact me on forum for job salary starts at
a decent 40k.


детские игрушки


AMD FX 6300 6-Core @ 3.5 Ghz
Nvidia Geforce GTX 750 Ti
16 GB DDR3 Ram
1 TB SSD
Logitech G25 and Logitech Driving Force GT
Windows 8.1
2 20 inch monitors (Buy me a third and i'll ship you a cookie expedited)
Last Edit: 23 Jun 2013 03:19 by simulationdude.
The administrator has disabled public write access.

Re: IF MOD (OR GAME WITH MOD) DOESN'T WORK! READ HERE! 21 Jun 2013 14:47 #10996

  • jericho
  • jericho's Avatar
  • OFFLINE
  • Forum Administrator
  • Posts: 4795
  • Thank you received: 667
Not </Car> in the last, but </Cars>
The administrator has disabled public write access.

Re: IF MOD (OR GAME WITH MOD) DOESN'T WORK! READ HERE! 05 Jul 2013 13:08 #11760

Is there anyone who can please have a look at this cars file to see if there is anything wrong? Cheers in advance.

<?xml version="1.0" encoding="UTF-8" ?>

<!--
How to add a new car.


I. Adding a new car to menu


Following is a list of parameters, which should be specified for a new car section:

'Name' attribute - this attribute is your car identificator. All gfx and settings for cars are situated in folders
named as their respective car ID's. For example, a 'Car28' car have all its data placed in following folders:

data\gui\Common\layouts\cars\Car28\
data\gui\3di_home\imagesets\cars\Car28\
data\gamedata\cars\Car28\
data\physics\cars\Car28\
data\physics\Engine\Car28\
data\physics\Transmission\Car28\
export\anims\cars\Car28\
export\gfxlib\cars\Car28\
export\meshes\cars\Car28\
export\texturesdds\cars\Car28\

All car identifiers SHOULD BE UNIQUE. Try to create an unique and distinctive IDs so you wouldn't collide
with other user cars and future developer cars.

'ABS' attribute - this attribute defines if this car could be driven with an antilock brake system.
Values: 'true' - ABS is enabled, 'false' - ABS is disabled.

'AT' attribute - this attribute defines if this car could be driven with an automatic gearbox.
Values: 'true' - automatic gearbox is enabled, 'false' - automatic gearbox is disabled.
NOTE that all cars should have a default manual gearbox.

'DisplayName' element - this element contains a name for the car, which is displayed in the menu.

'Description' element - this element contains a description for the car, such as technical specifications,
car creator or whatever else.

All listed parameters ARE MANDATORY.

AN IMPORTANT NOTE: This file should be saved with UTF-8 encoding.


II. Defining an image for a new car.

Each new car have a default image in the menu. In order to define an own image for a new car,
one should add all necessary image files to the following path:

data\gui\3di_home\imagesets\cars\<Car ID>\

An examples of such files could be found at

data\gui\3di_home\imagesets\cars\Car01\


III. Example of new car description.

<Car Name="Shelly5000" ABS="false" AT="false" >
<DisplayName>Shelly Warsteed GT 5000</DisplayName>
<Description>
Shelly Warsteed GT 5000

Rear wheel drive
Manual transmission, 6 gears
Engine power of 5000 hp
Engine displacement 3000 cm3
Maximum speed 1000 km/h

Have your helmet on so it could be easier to pick up your head.
</Description>
</Car>

-->

<!-- ADD NEW CARS BELOW THIS LINE -->
<Car Name="WRX" ABS="true" AT="true" >
<DisplayName>Subaru Impreza WRX STI</DisplayName>
<Description>
Subaru Impreza WRX STI'04
Òèï ïðèâîäà: ïîëíûé
Òèï êîðîáêè ïåðåäà÷ è êîë-âî ïåðåäà÷: ÌÊÏÏ: 5
Ìàêñ. ìîùíîñòü ïðè îá/ìèí, ë.ñ.: 265 / 6700
Ðàáî÷èé îáúåì: 1994 ñì3
Ìàêñ. ñêîðîñòü: 244 êì/÷
Âðåìÿ ðàçãîíà: 5.5 ñ
</Description>
</Car>

<Car Name="reventon" ABS="true" AT="true" >
<DisplayName>Lamborghini Reventon</DisplayName>
<Description>
Lamborghini Reventon
Тип привода: полный
Тип коробки передач и кол-во передач: МКПП - 6, АКПП - 5
Мощность двигателя: 650 л.с.на 8000 об/мин
Рабочий объём двигателя: 6496 куб. см.
Максимальная скорость: 340 км/ч
</Description>
</Car>

<Car Name="audir8" ABS="true" AT="true" >
<DisplayName>Audi R8</DisplayName>
<Description>
Audi R8
Òèï ïðèâîäà: Ïîëíûé
Òèï êîðîáêè ïåðåäà÷ è êîë-âî ïåðåäà÷: ÌÊÏÏ: 5; ÀÊÏÏ: 5
Ìîùíîñòü ë.ñ.: 525
Ðàáî÷èé îáúåì, ñì3: 5204
Ìàêñ. ñêîðîñòü, êì/÷: 316
Âðåìÿ ðàçãîíà (0-100 êì/÷), ñ: 3.9
</Description>
</Car>

<Car Name="wrxsti04" ABS="true" AT="false" >
<DisplayName>Subaru Impreza WRX STI</DisplayName>
<Description>
Subaru Impreza WRX STI'04
Drive Type: Full
Type of gearbox and number of gears: Manual 6
Engine power, hp: 265
Max. speed, km / h: 241
Accelaration, s: 5.5
</Description>
</Car>

<Car Name="LexISF_by_Daeman" ABS="true" AT="true" >
<DisplayName>Lexus IS-F</DisplayName>
<Description>
Lexus IS-F Stock/Sports Line
Drive type: AWD/rear
Type of gearbox and number of gears: mechanic - 6, automatic - 5
Maximum power: 204/417 HP on 6400/6600 RPM
Maximum torque: 260/505 N*m on 3600/5200 RPM
Engine displacement: 2499/4969 ññ
Maximum speed: 210/300 km/h
</Description>
</Car>

</Cars>
The administrator has disabled public write access.

Re: IF MOD (OR GAME WITH MOD) DOESN'T WORK! READ HERE! 05 Jul 2013 14:27 #11767

  • jericho
  • jericho's Avatar
  • OFFLINE
  • Forum Administrator
  • Posts: 4795
  • Thank you received: 667
Put this below the xml version line
<Cars>
The administrator has disabled public write access.

Re: IF MOD (OR GAME WITH MOD) DOESN'T WORK! READ HERE! 14 Jul 2013 20:18 #12197

Hi there :cheer:

Everthing was working fine until i installed a Ford Mustang mod, and I am having so much trouble..
Is there anyway you could help me out?


C:\fakepath\player_cars.xml
The administrator has disabled public write access.

Re: IF MOD (OR GAME WITH MOD) DOESN'T WORK! READ HERE! 14 Jul 2013 20:41 #12200

  • jericho
  • jericho's Avatar
  • OFFLINE
  • Forum Administrator
  • Posts: 4795
  • Thank you received: 667
Attachment not found :( . Paste what is inside the the document in this forum instead of attaching the file. We might be able to help you :) .
The administrator has disabled public write access.

Re: IF MOD (OR GAME WITH MOD) DOESN'T WORK! READ HERE! 18 Jul 2013 18:10 #12440

  • Aaron Wise
  • Aaron Wise's Avatar
  • OFFLINE
  • Guru
  • Posts: 646
  • Thank you received: 16
Right, third time lucky.

If you read my other thread in the "old mods question archive" then the problem is explained in there, but I think people are misunderstanding the problem. The car code I posted in there works perfectly well, and all the cars show up. But when I install a new car, all the mod cars disappear, but they come back when I uninstall the car from the game (I do this by deleting the files and folders associated with the mod.)

The mod cars I already have installed are:
Range Rover 2012
Ford Fiesta
Volvo XC70
Nissan Qashqai
Smart ForTwo
Cadillac Escalade ESV
Hyundai Santa Fe
Volvo XC90 (By Daeman)
BMW 7-series 2011
Ford Focus ST 2006
Ford Focus 1.6 2006 (Add on for the Ford Focus ST)

I also have the New Summer mod, and ENB V2 mod installed.

If anyone has any clue as to how to solve the problem, I'd be most grateful.
idek
The administrator has disabled public write access.

Re: IF MOD (OR GAME WITH MOD) DOESN'T WORK! READ HERE! 18 Jul 2013 18:29 #12441

  • jericho
  • jericho's Avatar
  • OFFLINE
  • Forum Administrator
  • Posts: 4795
  • Thank you received: 667
Post your codes here ;) .
The administrator has disabled public write access.
Time to create page: 0.269 seconds