Difference between revisions of "018C"

From GTAMods Wiki
Jump to navigation Jump to search
(Vice City)
(updating page + sound names)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''ADD_ONE_OFF_SOUND'''
| ini        = 018C=4,%4d% at %1d% %2d% %3d%
+
<hr />
| description = Plays a short SFX sound
+
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
| p1          = sound ID
+
'''Description'''
| p2          = x-coordinate
+
: Plays a short sound effects sound
| p3          = y-coordinate
+
'''Syntax'''
| p4          = z-coordinate
+
: 018C: play_sound [''int''] at [''flt1''] [''flt2''] [''flt3'']
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
'''Parameter'''
}}
+
: [''int'']
This opcode plays a short SFX sound. Most of the SFX sounds are a combination of or altered from the base sound files.
+
:: Sound index
 +
: [''flt1'']
 +
:: X-coordinate
 +
: [''flt2'']
 +
:: Y-coordinate
 +
: [''flt3'']
 +
:: Z-coordinate
  
==GTA III==
+
This opcode plays a short sound effects ([[SFX]]) sound. Most of the SFX sounds are a combination of or altered from the base sound files.
 +
}}</onlyinclude>
 +
 
 +
== GTA III ==
 
{| {{Prettytable}}
 
{| {{Prettytable}}
! ID
+
! Index
 +
! Name
 
! Notes
 
! Notes
 
|-
 
|-
| 78-79
+
| 78
 +
| SOUND_INJURED_PED_MALE_OUCH_S
 
| male pain
 
| male pain
 
|-
 
|-
| 80-81
+
| 79
 +
| SOUND_INJURED_PED_MALE_OUCH_L
 +
| male pain
 +
|-
 +
| 80
 +
| SOUND_INJURED_PED_FEMALE_OUCH_S
 +
| female pain
 +
|-
 +
| 81
 +
| SOUND_INJURED_PED_FEMALE_OUCH_L
 
| female pain
 
| female pain
 
|-
 
|-
| 82-83{{Ref|1|[*]}}
+
| 82{{Ref|1|[*]}}
 +
| SOUND_EVIDENCE_PICKUP
 +
| item pickup
 +
|-
 +
| 83{{Ref|1|[*]}}
 +
| SOUND_UNLOAD_GOLD
 
| item pickup
 
| item pickup
 
|-
 
|-
| 92-93
+
| 92
| gate
+
| SOUND_GATE_START_CLUNK
 +
| [[Moving gate|gate]] start
 +
|-
 +
| 93
 +
| SOUND_GATE_STOP_CLUNK
 +
| gate stop
 
|-
 
|-
 
| 94{{Ref|1|[*]}}
 
| 94{{Ref|1|[*]}}
 +
| SOUND_PART_MISSION_COMPLETE
 
| checkpoint
 
| checkpoint
 
|-
 
|-
| 97-99{{Ref|1|[*]}}
+
| 97{{Ref|1|[*]}}
| countdown timer
+
| SOUND_RACE_START_3
 +
| countdown timer 3
 +
|-
 +
| 98{{Ref|1|[*]}}
 +
| SOUND_RACE_START_2
 +
| countdown timer 2
 +
|-
 +
| 99{{Ref|1|[*]}}
 +
| SOUND_RACE_START_1
 +
| countdown timer 1
 
|-
 
|-
 
| 100{{Ref|1|[*]}}
 
| 100{{Ref|1|[*]}}
 +
| SOUND_RACE_START_GO
 
| countdown finish
 
| countdown finish
 
|-
 
|-
 
| 106-108
 
| 106-108
 +
|
 
| bullet hit ground
 
| bullet hit ground
 
|-
 
|-
 
| 112
 
| 112
 +
|
 
| payphone
 
| payphone
 
|-
 
|-
 
| 114-115
 
| 114-115
 +
|
 
| glass break
 
| glass break
 
|-
 
|-
 
| 116
 
| 116
 +
|
 
| glass damage
 
| glass damage
 
|-
 
|-
 
| 117
 
| 117
 +
|
 
| glass shards
 
| glass shards
 
|-
 
|-
 
| 118-119
 
| 118-119
 +
|
 
| boxes
 
| boxes
 
|-
 
|-
 
| 120
 
| 120
 +
|
 
| car collision
 
| car collision
 
|-
 
|-
 
| 121
 
| 121
 +
|
 
| tire collision
 
| tire collision
 
|-
 
|-
 
| 122-123
 
| 122-123
 +
|
 
| bullet shells
 
| bullet shells
 
|}
 
|}
  
==Vice City==
+
== Vice City ==
 
{| {{Prettytable}}
 
{| {{Prettytable}}
! ID
+
! Index
 
! [[SFX#Vice_City|SFX sound]]
 
! [[SFX#Vice_City|SFX sound]]
 
! Notes
 
! Notes
Line 164: Line 214:
 
{{Note|1}} Doesn't depend on coordinates, can be heard no matter what coordinates is used
 
{{Note|1}} Doesn't depend on coordinates, can be heard no matter what coordinates is used
  
==Keywords==
+
== Keywords ==
 
play, create, sound, sfx
 
play, create, sound, sfx
 +
 +
[[Category:OpCodes]]

Revision as of 04:21, 12 January 2012

GTA III Vice City San Andreas ADD_ONE_OFF_SOUND


Description

Plays a short sound effects sound

Syntax

018C: play_sound [int] at [flt1] [flt2] [flt3]

Parameter

[int]
Sound index
[flt1]
X-coordinate
[flt2]
Y-coordinate
[flt3]
Z-coordinate

This opcode plays a short sound effects (SFX) sound. Most of the SFX sounds are a combination of or altered from the base sound files.

GTA III

Index Name Notes
78 SOUND_INJURED_PED_MALE_OUCH_S male pain
79 SOUND_INJURED_PED_MALE_OUCH_L male pain
80 SOUND_INJURED_PED_FEMALE_OUCH_S female pain
81 SOUND_INJURED_PED_FEMALE_OUCH_L female pain
82[*] SOUND_EVIDENCE_PICKUP item pickup
83[*] SOUND_UNLOAD_GOLD item pickup
92 SOUND_GATE_START_CLUNK gate start
93 SOUND_GATE_STOP_CLUNK gate stop
94[*] SOUND_PART_MISSION_COMPLETE checkpoint
97[*] SOUND_RACE_START_3 countdown timer 3
98[*] SOUND_RACE_START_2 countdown timer 2
99[*] SOUND_RACE_START_1 countdown timer 1
100[*] SOUND_RACE_START_GO countdown finish
106-108 bullet hit ground
112 payphone
114-115 glass break
116 glass damage
117 glass shards
118-119 boxes
120 car collision
121 tire collision
122-123 bullet shells

Vice City

Index SFX sound Notes
1[*] 364,365,366 blip
3 143 metal gate
7-9[*] 364,365,366 blip (same as 1)
10[*] 367,368,369 high pitch blip
12 162-163 bullet hit ground, random selection between 162 and 163
13[*] 361,362,363 successful select
14[*] ? unsuccessful select
16[*] 178 detonator blip
18 high pitch soft blip
19 intermittent male pain
20 intermittent female pain
35 465? ping
52-54 162-163 bullet hit ground, random selection between 162 and 163 (same as 12)
56 267 ringing phone
57-58 147 glass breaking
59 146 glass breaking
60 148-151 glass breaking, random selection between 148 and 151
61 327 boxes destroyed
62 328 boxes destroyed
63 136-140 metal sheet explosion, random selection between 136 and 140
64 33 tire hit ground
65 beach ball
66 156 bullet shell dropping

^ Doesn't depend on coordinates, can be heard no matter what coordinates is used

Keywords

play, create, sound, sfx