Difference between revisions of "018D"
Jump to navigation
Jump to search
(sound range and more notes) |
(iii has so many unused sounds) |
||
Line 20: | Line 20: | ||
== GTA III == | == GTA III == | ||
− | {| class="wikitable" | + | Many of GTA III's continuous sounds have soft and loud versions, and a lot of sounds were never used by the game. |
− | ! Index | + | {| class="wikitable sortable" |
− | + | ! Index || Enum || SFX || Range || style="width: 4em;" | Used in original SCM || Notes | |
− | + | |- | |
− | + | | 4 || || 390 || 30.0 || || | |
+ | |- | ||
+ | | 5 || || 390 || 80.0 || {{a|c}} | ✓ || Hepburn Heights northeast tower | ||
+ | |- | ||
+ | | 6 || || 391 || 30.0 || || | ||
+ | |- | ||
+ | | 7 || || 391 || 80.0 || {{a|c}} | ✓ || Hepburn Heights south tower | ||
+ | |- | ||
+ | | 8 || || 392 || 30.0 || || | ||
+ | |- | ||
+ | | 9 || || 392 || 80.0 || || | ||
+ | |- | ||
+ | | 10 || || 393 || 30.0 || || | ||
+ | |- | ||
+ | | 11 || || 393 || 80.0 || || | ||
+ | |- | ||
+ | | 12 || || 394 || 30.0 || || | ||
+ | |- | ||
+ | | 13 || || 394 || 80.0 || || | ||
+ | |- | ||
+ | | 14 || || 395 || 30.0 || || | ||
+ | |- | ||
+ | | 15 || || 395 || 80.0 || || | ||
+ | |- | ||
+ | | 16 || || 396 || 30.0 || || | ||
+ | |- | ||
+ | | 17 || || 396 || 80.0 || || | ||
+ | |- | ||
+ | | 18 || || 397 || 30.0 || || | ||
+ | |- | ||
+ | | 19 || || 397 || 80.0 || || | ||
+ | |- | ||
+ | | 20 || || 398 || 30.0 || || | ||
+ | |- | ||
+ | | 21 || || 398 || 80.0 || || | ||
+ | |- | ||
+ | | 22 || || 399 || 30.0 || || | ||
+ | |- | ||
+ | | 23 || || 399 || 80.0 || || | ||
+ | |- | ||
+ | | 24 || || 390 || 30.0 || || | ||
+ | |- | ||
+ | | 25 || || 390 || 80.0 || || | ||
+ | |- | ||
+ | | 26 || || 391 || 30.0 || || | ||
+ | |- | ||
+ | | 27 || || 391 || 80.0 || || | ||
+ | |- | ||
+ | | 28 || || 392 || 30.0 || || | ||
+ | |- | ||
+ | | 29 || || 392 || 80.0 || || | ||
+ | |- | ||
+ | | 30 || SOUND_<wbr>STRIP_<wbr>CLUB_<wbr>LOOP_<wbr>1_<wbr>S || 403 || 30.0 || {{a|c}} | ✓ || Meeouch Sex Kitten Club | ||
+ | |- | ||
+ | | 31 || SOUND_<wbr>STRIP_<wbr>CLUB_<wbr>LOOP_<wbr>1_<wbr>L || 403 || 80.0 || || | ||
+ | |- | ||
+ | | 32 || SOUND_<wbr>STRIP_<wbr>CLUB_<wbr>LOOP_<wbr>2_<wbr>S || 404 || 30.0 || {{a|c}} | ✓ || Sex Club Seven | ||
+ | |- | ||
+ | | 33 || SOUND_<wbr>STRIP_<wbr>CLUB_<wbr>LOOP_<wbr>2_<wbr>L || 404 || 80.0 || || | ||
+ | |- | ||
+ | | 34 || || 405 || 30.0 || || | ||
+ | |- | ||
+ | | 35 || || 405 || 30.0 || || | ||
+ | |- | ||
+ | | 36 || SOUND_<wbr>SAWMILL_<wbr>LOOP_<wbr>S || 407-408 || 30.0 || || Combinations of sounds with pauses between playing 408 | ||
+ | |- | ||
+ | | 37 || SOUND_<wbr>SAWMILL_<wbr>LOOP_<wbr>L || 407-408 || 30.0 || {{a|c}} | ✓ || Liberty City Sawmills/Bitch'N' Dog Food, same behavior as index 36 | ||
+ | |- | ||
+ | | 38 || || 409 || 30.0 || || | ||
+ | |- | ||
+ | | 39 || || 409 || 80.0 || || | ||
+ | |- | ||
+ | | 40 || || 410-411 || 30.0 || || Combinations of sounds | ||
+ | |- | ||
+ | | 41 || || 410-411 || 30.0 || {{a|c}} | ✓ || Mr. Wong's Laundrette, combinations of sounds | ||
+ | |- | ||
+ | | 42 || || 412 || 30.0 || {{a|c}} | ✓ || Roast Peking Duck | ||
+ | |- | ||
+ | | 43 || || 412 || 80.0 || || | ||
+ | |- | ||
+ | | 44 || || 413 || 30.0 || {{a|c}} | ✓ || Cipriani's Ristorante | ||
+ | |- | ||
+ | | 45 || || 413 || 80.0 || || | ||
+ | |- | ||
+ | | 46 || || 414 || 30.0 || || | ||
+ | |- | ||
+ | | 47 || || 414 || 30.0 || || | ||
+ | |- | ||
+ | | 48 || || 415 || 30.0 || {{a|c}} | ✓ || Marco's Bistro (no sound) | ||
+ | |- | ||
+ | | 49 || || 415 || 80.0 || || | ||
+ | |- | ||
+ | | 50 || || 416-419 || 30.0 || || Plays occasionally | ||
+ | |- | ||
+ | | 51 || || 416-419 || 80.0 || {{a|c}} | ✓ || Francis International Terminal B, plays occasionally | ||
+ | |- | ||
+ | | 52 || || 420-422 || 30.0 || || | ||
+ | |- | ||
+ | | 53 || || 420-422 || 30.0 || {{a|c}} | ✓ || Chinatown (no sound) | ||
+ | |- | ||
+ | | 54 || || 423-425 || 30.0 || || Plays sounds separately with pauses in between | ||
|- | |- | ||
− | | | + | | 55 || || 423-425 || 80.0 || || Plays sounds separately with pauses in between |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 56 || || 426 || 30.0 || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 57 || || 426 || 80.0 || {{a|c}} | ✓ || Portland Docks (no sound) |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 58 || || 427-431 || 30.0 || || Plays sounds separately with pauses in between |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 59 || || 427-431 || 80.0 || {{a|c}} | ✓ || Hepburn Heights north tower, plays sounds separately with pauses in between |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | 30 | + | | 60 || || 406 || 30.0 || {{a|c}} | ✓ || Salvatore's place |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 61 || || 406 || 80.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 62 || SOUND_<wbr>PORN_<wbr>CINEMA_<wbr>1_<wbr>S || 432 || 20.0 || {{a|c}} | ✓ || South of Sex Club Seven |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 63 || SOUND_<wbr>PORN_<wbr>CINEMA_<wbr>1_<wbr>L || 432 || 80.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 64 || SOUND_<wbr>PORN_<wbr>CINEMA_<wbr>2_<wbr>S || 435 || 20.0 || {{a|c}} | ✓ || East of Portland Pay 'N' Spray |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 65 || SOUND_<wbr>PORN_<wbr>CINEMA_<wbr>2_<wbr>L || 435 || 80.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 66 || SOUND_<wbr>PORN_<wbr>CINEMA_<wbr>3_<wbr>S || 438 || 20.0 || {{a|c}} | ✓ || Executive Relief |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 67 || SOUND_<wbr>PORN_<wbr>CINEMA_<wbr>3_<wbr>L || 438 || 80.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 68 || SOUND_<wbr>BANK_<wbr>ALARM_<wbr>LOOP_<wbr>S || 442 || 30.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 69 || SOUND_<wbr>BANK_<wbr>ALARM_<wbr>LOOP_<wbr>L || 442 || 80.0 || {{a|c}} | ✓ || Bank of Liberty/Staunton police HQ alarm |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 70 || SOUND_<wbr>POLICE_<wbr>BALL_<wbr>LOOP_<wbr>S || 441 || 30.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 71 || SOUND_<wbr>POLICE_<wbr>BALL_<wbr>LOOP_<wbr>L || 441 || 80.0 || {{a|c}} | ✓ || Old school hall |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 72 || SOUND_<wbr>RAVE_<wbr>LOOP_<wbr>INDUSTRIAL_<wbr>S || 443 || 30.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 73 || SOUND_<wbr>RAVE_<wbr>LOOP_<wbr>INDUSTRIAL_<wbr>L || 443 || 80.0 || {{a|c}} | ✓ || Warehouse rave |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 76 || SOUND_<wbr>POLICE_<wbr>CELL_<wbr>BEATING_<wbr>LOOP_<wbr>S || 179-184 || 30.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 77 || SOUND_<wbr>POLICE_<wbr>CELL_<wbr>BEATING_<wbr>LOOP_<wbr>L || 179-184 || 80.0 || {{a|c}} | ✓ || Staunton police HQ |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 84 || || 444 || 30.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 85 || || 444 || 80.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 86 || || 444 || 30.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 87 || || 444 || 80.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 88 || || 445 || 30.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | | + | | 89 || || 445 || 80.0 || || |
− | | | ||
− | | | ||
− | | | ||
|- | |- | ||
− | | 91 | + | | 91 || || 339-440 || || {{a|c}} | ✓ || Hepburn Heights BF Injection |
− | | | ||
− | | 339-440 | ||
− | | Hepburn Heights BF Injection | ||
|- | |- | ||
− | | 102 | + | | 102 || SOUND_<wbr>PRETEND_<wbr>FIRE_<wbr>LOOP || 157 || 50.0 || {{a|c}} | ✓ || Callahan Bridge fire |
− | | | ||
− | | 157 | ||
− | | Callahan Bridge fire | ||
|} | |} | ||
Line 176: | Line 189: | ||
! Index || Enum{{ref|1}} || SFX{{ref|2}} || Range || Notes | ! Index || Enum{{ref|1}} || SFX{{ref|2}} || Range || Notes | ||
|- | |- | ||
− | | 0 || | + | | 0 || SOUND_<wbr>BANK_<wbr>ALARM_<wbr>LOOP || 470 || 80.0 || alarm |
|- | |- | ||
− | | 2 || | + | | 2 || SOUND_<wbr>POLICE_<wbr>CELL_<wbr>DOOR_<wbr>SLIDING_<wbr>LOOP || 176 || 80.0 || gate open/close |
|- | |- | ||
− | | 4 || | + | | 4 || SOUND_<wbr>GARAGE_<wbr>DOOR_<wbr>SLIDING_<wbr>LOOP || 176 || 80.0 || gate open/close |
|- | |- | ||
− | | 6 || | + | | 6 || SOUND_<wbr>SNORING_<wbr>LOOP || 471 || 6.0 || "No Escape?" snoring |
|- | |- | ||
− | | 11 || | + | | 11 || SOUND_<wbr>SHOOTING_<wbr>RANGE_<wbr>TARGET_<wbr>MOVING_<wbr>LOOP || 331 || 40.0 || Moving shooting range target |
|- | |- | ||
− | | 36 || | + | | 36 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>BAR_<wbr>1 || 472 || 80.0 || Greasy Choppers "Alloy Wheels of Steel" |
|- | |- | ||
− | | 37 || | + | | 37 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>BAR_<wbr>2 || 473 || 80.0 || Greasy Choppers "Messing with the Man" |
|- | |- | ||
− | | 38 || | + | | 38 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>BAR_<wbr>3 || 474 || 80.0 || Greasy Choppers "Hog Tied" |
|- | |- | ||
− | | 39 || | + | | 39 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>BAR_<wbr>4 || 475 || 80.0 || Greasy Choppers (unused) |
|- | |- | ||
− | | 40 || | + | | 40 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>MALIBU_<wbr>1 || 476 || 80.0 || Malibu Club night, will not play if [[Audio (folder, VC)|Malibu.mp3]] is playing in the background |
|- | |- | ||
− | | 41 || | + | | 41 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>MALIBU_<wbr>2 || 477 || 80.0 || Malibu Club day, will not play if Malibu.mp3 is playing in the background |
|- | |- | ||
− | | 42 || | + | | 42 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>MALIBU_<wbr>3 || 478 || 80.0 || Malibu Club evening, will not play if Malibu.mp3 is playing in the background |
|- | |- | ||
− | | 43 || | + | | 43 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>STRIP_<wbr>1 || 479 || 80.0 || Pole Position night, will not play if [[Audio (folder, VC)|Strip.mp3]] is playing in the background |
|- | |- | ||
− | | 44 || | + | | 44 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>STRIP_<wbr>2 || 480 || 80.0 || Pole Position day, will not play if Strip.mp3 is playing in the background |
|- | |- | ||
− | | 45 || | + | | 45 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>STRIP_<wbr>3 || 481 || 80.0 || Pole Position evening, will not play if Strip.mp3 is playing in the background |
|- | |- | ||
− | | 46 || | + | | 46 || SOUND_<wbr>NEW_<wbr>BUILDING_<wbr>CHURCH || 482 || 80.0 || South Washington Beach church |
|- | |- | ||
− | | 51 || | + | | 51 || SOUND_<wbr>NEW_<wbr>WATERFALL || 316 || 80.0 || Fountain |
|} | |} | ||
Revision as of 18:10, 16 March 2015
Description
- Adds a continuous looping sound effect at a point
Syntax
- 018D: [var] = create_sound [int] at [flt1] [flt2] [flt3]
Parameter
- [var]
- Variable to store the handle of the sound
- [int]
- Sound index
- [flt1]
- X-coordinate
- [flt2]
- Y-coordinate
- [flt3]
- Z-coordinate
This opcode adds a continuous looping sound effect at a point. The sound index does not match the SFX table; it is based on a list hardcoded within the game. Some of these sounds uses combination of SFX sounds and custom settings like different frequencies. Sounds can be stopped by calling opcode 018E.
GTA III
Many of GTA III's continuous sounds have soft and loud versions, and a lot of sounds were never used by the game.
Index | Enum | SFX | Range | Used in original SCM | Notes |
---|---|---|---|---|---|
4 | 390 | 30.0 | |||
5 | 390 | 80.0 | ✓ | Hepburn Heights northeast tower | |
6 | 391 | 30.0 | |||
7 | 391 | 80.0 | ✓ | Hepburn Heights south tower | |
8 | 392 | 30.0 | |||
9 | 392 | 80.0 | |||
10 | 393 | 30.0 | |||
11 | 393 | 80.0 | |||
12 | 394 | 30.0 | |||
13 | 394 | 80.0 | |||
14 | 395 | 30.0 | |||
15 | 395 | 80.0 | |||
16 | 396 | 30.0 | |||
17 | 396 | 80.0 | |||
18 | 397 | 30.0 | |||
19 | 397 | 80.0 | |||
20 | 398 | 30.0 | |||
21 | 398 | 80.0 | |||
22 | 399 | 30.0 | |||
23 | 399 | 80.0 | |||
24 | 390 | 30.0 | |||
25 | 390 | 80.0 | |||
26 | 391 | 30.0 | |||
27 | 391 | 80.0 | |||
28 | 392 | 30.0 | |||
29 | 392 | 80.0 | |||
30 | SOUND_ |
403 | 30.0 | ✓ | Meeouch Sex Kitten Club |
31 | SOUND_ |
403 | 80.0 | ||
32 | SOUND_ |
404 | 30.0 | ✓ | Sex Club Seven |
33 | SOUND_ |
404 | 80.0 | ||
34 | 405 | 30.0 | |||
35 | 405 | 30.0 | |||
36 | SOUND_ |
407-408 | 30.0 | Combinations of sounds with pauses between playing 408 | |
37 | SOUND_ |
407-408 | 30.0 | ✓ | Liberty City Sawmills/Bitch'N' Dog Food, same behavior as index 36 |
38 | 409 | 30.0 | |||
39 | 409 | 80.0 | |||
40 | 410-411 | 30.0 | Combinations of sounds | ||
41 | 410-411 | 30.0 | ✓ | Mr. Wong's Laundrette, combinations of sounds | |
42 | 412 | 30.0 | ✓ | Roast Peking Duck | |
43 | 412 | 80.0 | |||
44 | 413 | 30.0 | ✓ | Cipriani's Ristorante | |
45 | 413 | 80.0 | |||
46 | 414 | 30.0 | |||
47 | 414 | 30.0 | |||
48 | 415 | 30.0 | ✓ | Marco's Bistro (no sound) | |
49 | 415 | 80.0 | |||
50 | 416-419 | 30.0 | Plays occasionally | ||
51 | 416-419 | 80.0 | ✓ | Francis International Terminal B, plays occasionally | |
52 | 420-422 | 30.0 | |||
53 | 420-422 | 30.0 | ✓ | Chinatown (no sound) | |
54 | 423-425 | 30.0 | Plays sounds separately with pauses in between | ||
55 | 423-425 | 80.0 | Plays sounds separately with pauses in between | ||
56 | 426 | 30.0 | |||
57 | 426 | 80.0 | ✓ | Portland Docks (no sound) | |
58 | 427-431 | 30.0 | Plays sounds separately with pauses in between | ||
59 | 427-431 | 80.0 | ✓ | Hepburn Heights north tower, plays sounds separately with pauses in between | |
60 | 406 | 30.0 | ✓ | Salvatore's place | |
61 | 406 | 80.0 | |||
62 | SOUND_ |
432 | 20.0 | ✓ | South of Sex Club Seven |
63 | SOUND_ |
432 | 80.0 | ||
64 | SOUND_ |
435 | 20.0 | ✓ | East of Portland Pay 'N' Spray |
65 | SOUND_ |
435 | 80.0 | ||
66 | SOUND_ |
438 | 20.0 | ✓ | Executive Relief |
67 | SOUND_ |
438 | 80.0 | ||
68 | SOUND_ |
442 | 30.0 | ||
69 | SOUND_ |
442 | 80.0 | ✓ | Bank of Liberty/Staunton police HQ alarm |
70 | SOUND_ |
441 | 30.0 | ||
71 | SOUND_ |
441 | 80.0 | ✓ | Old school hall |
72 | SOUND_ |
443 | 30.0 | ||
73 | SOUND_ |
443 | 80.0 | ✓ | Warehouse rave |
76 | SOUND_ |
179-184 | 30.0 | ||
77 | SOUND_ |
179-184 | 80.0 | ✓ | Staunton police HQ |
84 | 444 | 30.0 | |||
85 | 444 | 80.0 | |||
86 | 444 | 30.0 | |||
87 | 444 | 80.0 | |||
88 | 445 | 30.0 | |||
89 | 445 | 80.0 | |||
91 | 339-440 | ✓ | Hepburn Heights BF Injection | ||
102 | SOUND_ |
157 | 50.0 | ✓ | Callahan Bridge fire |
Vice City
Index | Enum[1] | SFX[2] | Range | Notes |
---|---|---|---|---|
0 | SOUND_ |
470 | 80.0 | alarm |
2 | SOUND_ |
176 | 80.0 | gate open/close |
4 | SOUND_ |
176 | 80.0 | gate open/close |
6 | SOUND_ |
471 | 6.0 | "No Escape?" snoring |
11 | SOUND_ |
331 | 40.0 | Moving shooting range target |
36 | SOUND_ |
472 | 80.0 | Greasy Choppers "Alloy Wheels of Steel" |
37 | SOUND_ |
473 | 80.0 | Greasy Choppers "Messing with the Man" |
38 | SOUND_ |
474 | 80.0 | Greasy Choppers "Hog Tied" |
39 | SOUND_ |
475 | 80.0 | Greasy Choppers (unused) |
40 | SOUND_ |
476 | 80.0 | Malibu Club night, will not play if Malibu.mp3 is playing in the background |
41 | SOUND_ |
477 | 80.0 | Malibu Club day, will not play if Malibu.mp3 is playing in the background |
42 | SOUND_ |
478 | 80.0 | Malibu Club evening, will not play if Malibu.mp3 is playing in the background |
43 | SOUND_ |
479 | 80.0 | Pole Position night, will not play if Strip.mp3 is playing in the background |
44 | SOUND_ |
480 | 80.0 | Pole Position day, will not play if Strip.mp3 is playing in the background |
45 | SOUND_ |
481 | 80.0 | Pole Position evening, will not play if Strip.mp3 is playing in the background |
46 | SOUND_ |
482 | 80.0 | South Washington Beach church |
51 | SOUND_ |
316 | 80.0 | Fountain |
- ^ Enums are from Wesser's GTA III/VC definitions.
- ^ These values correspond to an SFX entry. The range is how far the player can be in meters before the sound diminishes. The association between the sound and SFX is hardcoded. For VC v1.0, the location of the array starts at 0x6B2AEC.
Keywords
add, create, sound, loop, sfx
See also
- 018C, add one off sound