vehicle Audio Loader

From GTAMods Wiki
Revision as of 18:31, 14 September 2011 by Fastman92 (talk | contribs) (Line parameters)
Jump to navigation Jump to search
Vehicle Audio Loader
Current version:1.0
Developed by:User.pngfastman92
Supported games:GTA SA
Type:ASI plugin
Website:http://www.gtagarage.com/mods/show.php?id=17919


The VehicleAudioSettings.cfg file is a text data file format that comes with Vehicle Audio Loader created by fastman92 which sets audio properties of vehicles in GTA San Andreas currently. The file can be opened and edited with any text editor.

Instalation

- Make sure you are using one of the following gta_sa.exe versions:

  • 1. GTA San Andreas v1.0 [US] HOODLUM No-CD Fixed EXE:

EXE size: 14 383 616 bytes

  • 2. GTA: San Andreas v1.01 [EURO] No-CD/Fixed EXE:

EXE size: 15 806 464 bytes

Vehicle Audio Loader is fully compatible with both of them, 1.0 US and 1.01 Euro No-CD shortly.

- Extract all files from "copy to GTA San Andreas from inside" in an archive to root of GTA San Andreas directory.

Format

vehicleAudioSettings.cfg is text file, being processed line by line. Empty lines or lines commented by a # sign at the beggining are ignored and skipped by the readVehiclesAudioSettings function which parses a file.

GTA San Andreas

Line parameters

Column Letter Column Name Type Description
A modelName string A model name of vehicle which is defined in IDE file. No matter if is standard or added vehicle.
B VehicleType __int16 Vehicle type, see table below.
C EngineOnSound __int16 Sound bank ID of accelerative, inhibitory engine.
D EngineOffSound __int16 Sound bank ID of stopped vehicle with enabled engine.
E field_4 __int16 Unknown __int16. Used values by R*: 0, 1, 2
G field_6 float Unknown float.
H HornTon signed char Not tested by the creator of plugin
I HornHigh float Not tested by the creator of plugin
J DoorSound signed char Not tested by the creator of plugin
K RadioNum char ID of default radio being enabled when player enter a vehicle.

If RadioType != 0 (civilian radio), RadioNum should equal to 13 (radio off)

L RadioType signed char Type of radio (-1 = no radio, 0 = civilian, 1 = special, 2 = may not exist, 3 = emergency)
M field_14 signed char Unknown.
N field_16 float Unknown float

RadioNum

This parameter determines a default radio automatically turned on when player enters a vehicle.

Radio ID Radio name
1 Playback FM
2 K Rose
3 K-DST
4 Bounce FM
5 SF-UR, San Fierro Underground Radio
6 Radio Los Santos
7 Radio X
8 CSR 103.9, Contemporary Soul Radio
9 K-JAH West
10 Master Sounds 98.3
11 WCTR, West Coast Talk Radio
12 User tracks
13 Radio Off

External links

fastman92 site