Difference between revisions of "CARS (IDE Section)"
(lots of words) |
|||
Line 29: | Line 29: | ||
|<center>TxdName</center>||Name of the .txd [[texture dictionary]], without extension | |<center>TxdName</center>||Name of the .txd [[texture dictionary]], without extension | ||
|- | |- | ||
− | |<center>Type</center>||Type of vehicle, which includes ''car'', ''boat'', ''train'', and ''plane'' | + | |<center>Type</center>||Type of vehicle, which includes ''car'', ''boat'', ''train'', and ''plane''<br>This data is related to hardcoded functions and must not be changed or else it might crash the game |
|- | |- | ||
− | |<center>HandlingID</center>||Name corresponding to its handling data in the [[handling.cfg]] file | + | |<center>HandlingID</center>||Name corresponding to its handling data in the [[handling.cfg]] file |
|- | |- | ||
− | |<center>GameName</center>||Name corresponding to its [[GXT]] entry, must be seven characters or less | + | |<center>GameName</center>||Name corresponding to its [[GXT]] entry, case sensitive and must be seven characters or less!<br>Invalid name will show up as ''NAME missing'' |
|- | |- | ||
|<center>Class</center>||Class of the vehicle{{Ref|1|[*]}} | |<center>Class</center>||Class of the vehicle{{Ref|1|[*]}} | ||
Line 45: | Line 45: | ||
|<center>WheelID</center>||ID number of wheel model{{Ref|2|[*]}}<br>Only available for type ''car'', has no effect if used on type ''boat'' | |<center>WheelID</center>||ID number of wheel model{{Ref|2|[*]}}<br>Only available for type ''car'', has no effect if used on type ''boat'' | ||
|- | |- | ||
− | |<center>WheelScale</center>||Scale of wheel | + | |<center>WheelScale</center>||Scale of wheel and [[Collision File|collision]] models, 1.0 for original size of wheel and collision models<br>Only available for type ''car'', has no effect if used on type ''boat'' |
|- | |- | ||
|<center>LODModel</center>||ID number of LOD model, can be any valid vehicle model<br>Only available for type ''plane'' | |<center>LODModel</center>||ID number of LOD model, can be any valid vehicle model<br>Only available for type ''plane'' | ||
Line 91: | Line 91: | ||
==Vice City== | ==Vice City== | ||
===Format=== | ===Format=== | ||
+ | This section is mainly used in the <code>default.ide</code> file. Each type of vehicle has its own format. | ||
+ | |||
+ | ''Car'' | ||
ID, ModelName, TxdName, Type, HandlingID, GameName, Anims, Class, Frequency, Level, Comprules, WheelID, WheelScale | 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, Class, Frequency, Level, Comprules | ||
+ | |||
+ | ''Plane'' | ||
+ | ID, ModelName, TxdName, Type, HandlingID, GameName, Class, Frequency, Level, Comprules, LODModel | ||
{|{{Prettytable}} width="100%" | {|{{Prettytable}} width="100%" | ||
Line 103: | Line 115: | ||
|<center>TxdName</center>||Name of the .txd [[texture dictionary]], without extension | |<center>TxdName</center>||Name of the .txd [[texture dictionary]], without extension | ||
|- | |- | ||
− | |<center>Type</center>||Type of vehicle, which includes ''car'', '' | + | |<center>Type</center>||Type of vehicle, which includes ''car'', ''bike'', ''boat'', ''plane'', and ''heli''; flyable helicopters are type ''car'' |
|- | |- | ||
|<center>HandlingID</center>||Name corresponding to its handling data in the [[handling.cfg]] file. | |<center>HandlingID</center>||Name corresponding to its handling data in the [[handling.cfg]] file. | ||
|- | |- | ||
− | |<center>GameName</center>||Name corresponding to its [[GXT]] entry, must be seven characters or less | + | |<center>GameName</center>||Name corresponding to its [[GXT]] entry, case sensitive and must be seven characters or less!<br>Invalid name will not show up in the game |
|- | |- | ||
|<center>Anims</center>||Appropriate animation file mainly used on bikes | |<center>Anims</center>||Appropriate animation file mainly used on bikes | ||
|- | |- | ||
− | |<center>Class</center>||Class of the vehicle | + | |<center>Class</center>||Class of the vehicle{{Ref|3|[*]}} |
|- | |- | ||
|<center>Frequency</center>||Frequency of the vehicle spawning randomly on the streets | |<center>Frequency</center>||Frequency of the vehicle spawning randomly on the streets | ||
Line 119: | Line 131: | ||
|<center>Comprules</center>||unknown | |<center>Comprules</center>||unknown | ||
|- | |- | ||
− | |<center>WheelID</center>|| | + | |<center>WheelID</center>||ID number of wheel model{{Ref|4|[*]}}<br>Only available for type ''car'', has no effect if used on type ''boat'' |
|- | |- | ||
− | |<center>WheelScale</center>|| | + | |<center>WheelScale</center>||Scale of wheel and [[Collision File|collision]] models for type ''car'', scale of wheel collision model for type ''bike'', 1.0 for original size of wheel and collision models<br>Only available for types ''car'' and ''bike'', has no effect if used on type ''boat'' |
+ | |- | ||
+ | |<center>LODModel</center>||ID number of LOD model, can be any valid vehicle model<br>Only available for type ''plane'' | ||
|} | |} | ||
− | ===Class=== | + | ===Class{{Note|3}}=== |
The function of the class of a vehicle is almost exactly the same as in GTA3. | The function of the class of a vehicle is almost exactly the same as in GTA3. | ||
Line 140: | Line 154: | ||
*workerboat | *workerboat | ||
− | ===Wheels=== | + | ===Wheels{{Note|4}}=== |
− | Wheel models | + | Wheel models are located in the <code>wheels.DFF</code> file in the <code>models\generic</code> folder. Wheel textures are located in the <code>wheels.TXD</code> file in the <code>models\generic</code> folder. Wheels are defined in the <code>default.ide</code> file. |
{|{{Prettytable}} | {|{{Prettytable}} | ||
!ID | !ID |
Revision as of 05:37, 17 August 2009
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.
GTA III
Format
This section is mainly used in the 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[*] | |
Frequency of the vehicle spawning randomly on the streets | |
unknown | |
unknown | |
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 vehicle model Only available for type plane |
Class^
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. These are the classes that are available and used in the game.
- big
- executive
- ignore
- poorfamily
- richfamily
- special
- worker
Wheels^
Wheel models are located in the wheels.DFF
file in the models\Generic
folder. Wheel textures are located in the MISC.TXD
file in the models
folder. Wheels are defined in the default.ide
file.
ID | Image |
---|---|
160 | wheel_sport |
161 | wheel_saloon |
162 | wheel_lightvan |
163 | wheel_classic |
164 | wheel_alloy |
165 | wheel_lighttruck |
166 | wheel_smallcar |
Vice City
Format
This section is mainly used in the default.ide
file. Each type of vehicle has its own format.
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, 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, bike, boat, plane, and heli; flyable helicopters are 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[*] | |
Frequency of the vehicle spawning randomly on the streets | |
unknown | |
unknown | |
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 vehicle model Only available for type plane |
Class^
The function of the class of a vehicle is almost exactly the same as in GTA3.
- big
- executive
- ignore
- leisureboat
- moped
- motorbike
- normal
- poorfamily
- richfamily
- taxi
- worker
- workerboat
Wheels^
Wheel models are located in the wheels.DFF
file in the models\generic
folder. Wheel textures are located in the wheels.TXD
file in the models\generic
folder. Wheels are defined in the default.ide
file.
ID | Image |
---|---|
237 | wheel_rim |
238 | wheel_offroad |
239 | wheel_truck |
250 | wheel_sport |
251 | wheel_saloon |
252 | wheel_lightvan |
253 | wheel_classic |
254 | wheel_alloy |
255 | wheel_lighttruck |
256 | wheel_smallcar |
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 |