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

TOPIC: Do you have to replace EXPORT and DATA everytime?

Do you have to replace EXPORT and DATA everytime? 07 Oct 2016 22:52 #88906

  • CCDUser
  • CCDUser's Avatar
  • OFFLINE
  • Advanced user
  • Posts: 153
  • Thank you received: 11
Hello,


I've added one mod to CCD, but now want to add more. Should i replace EXPORT and Data everytime? or just the first time???

Thanks
The administrator has disabled public write access.

Re: Do you have to replace EXPORT and DATA everytime? 07 Oct 2016 22:54 #88907

  • David02
  • David02's Avatar
  • OFFLINE
  • Global Moderator
  • Hi!
  • Posts: 6551
  • Thank you received: 1626
Yes. These folders have more in them then just mod files. Drag and replace every time, your game will be fine.
The administrator has disabled public write access.

Re: Do you have to replace EXPORT and DATA everytime? 07 Oct 2016 22:59 #88909

  • CCDUser
  • CCDUser's Avatar
  • OFFLINE
  • Advanced user
  • Posts: 153
  • Thank you received: 11
ok. I wont lose any of my other mods right?
The administrator has disabled public write access.

Re: Do you have to replace EXPORT and DATA everytime? 07 Oct 2016 23:07 #88910

  • David02
  • David02's Avatar
  • OFFLINE
  • Global Moderator
  • Hi!
  • Posts: 6551
  • Thank you received: 1626
CCDUser wrote:
ok. I wont lose any of my other mods right?
Nope! :)
The administrator has disabled public write access.

Re: Do you have to replace EXPORT and DATA everytime? 07 Oct 2016 23:10 #88912

  • CCDUser
  • CCDUser's Avatar
  • OFFLINE
  • Advanced user
  • Posts: 153
  • Thank you received: 11
Can u help me with this? i tried to add the second car, but now custom cars isn't availble (clickable). did i do it wrong?:(
<?xml version="1.0" encoding="UTF-8" ?>

<Cars>

<!-- 
How to add a new car.


I. Adding a new car to menu

Each new car should be added as new <Car></Car> section. This section should be ADDED INSIDE <Cars></Cars> tag, 
just like the commentary which you are currently reading. An example of such a section is situated below in paragraph III.

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.

'MT' attribute - this attribute defines if this car could be driven with a manual transmission.
Values: 'true' - manual transmission is enabled, 'false' - manual transmission is disabled.

'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>

-->



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

Каждая новая машина добавляется как новая секция <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 - АКПП отсутствует.

Атрибут MT - задаёт наличие/отсутствие МКПП.
Значения: 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.
-->





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

<Car Name="Focus_III_ST" ABS="true" AT="true" >
<DisplayName>FORD FOCUS III ST</DisplayName>
<Description>
FORD FOCUS III ST
Тип привода:     полный
Тип коробки передач и кол-во передач:     МКПП, 5      АКПП, 5
Мощность двигателя, л.с.:     150
Макс. скорость, км/ч:     200
</Description>
</Car>

<Car Name="Aveo" ABS="true" AT="true"> 
<DisplayName>Chevrolet Aveo Hatchback</DisplayName> 
<Description>
Chevrolet Aveo Hatchback
Òèï ïðèâîäà: ïåðåäíèé 
Òèï êîðîáêè ïåðåäà÷ è êîë-âî ïåðåäà÷:     ÌÊÏÏ, 5; ÀÊÏÏ, 4 
Ìîùíîñòü äâèãàòåëÿ: 101 ë.ñ. ïðè 5600 îá/ìèí
Ðàáî÷èé îáú¸ì äâèãàòåëÿ, êóá.ñì.: 1498
Ìàêñ. ñêîðîñòü, êì/÷: 185
</Description> 

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

Re: Do you have to replace EXPORT and DATA everytime? 07 Oct 2016 23:29 #88916

  • CCDUser
  • CCDUser's Avatar
  • OFFLINE
  • Advanced user
  • Posts: 153
  • Thank you received: 11
srry, i figured it out. i left somethimg out
The administrator has disabled public write access.

Re: Do you have to replace EXPORT and DATA everytime? 08 Oct 2016 20:48 #89021

Try change codepage to UTF-8.

Sorry for my bad English
The administrator has disabled public write access.

Re: Do you have to replace EXPORT and DATA everytime? 08 Oct 2016 20:52 #89022

  • Niklas12
  • Niklas12's Avatar
  • OFFLINE
  • Guru
  • Holidays
  • Posts: 2020
  • Thank you received: 163
CCDUser wrote:
srry, i figured it out. i left somethimg out


One "Car" was missing ;)

Cars I drive:
2019 Mercedes-Benz CLS350 Shooting Brake
2019 Ford Galaxy 2.0 Bi-Turbo
2017 Renault Scenic Bosè 1.6 EDC 160
2017 Peugeot 5008 GT BlueHDi 180
2017 BMW 420i Gran Coupè

My Instagram: xnikxlasx
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.213 seconds