Surfaud.dat: Difference between revisions

standard table
m (clean up, replaced: {{lowercase}} → {{lowercase title}})
(standard table)
 
Line 1: Line 1:
{{lowercase title}}
{{lowercase title}}
<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 [[Grand Theft Auto: 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-square|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.


{{gtasa}}
{{fdl}}
[[Category:Map Formats]]{{fdl}}
[[Category:Map Formats]]
12,236

edits