018D

From GTAMods Wiki
Revision as of 05:48, 9 February 2012 by Spaceeinstein (talk | contribs) (Created page with "{{Icon|3}} {{Icon|VC}} '''ADD_CONTINUOUS_SOUND''' <hr /> <onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode| '''Description''' : Adds a continuous looping sound effect...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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. Sounds can be stopped through opcode 018E.

Vice City

Index Sfx Notes
0 470 alarm
2/4 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, sfx