Difference between revisions of "Vehicle Audio Loader"
(→Line parameters) |
|||
Line 34: | Line 34: | ||
! Column Letter | ! Column Letter | ||
! Column Name | ! Column Name | ||
+ | ! Type | ||
! Description | ! Description | ||
|- | |- | ||
| A | | A | ||
| modelName | | modelName | ||
+ | | string | ||
| A model name of vehicle which is defined in IDE file. No matter if is standard or added vehicle. | | A model name of vehicle which is defined in IDE file. No matter if is standard or added vehicle. | ||
|- | |- | ||
| B | | B | ||
| VehicleType | | VehicleType | ||
+ | | __int16 | ||
| Vehicle type, see table below. | | Vehicle type, see table below. | ||
|- | |- | ||
| C | | C | ||
| EngineOnSound | | EngineOnSound | ||
+ | | __int16 | ||
| Sound bank ID of accelerative, inhibitory engine. | | Sound bank ID of accelerative, inhibitory engine. | ||
|- | |- | ||
| D | | D | ||
| EngineOffSound | | EngineOffSound | ||
+ | | __int16 | ||
| Sound bank ID of stopped vehicle with enabled engine. | | Sound bank ID of stopped vehicle with enabled engine. | ||
|- | |- | ||
| E | | E | ||
| field_4 | | field_4 | ||
+ | | __int16 | ||
| Unknown __int16. Used values by R*: 0, 1, 2 | | Unknown __int16. Used values by R*: 0, 1, 2 | ||
|- | |- | ||
| G | | G | ||
| field_6 | | field_6 | ||
+ | | float | ||
| Unknown float. | | Unknown float. | ||
|- | |- | ||
| H | | H | ||
| HornTon | | HornTon | ||
+ | | signed char | ||
| Not tested by the creator of plugin | | Not tested by the creator of plugin | ||
|- | |- | ||
| I | | I | ||
| HornHigh | | HornHigh | ||
+ | | float | ||
| Not tested by the creator of plugin | | Not tested by the creator of plugin | ||
|- | |- | ||
| J | | J | ||
| DoorSound | | DoorSound | ||
+ | | signed char | ||
| Not tested by the creator of plugin | | Not tested by the creator of plugin | ||
|- | |- | ||
| K | | K | ||
| RadioNum | | RadioNum | ||
+ | | char | ||
| ID of default radio being enabled when player enter a vehicle. | | ID of default radio being enabled when player enter a vehicle. | ||
If RadioType != 0 (civilian radio), RadioNum should equal to 13 (radio off) | If RadioType != 0 (civilian radio), RadioNum should equal to 13 (radio off) | ||
Line 79: | Line 90: | ||
| L | | L | ||
| RadioType | | RadioType | ||
+ | | signed char | ||
| Type of radio (-1 = no radio, 0 = civilian, 1 = special, 2 = may not exist, 3 = emergency) | | Type of radio (-1 = no radio, 0 = civilian, 1 = special, 2 = may not exist, 3 = emergency) | ||
|- | |- | ||
| M | | M | ||
| field_14 | | field_14 | ||
− | | Unknown. | + | | signed char |
+ | | Unknown. | ||
|- | |- | ||
| N | | N | ||
| field_16 | | field_16 | ||
+ | | float | ||
| Unknown float | | Unknown float | ||
|} | |} | ||
Line 136: | Line 150: | ||
| Radio Off | | Radio Off | ||
|} | |} | ||
− | |||
== External links == | == External links == |
Revision as of 18:31, 14 September 2011
Current version: | 1.0 |
---|---|
Developed by: | fastman92 |
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.
Contents
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
- GTAGarage: Vehicle Audio Loader download page
- GTAForums: Vehicle Audio Loader topic