Difference between revisions of "018C"
Jump to navigation
Jump to search
(more sounds) |
(sounds easier to listen on my page) |
||
| Line 1: | Line 1: | ||
| − | {{Icon|trilogy}} '''ADD_ONE_OFF_SOUND''' | + | __NOTOC__{{Icon|trilogy}} '''ADD_ONE_OFF_SOUND''' |
<hr /> | <hr /> | ||
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| | <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| | ||
| Line 145: | Line 145: | ||
All the sounds are recorded directly from the game played directly at the viewport. | All the sounds are recorded directly from the game played directly at the viewport. | ||
{| class="wikitable" | {| class="wikitable" | ||
| − | ! Index || SFX || Enum || Notes | + | ! Index || SFX || Enum || Notes |
|- | |- | ||
| 1{{Ref|1|[*]}} | | 1{{Ref|1|[*]}} | ||
| Line 151: | Line 151: | ||
| SOUND_PART_MISSION_COMPLETE | | SOUND_PART_MISSION_COMPLETE | ||
| blip | | blip | ||
| − | |||
|- | |- | ||
| 3 | | 3 | ||
| Line 157: | Line 156: | ||
| SOUND_POLICE_CELL_DOOR_CLUNK | | SOUND_POLICE_CELL_DOOR_CLUNK | ||
| metal gate | | metal gate | ||
| − | |||
|- | |- | ||
| 5 | | 5 | ||
| Line 163: | Line 161: | ||
| SOUND_GARAGE_DOOR_CLUNK | | SOUND_GARAGE_DOOR_CLUNK | ||
| garage door finished open/close | | garage door finished open/close | ||
| − | |||
|- | |- | ||
| 7{{Ref|1|[*]}} | | 7{{Ref|1|[*]}} | ||
| Line 169: | Line 166: | ||
| SOUND_RACE_START_3 | | SOUND_RACE_START_3 | ||
| blip | | blip | ||
| − | |||
|- | |- | ||
| 8{{Ref|1|[*]}} | | 8{{Ref|1|[*]}} | ||
| Line 175: | Line 171: | ||
| SOUND_RACE_START_2 | | SOUND_RACE_START_2 | ||
| blip | | blip | ||
| − | |||
|- | |- | ||
| 9{{Ref|1|[*]}} | | 9{{Ref|1|[*]}} | ||
| Line 181: | Line 176: | ||
| SOUND_RACE_START_1 | | SOUND_RACE_START_1 | ||
| blip | | blip | ||
| − | |||
|- | |- | ||
| 10{{Ref|1|[*]}} | | 10{{Ref|1|[*]}} | ||
| Line 187: | Line 181: | ||
| SOUND_RACE_START_GO | | SOUND_RACE_START_GO | ||
| high pitch blip | | high pitch blip | ||
| − | |||
|- | |- | ||
| 12 | | 12 | ||
| Line 193: | Line 186: | ||
| SOUND_SHOOTING_RANGE_TARGET_HIT | | SOUND_SHOOTING_RANGE_TARGET_HIT | ||
| bullet hit ground, random selection between 162 and 164 | | bullet hit ground, random selection between 162 and 164 | ||
| − | |||
|- | |- | ||
| 13{{Ref|1|[*]}} | | 13{{Ref|1|[*]}} | ||
| Line 199: | Line 191: | ||
| SOUND_AMMUNATION_BUY_WEAPON | | SOUND_AMMUNATION_BUY_WEAPON | ||
| successful select | | successful select | ||
| − | |||
|- | |- | ||
| 14{{Ref|1|[*]}} | | 14{{Ref|1|[*]}} | ||
| − | | | + | | 361,362,363 |
| SOUND_AMMUNATION_BUY_WEAPON_DENIED | | SOUND_AMMUNATION_BUY_WEAPON_DENIED | ||
| unsuccessful select | | unsuccessful select | ||
| − | |||
|- | |- | ||
| 16{{Ref|1|[*]}} | | 16{{Ref|1|[*]}} | ||
| Line 211: | Line 201: | ||
| SOUND_IMRAN_ARM_BOMB | | SOUND_IMRAN_ARM_BOMB | ||
| Demolition Man and Trojan Voodoo arm bomb | | Demolition Man and Trojan Voodoo arm bomb | ||
| − | |||
|- | |- | ||
| 18 | | 18 | ||
| Line 217: | Line 206: | ||
| SOUND_WILLIE_CARD_SWIPE | | SOUND_WILLIE_CARD_SWIPE | ||
| No Escape? card swipe | | No Escape? card swipe | ||
| − | |||
|- | |- | ||
| 19 | | 19 | ||
| Line 223: | Line 211: | ||
| SOUND_MALE_AMBULANCE_OUCH | | SOUND_MALE_AMBULANCE_OUCH | ||
| intermittent male pain | | intermittent male pain | ||
| − | |||
|- | |- | ||
| 20 | | 20 | ||
| Line 229: | Line 216: | ||
| SOUND_FEMALE_AMBULANCE_OUCH | | SOUND_FEMALE_AMBULANCE_OUCH | ||
| intermittent female pain | | intermittent female pain | ||
| − | |||
|- | |- | ||
| 35 | | 35 | ||
| Line 235: | Line 221: | ||
| SOUND_SEAPLANE_LOW_FUEL | | SOUND_SEAPLANE_LOW_FUEL | ||
| Dildo Dodo low fuel ping | | Dildo Dodo low fuel ping | ||
| − | |||
|- | |- | ||
| 52-54 | | 52-54 | ||
| Line 241: | Line 226: | ||
| | | | ||
| bullet hit ground, random selection between 162 and 164 | | bullet hit ground, random selection between 162 and 164 | ||
| − | |||
|- | |- | ||
| 56 | | 56 | ||
| Line 247: | Line 231: | ||
| | | | ||
| ringing phone | | ringing phone | ||
| − | |||
|- | |- | ||
| 57 | | 57 | ||
| Line 253: | Line 236: | ||
| | | | ||
| glass breaking | | glass breaking | ||
| − | |||
|- | |- | ||
| 58 | | 58 | ||
| Line 259: | Line 241: | ||
| | | | ||
| glass breaking | | glass breaking | ||
| − | |||
|- | |- | ||
| 59 | | 59 | ||
| Line 265: | Line 246: | ||
| | | | ||
| glass breaking | | glass breaking | ||
| − | |||
|- | |- | ||
| 60 | | 60 | ||
| Line 271: | Line 251: | ||
| | | | ||
| glass breaking, random selection between 148 and 151 | | glass breaking, random selection between 148 and 151 | ||
| − | |||
|- | |- | ||
| 61 | | 61 | ||
| Line 277: | Line 256: | ||
| | | | ||
| boxes destroyed | | boxes destroyed | ||
| − | |||
|- | |- | ||
| 62 | | 62 | ||
| Line 283: | Line 261: | ||
| | | | ||
| boxes destroyed | | boxes destroyed | ||
| − | |||
|- | |- | ||
| 63 | | 63 | ||
| Line 289: | Line 266: | ||
| | | | ||
| metal sheet explosion, random selection between 136 and 140 | | metal sheet explosion, random selection between 136 and 140 | ||
| − | |||
|- | |- | ||
| 64 | | 64 | ||
| Line 295: | Line 271: | ||
| | | | ||
| tire hit ground | | tire hit ground | ||
| − | |||
|- | |- | ||
| 65 | | 65 | ||
| Line 301: | Line 276: | ||
| | | | ||
| beach ball | | beach ball | ||
| − | |||
|- | |- | ||
| 66 | | 66 | ||
| Line 307: | Line 281: | ||
| | | | ||
| bullet shell dropping | | bullet shell dropping | ||
| − | |||
|} | |} | ||
{{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 | ||
| Line 313: | Line 286: | ||
== Keywords == | == Keywords == | ||
add, play, create, sound, sfx | add, play, create, sound, sfx | ||
| + | |||
| + | == External link == | ||
| + | {{Icon|VC}} [http://spaceeinstein.altervista.org/018C.htm Listen to some of the sounds] | ||
[[Category:OpCodes]] | [[Category:OpCodes]] | ||
Revision as of 04:54, 13 March 2015
Description
- Adds a short sound effect at a point
Syntax
- 018C: play_sound [int] at [flt1] [flt2] [flt3]
Parameter
- [int]
- Sound index
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate
This opcode adds a short sound effect at a point. Certain sound effects are independent of the point and can be heard anywhere. The sound index does not match the SFX table; it is based on a list hardcoded within the game. Most of the SFX sounds are a combination of or altered from the base sound files.
GTA III
| Index | SFX | Enum | 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 | 147 | SOUND_GATE_START_CLUNK | gate start |
| 93 | 147 | 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 | 176-178 | bullet hit ground | |
| 112 | 283 | payphone | |
| 114-115 | 151 | glass break | |
| 116 | 150 | glass damage | |
| 117 | 152-155 | glass shards | |
| 118 | 327 | boxes destroyed | |
| 119 | 328 | boxes destroyed | |
| 120 | 140-144 | car collision | |
| 121 | 29 | tire collision | |
| 122-123 | 167 | bullet shells |
Vice City
All the sounds are recorded directly from the game played directly at the viewport.
| Index | SFX | Enum | Notes |
|---|---|---|---|
| 1[*] | 364,365,366 | SOUND_PART_MISSION_COMPLETE | blip |
| 3 | 143 | SOUND_POLICE_CELL_DOOR_CLUNK | metal gate |
| 5 | SOUND_GARAGE_DOOR_CLUNK | garage door finished open/close | |
| 7[*] | 364,365,366 | SOUND_RACE_START_3 | blip |
| 8[*] | 364,365,366 | SOUND_RACE_START_2 | blip |
| 9[*] | 364,365,366 | SOUND_RACE_START_1 | blip |
| 10[*] | 367,368,369 | SOUND_RACE_START_GO | high pitch blip |
| 12 | 162-164 | SOUND_SHOOTING_RANGE_TARGET_HIT | bullet hit ground, random selection between 162 and 164 |
| 13[*] | 361,362,363 | SOUND_AMMUNATION_BUY_WEAPON | successful select |
| 14[*] | 361,362,363 | SOUND_AMMUNATION_BUY_WEAPON_DENIED | unsuccessful select |
| 16[*] | 178 | SOUND_IMRAN_ARM_BOMB | Demolition Man and Trojan Voodoo arm bomb |
| 18 | 334 | SOUND_WILLIE_CARD_SWIPE | No Escape? card swipe |
| 19 | SOUND_MALE_AMBULANCE_OUCH | intermittent male pain | |
| 20 | SOUND_FEMALE_AMBULANCE_OUCH | intermittent female pain | |
| 35 | 465 | SOUND_SEAPLANE_LOW_FUEL | Dildo Dodo low fuel ping |
| 52-54 | 162-164 | bullet hit ground, random selection between 162 and 164 | |
| 56 | 267 | ringing phone | |
| 57 | 147 | glass breaking | |
| 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 | 339 | beach ball | |
| 66 | 156 | bullet shell dropping |
^ Doesn't depend on coordinates, can be heard no matter what coordinates is used
Keywords
add, play, create, sound, sfx