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

TOPIC: No modded cars are appearing in my game

Re: No modded cars are appearing in my game 31 May 2016 05:08 #75070

no drffrence im not sur as to whats going on
The administrator has disabled public write access.

Re: No modded cars are appearing in my game 31 May 2016 12:39 #75084

  • THETJVIDCHANNEL
  • THETJVIDCHANNEL's Avatar
  • OFFLINE
  • Global Moderator
  • Mod Maker and Moderator
  • Posts: 10940
  • Thank you received: 1774
Okay, try this. I have made all the lines match up to my own, and have added the player_cars to the top instead.
<?xml version="1.0" encoding="UTF-8" ?>
<Cars>
<Car Name="BMWM5E39_by_Daeman" ABS="true" AT="false" >
<DisplayName>BMW M5 E39</DisplayName>
<Decription>
BMW M5 E39
Drive type: rear
Type of gearbox and number of gears: mechanic - 6
Maximum power: 400 HP on 6600 RPM
Maximum torque: 500 N*m on 3800 RPM
Engine displacement: 4941 cc
Maximum speed: 250 km/h
</Description>
</Car>
<!-- 
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="BMWM5E39_by_Daeman" ABS="true" AT="false" >
<DisplayName>BMW M5 E39</DisplayName>
<Decription>
BMW M5 E39
Drive type: rear
Type of gearbox and number of gears: mechanic - 6
Maximum power: 400 HP on 6600 RPM
Maximum torque: 500 N*m on 3800 RPM
Engine displacement: 4941 cc
Maximum speed: 250 km/h
</Description>
</Car>
</Cars>
Contact me in a PM if you have any concerns about users or the forum.

Mod Maker - Moderator - YouTube Video Creator

vk.com/tj_mods - VK Modding Page
www.youtube.com/THETJVIDCHANNEL - YouTube

Location: Melbourne, Australia (GMT +10:00)
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.122 seconds