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

TOPIC: The car files

Re: The car files 25 Dec 2011 06:59 #1727

  • Krystian_PL
  • Krystian_PL's Avatar
  • OFFLINE
  • Advanced user
  • Polish-Guy
  • Posts: 134
  • Thank you received: 13
duff99 wrote:
...
<?xml version="1.0" encoding="UTF-8" ?>
<Cars>
	<Car Name="[name of folder of some car you've added earlier]" ABS="[true for ABS ability, false for no]" AT="true for automatic gearbox, false for no such option">
		<DisplayName>[name of other car]</DisplayName>
		<Description>
		[description of car]
		</Description>
	</Car>
	<Car Name="[folder name]" ABS="true" AT="true" >
		<DisplayName>[name of the car]</DisplayName>
		<Description>
		[description of car]
		[power, engine etc]
		</Description>
	</Car>
(more cars here...)
</Cars>

PL: Pobieralem ta BMW'ice i to wklejilem ten tekst w player_cars.xml, i gralo, potem jeszcze wiecej Auta wklejilem i graje !
GB: I downloaded that BMW M5 and put this text in player_cars.xml and it works !
DE: Ich habe den BMW M5er gedownloadet und den text eingefügt bei player_cars.xml und es funktioniert !
Just in Time
The administrator has disabled public write access.

Re: The car files 25 Dec 2011 12:45 #1728

I dont know,how!!I am new on the forum and please help me,and make me understand how can i put cars in CCD because i tried in many ways but it didnt work...
I putted in that text informations from BMW in player_cars.xml i started the game but i didnt see the car...
What to do?? Please help me!!

Sorry for my bad english but i am from Romania...
Last Edit: 25 Dec 2011 12:46 by silviu1441 .
The administrator has disabled public write access.

Re: The car files 25 Dec 2011 16:03 #1729

  • Echo
  • Echo's Avatar
  • OFFLINE
  • User
  • Posts: 45
Did any of you copy the file into the game that you downloaded?
The administrator has disabled public write access.

Re: The car files 25 Dec 2011 16:43 #1730

Yes i did...
The administrator has disabled public write access.

Re: The car files 25 Dec 2011 16:53 #1731

  • Echo
  • Echo's Avatar
  • OFFLINE
  • User
  • Posts: 45
Have you upgraded to the latest version of the game? The new version cam out two days ago.
The administrator has disabled public write access.

Re: The car files 25 Dec 2011 16:58 #1732

Yes i did from yesterday

Here is my player_cars.xml please tell me what is wrong.


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

<Cars>

<!--
Добавление новой машины.

Каждая новая машина добавляется как новая секция <Car></Car> внутрь тега <Cars></Cars>, в котором расположен
данный комментарий. Пример секции для новой машины приведен ниже.
Значения параметров:

Атрибут Name - задает идентификатор машины. Все графические и настроечные файлы
машины расположены в папках с этим именем. Например, для идентификатора Car01 это будут

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

Все идентификаторы должны быть уникальны.

Атрибут ABS - задает наличие/отсутствие антипробуксовочной системы.
Значения: true - система присутствует, false - система отсутствует.

Атрибут AT - задает наличие/отсутствие АКПП.
Значения: true - АКПП присутствует, false - АКПП отсутствует.
Замечу, что МКПП должна присутствовать у всех машин.

Поле DisplayName - задает название автомобиля.

Поле Description - задает описание автомобиля (ТТХ и т.п.).

Все параметры являются обязательными.

Автомобили, описанные в данном файле, добавляются в меню с картинкой по умолчанию.
Чтобы задать свою собственную картинку, нужно поместить необходимые файлы в папку:
data\gui\3di_home\imagesets\cars\<Идентификатор машины>\
Примеры можно увидеть там же, например в папке:
data\gui\3di_home\imagesets\cars\Car01\


Пример описания новой машины:

<Car Name="Shelly5000" ABS="false" AT="false" >
<DisplayName>Shelly Warsteed GT 5000</DisplayName>
<Description>
Shelly Warsteed GT 5000
Тип привода: задний
Тип коробки передач и кол-во передач: МКПП, 6
Мощность двигателя, л.с.: 5000
Рабочий объём двигателя, куб.см.: 3000
Макс. скорость, км/ч: 1000
</Description>
</Car>


ВАЖНО:
Данный файл должен быть сохранен в кодировке UTF-8.
-->

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

</Cars>
<?xml version="1.0" encoding="UTF-8" ?>
<Cars>
<Car Name="BMWM5" ABS="true" AT="true">
<DisplayName>BMW M5</DisplayName>
<Description>
BMW M5
Drive Type: Rear
Transmission type and number of transmissions: manual gearbox 6, automatic transmission 5
Engine power, hp: 507
Engine capacity, cc: 4999
Max. speed, km / h in 320km / h
</Description>
</Car>
</Cars>








</Cars>
Last Edit: 25 Dec 2011 17:03 by silviu1441 .
The administrator has disabled public write access.

Re: The car files 25 Dec 2011 19:07 #1733

  • Echo
  • Echo's Avatar
  • OFFLINE
  • User
  • Posts: 45
<?xml version="1.0" encoding="UTF-8" ?>
<Cars>
<Car Name="BMWM5" ABS="true" AT="true">
<DisplayName>BMW M5</DisplayName>
<Description>
BMW M5
Drive Type: Rear
Transmission type and number of transmissions: manual gearbox 6, automatic transmission 5
Engine power, hp: 507
Engine capacity, cc: 4999
Max. speed, km / h in 320km / h
</Description>
</Car>

<!-- Place other cars scripts here:-->


</Cars>

This is all that you need in the file, Just delete everything, and then add this ^
Last Edit: 25 Dec 2011 19:13 by Echo.
The administrator has disabled public write access.

Re: The car files 25 Dec 2011 19:37 #1735

  • Lukasz
  • Lukasz's Avatar
  • OFFLINE
  • Novice
  • Posts: 31
  • Thank you received: 2
I add in my files player_cars.xml only this:
<Car Name="BMWM5" ABS="true" AT="true">
<DisplayName>BMW M5</DisplayName>
<Description>
BMW M5
Drive Type: Rear
Transmission type and number of transmissions: manual gearbox 6, automatic transmission 5
Engine power, hp: 507
Engine capacity, cc: 4999
Max. speed, km / h in 320km / h
</Description>
</Car>
before </Cars> and i have added cars.
The administrator has disabled public write access.

Re: The car files 29 Dec 2011 18:32 #1788

  • laxandsteffen15
  • laxandsteffen15's Avatar
  • OFFLINE
  • Advanced user
  • heey duds!
  • Posts: 99
  • Thank you received: 3
hey kilov plz ansawer us how can we get a car in the game i think is a bit mean done by you cos we dont know how to do it so plz make a vdeio tut or something i think is a bad sercive by you dev dont show us how to install a new car!
i like driving simulator
The administrator has disabled public write access.

Re: The car files 08 Jan 2012 05:31 #1895

  • Kivlov
  • Kivlov's Avatar
laxandsteffen15 wrote:
hey kilov plz ansawer us how can we get a car in the game i think is a bit mean done by you cos we dont know how to do it so plz make a vdeio tut or something i think is a bad sercive by you dev dont show us how to install a new car!
Sorry but we can't be responsible for third party mods for the game. I suggest you take an adivce how to do it from users, who already succesfully done it.

Besides video instruction is already done by one of our users - citycardriving.com/forum?func=view&catid=7&id=1800
The administrator has disabled public write access.
Time to create page: 0.149 seconds