Difference between revisions of "Surfaud.dat"

From GTAMods Wiki
Jump to navigation Jump to search
(standard table)
 
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
<code>surfaud.dat</code> is a '''surface audio''' file located in the <code>...\data</code> directory for San Andreas. It assigns audio to a collision when objects interact with the surfaces. The interactions include the footsteps peds make and vehicles sliding on the surface.
+
<code>surfaud.dat</code> is a '''surface audio''' file located in the <code>.\data</code> directory for San Andreas. It assigns audio to a collision when objects interact with the surfaces. The interactions include the footsteps peds make and vehicles sliding on the surface.
  
==Data==
+
== Format ==
{|
+
{|class="wikitable center-col-1 center-col-2" style="width: 100%;"
! Audio
+
!style="width: 3em;" |{{Icon|SA}}
! Description
+
!style="width: 12em;" |Identifier
 +
!style="width: 6em;" |Type
 +
!Description
 
|-
 
|-
| CON
+
|A ||Surface name ||string ||Name of the surface as defined in the [[surfinfo.dat]]
| concrete
 
 
|-
 
|-
| GRS
+
|B ||Is concrete ||integer ||
| grass
 
 
|-
 
|-
| SND
+
|C ||Is grass ||integer ||
| sand
 
 
|-
 
|-
| GRV
+
|D ||Is sand ||integer ||
| gravel
 
 
|-
 
|-
| WOD
+
|E ||Is gravel ||integer ||
| wood
 
 
|-
 
|-
| WTR
+
|F ||Is wood ||integer ||
| water
 
 
|-
 
|-
| MTL
+
|G ||Is water ||integer ||
| metal
 
 
|-
 
|-
| LGS
+
|H ||Is metal ||integer ||
| long grass
 
 
|-
 
|-
| TIL
+
|I ||Is long grass||integer ||
| tile
+
|-
 +
|J ||Is tile ||integer ||
 
|}
 
|}
  
== Content ==
+
To assign an audio to a surface, place a "1" in the corresponding column. You can assign more than one audio for each surface to create unique sound effects like creating mud.
There are ten columns in each line. The first column is the name of the surface as defined in the [[surfinfo.dat]]. The rest of the columns are the audio data in the order as shown above. To assign an audio to a surface, place a "1" in the corresponding column. You can assign more than one audio for each surface to create unique sound effects like creating mud.
 
  
 
{{SA-navi}}
 
{{SA-navi}}
 
[[Category:Map Formats]]
 
[[Category:Map Formats]]

Latest revision as of 05:01, 7 July 2017

surfaud.dat is a surface audio file located in the .\data directory for San Andreas. It assigns audio to a collision when objects interact with the surfaces. The interactions include the footsteps peds make and vehicles sliding on the surface.

Format

San Andreas Identifier Type Description
A Surface name string Name of the surface as defined in the surfinfo.dat
B Is concrete integer
C Is grass integer
D Is sand integer
E Is gravel integer
F Is wood integer
G Is water integer
H Is metal integer
I Is long grass integer
J Is tile integer

To assign an audio to a surface, place a "1" in the corresponding column. You can assign more than one audio for each surface to create unique sound effects like creating mud.