018D

From GTAMods Wiki
Revision as of 18:46, 9 February 2012 by Spaceeinstein (talk | contribs)
Jump to navigation Jump to search

GTA III Vice City ADD_CONTINUOUS_SOUND


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 through opcode 018E.

GTA III

Index Sfx Name Notes
4 390 unused
5 390 Hepburn Heights northeast tower
6 391 unused
7 391 Hepburn Heights south tower
8 392 unused
30 SOUND_STRIP_CLUB_LOOP_1_S Meeouch Sex Kitten Club
32 SOUND_STRIP_CLUB_LOOP_2_S Sex Club Seven
37 407/408 SOUND_SAWMILL_LOOP_L Liberty City Sawmills/Bitch'N' Dog Food
41 410-411 Mr. Wong's Laundrette
42 412 Roast Peking Duck
44 413 Cipriani's Ristorante
48 Marco's Bistro (no sound)
51 416-419 Francis International Terminal B
53 Chinatown (no sound)
57 Portland Docks (no sound)
59 427-431 Hepburn Heights north tower
60 406 Salvatore's place
62 SOUND_PORN_CINEMA_1_S South of Sex Club Seven
64 SOUND_PORN_CINEMA_2_S East of Portland Pay 'N' Spray
66 SOUND_PORN_CINEMA_3_S Executive Relief
69 442 SOUND_BANK_ALARM_LOOP_L Bank of Liberty/Staunton police HQ alarm
70 441 unused
71 441 SOUND_POLICE_BALL_LOOP_L Old school hall
72 443 unused
73 443 SOUND_RAVE_LOOP_INDUSTRIAL_L Warehouse rave
76 179-184 unused
77 179-184 SOUND_POLICE_CELL_BEATING_LOOP_L Staunton police HQ
91 339-440 Hepburn Heights BF Injection
102 157 SOUND_PRETEND_FIRE_LOOP Callahan Bridge fire


Vice City

Index Sfx Notes
0 470 alarm
2/4 176 gate open/close
6 471 snoring
11 331 Moving shooting range target
36 472 Greasy Choppers "Alloy Wheels of Steel"
37 473 Greasy Choppers "Messing with the Man"
38 474 Greasy Choppers "Hog Tied"
39 475 Greasy Choppers (unused)
40 476 Malibu Club night
41 477 Malibu Club day
42 478 Malibu Club evening
43 479 Pole Position night
44 480 Pole Position day
45 481 Pole Position evening
46 482 South Washington Beach church
51 316 Fountain

Keywords

add, create, sound, loop, sfx