CARS (IDE Section)

From GTAMods Wiki
Revision as of 04:08, 14 August 2009 by Spaceeinstein (talk | contribs) (GTA III - Vice City)
Jump to navigation Jump to search
CARS (IDE Section) (IDE section)
Supported games:GTA III, GTA VC, GTA SA, GTA IV
Brief description:Used to define vehicles
IDE Sections:
2DFX AMAT ANIM CARS HIER HAND MLO OBJS
PATH PEDS TANM TOBJ TREE TXDP WEAP

CARS is a section in the item definition file. It is used to define vehicles and some their properties.

GTA III - Vice City

Format

This section is mainly used in the default.ide file.

ID, ModelName, TxdName, Type, HandlingID, GameName, Anims, Class, Frequency, Level,
Comprules, WheelID, WheelScale
Identifier Description
ID
Unique model ID
ModelName
Name of the .dff model file, without extension
TxdName
Name of the .txd texture dictionary, without extension
Type
Type of vehicle, which includes car, boat, plane, and, for Vice City only, bike and heli. Heli and plane are used only for NPC aircrafts.
HandlingID
Name corresponding to its handling data in the handling.cfg file.
GameName
Name corresponding to its GXT entry, must be seven characters or less
Anims
Appropriate animation file mainly used on bikes
Class
Class of the vehicle
Frequency
Level
Comprules
WheelID
Wheel model ID, not available for type "boat" and special for bikes
WheelScale
not available for type "boat"

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.

GTA3

  • big
  • executive
  • ignore
  • poorfamily
  • richfamily
  • special
  • worker

Vice City

  • big
  • executive
  • ignore
  • leisureboat
  • moped
  • motorbike
  • normal
  • poorfamily
  • richfamily
  • taxi
  • worker
  • workerboat

Wheels

Wheel models and textures are located in the models folder in the game's directory.

GTA3 Vice City
ID Image ID Image
160 wheel_sport 237 wheel_rim
161 wheel_saloon 238 wheel_offroad
162 wheel_lightvan 239 wheel_truck
163 wheel_classic 250 wheel_sport
164 wheel_alloy 251 wheel_saloon
165 wheel_lighttruck 252 wheel_lightvan
166 wheel_smallcar 253 wheel_classic
254 wheel_alloy
255 wheel_lighttruck
256 wheel_smallcar