Difference between revisions of "CARS (IDE Section)"
m (→Format) |
m |
||
Line 1: | Line 1: | ||
{{Research}} | {{Research}} | ||
+ | {{This|CARS redirects here. For the IPL section see [[CARS (IPL Section)]]}} | ||
{{IdeSection | {{IdeSection | ||
| name = CARS | | name = CARS |
Revision as of 04:18, 12 September 2010
Supported games: | GTA III, GTA VC, GTA SA, GTA IV | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Brief description: | Used to define vehicles | |||||||||||||||
IDE Sections:
|
CARS is a section in the item definition file. It is used to define vehicles and some their properties.
Contents
Format
GTA III
This section is mainly used in the ../data/default.ide
file. Each type of vehicle has its own format.
Car
ID, ModelName, TxdName, Type, HandlingID, GameName, Class, Frequency, Level, Comprules, WheelID, WheelScale
Boat and Train
ID, ModelName, TxdName, Type, HandlingID, GameName, Class, Frequency, Level, Comprules
Plane
ID, ModelName, TxdName, Type, HandlingID, GameName, Class, Frequency, Level, Comprules, LODModel
Identifier | Description |
---|---|
Unique model ID | |
Name of the .dff model file without extension.
| |
Name of the .txd texture dictionary without extension.
| |
Type of vehicle, which includes car, boat, train, and plane This data is related to hardcoded functions and must not be changed or else it might crash the game. | |
Name corresponding to its handling data in the handling.cfg file | |
Name corresponding to its GXT entry, case sensitive and must be seven characters or less! Invalid name will show up as NAME missing | |
Class of the vehicle (see below). | |
Frequency of the vehicle spawning randomly on the streets. | |
Unknown integer. | |
Unknown hexadecimal value. | |
ID number of wheel model Only available for type car, has no effect if used on type boat. | |
Scale of wheel and collision models, 1.0 for original size of wheel and collision models Only available for type car, has no effect if used on type boat. | |
ID number of LOD model – can be any valid object. Only available for type plane. |
Wheels
Wheel models are located in the ../models/generic/wheels.DFF
file. Their textures are located in the ../models/misc.txd
file. Just like the cars themselves they are defined inside the ../data/default.ide
file by default. The following table shows the different wheels and their ID's.
ID | 160 | 161 | 162 | 163 | 164 | 165 | 166 |
---|---|---|---|---|---|---|---|
Image |
Vice City
By default all cars are defined inside the ../data/default.ide
file. Unlike GTA III there are the types bike and heli but train is missing or unused.
Car
ID, ModelName, TxdName, Type, HandlingID, GameName, Anims, Class, Frequency, Level, Comprules, WheelID, WheelScale
Bike
ID, ModelName, TxdName, Type, HandlingID, GameName, Anims, Class, Frequency, Level, Comprules, Unknown, WheelScale
Boat and Heli
ID, ModelName, TxdName, Type, HandlingID, GameName, Anims, Class, Frequency, Level, Comprules
Plane
ID, ModelName, TxdName, Type, HandlingID, GameName, Anims, Class, Frequency, Level, Comprules, LODModel
Identifier | Description |
---|---|
Unique model ID | |
Name of the .dff model file without extension.
| |
Name of the .txd texture dictionary without extension.
| |
Type of vehicle, which includes car, bike, boat, plane, and heli. Flyable helicopters are of type car. | |
Name corresponding to its handling data in the handling.cfg file. | |
Name corresponding to its GXT entry, case sensitive and must be seven characters or less. Invalid name will not show up in the game. | |
Appropriate animation file mainly used on bikes. | |
Class of the vehicle (see below). | |
Frequency of the vehicle spawning randomly on the streets. | |
Unknown integer. | |
Unknown hexadecimal value. | |
ID number of wheel model Only available for type car, has no effect if used on type boat. | |
Scale of wheel and collision models for type car, scale of wheel collision model for type bike, 1.0 for original size of wheel and collision models Only available for types car and bike, has no effect if used on type boat. | |
ID number of LOD model – can be any valid object. Only available for type plane. |
Wheels
The location of the definition files, models and textures are just the same as for GTA III. However there are some different textures and models. The following table shows all Vice City wheels and their ID's.
ID | 237 | 238 | 239 | 250 | 251 | 252 | 253 | 254 | 255 | 256 |
---|---|---|---|---|---|---|---|---|---|---|
Image |
San Andreas
This section is incomplete. You can help by fixing and expanding it.
GTA IV
This section is incomplete. You can help by fixing and expanding it.
Vehicle Classes
The class of a vehicle helps determines where a vehicle should spawn, with the help of hardcoded features and the script. The ignore class is special for its ability to prevent vehicles assigned to that class from spawning as a regular NPC vehicle in traffic. Peds can be assigned to drive a class of vehicle in the PEDS section of the IDE file. The following table shows the classes that are available and used in the game.
See also
Grand Theft Auto IV | |
---|---|
File Formats | .dat • .gxt • .ide • .img • .ipl • .nod • .sco • .rpf • .rrr • .wad • .wbd/.wbn • .wdd • .wdr • .wft • .whm • .wpl • .wtd |
Documentation | Audio • Bink Video • Cryptography • Cutscenes • GXT Text • Image listing • Keycodes • Map Listing • Native functions • Paths • Radar Blips • Radio Stations • Saves • Scenarios • VTable • Weapons |
Tools | ASI Loader • ENBSeries • G-Texture • GIMS IV • Ingame WPL Editor • IV Needle • OpenIV • SparkIV • XLiveLess • WPL Manager • X Mod Installer Alice • C++ Script Hook • .NET Script Hook • Scocl |
Tutorials | Importing Textures with OpenIV • Importing Textures with SparkIV |
Modifications | GTA Connected • Gostown IV • Four Multiplayer • IV Multiplayer • CitizenMP:IV Reloaded |
Useful links | Community portal • Discussion forums • Modding forums • Mods on GTAGarage.com |