Difference between revisions of "057D"
(full list moved to Audio (folder, VC)) |
m |
||
Line 7: | Line 7: | ||
'''Parameter''' | '''Parameter''' | ||
: [''int''] | : [''int''] | ||
− | :: | + | :: Value of either 0 or 1 |
This opcode plays the bridge status audio over the radio. The audio will play once the player is in a vehicle. The radio station will abruptly stop and will play the audio. Once the audio is playing, radio stations cannot be switched. When the audio ends, the radio station will fade back in. The audio will play in any vehicles, even if the radio is turned off (Caddy) or if the vehicle doesn't have changeable radio stations (police vehicles). The audio can only be heard once so when the player exits the vehicle while the audio is playing and reenters it, the vehicle will play its normal radio station. | This opcode plays the bridge status audio over the radio. The audio will play once the player is in a vehicle. The radio station will abruptly stop and will play the audio. Once the audio is playing, radio stations cannot be switched. When the audio ends, the radio station will fade back in. The audio will play in any vehicles, even if the radio is turned off (Caddy) or if the vehicle doesn't have changeable radio stations (police vehicles). The audio can only be heard once so when the player exits the vehicle while the audio is playing and reenters it, the vehicle will play its normal radio station. |
Revision as of 05:36, 2 January 2015
Description
- Play announcement over the radio
Syntax
- 057D: play_bridge_status_mp3 [int]
Parameter
- [int]
- Value of either 0 or 1
This opcode plays the bridge status audio over the radio. The audio will play once the player is in a vehicle. The radio station will abruptly stop and will play the audio. Once the audio is playing, radio stations cannot be switched. When the audio ends, the radio station will fade back in. The audio will play in any vehicles, even if the radio is turned off (Caddy) or if the vehicle doesn't have changeable radio stations (police vehicles). The audio can only be heard once so when the player exits the vehicle while the audio is playing and reenters it, the vehicle will play its normal radio station.
Value | Enum | File name |
---|---|---|
0 | ANNOUNCEMENT_TRACK_BRIDGE_CLOSED | bclosed.mp3 |
1 | ANNOUNCEMENT_TRACK_BRIDGE_OPEN | bopen.mp3 |
This opcode can actually play any audio file within the Audio folder, not just the bridge announcement audio, and accepts negative and really high positive values. From the list of positions of Vice City's audio, offset the position by -15 to get the appropriate value. For example, a value of 6 - 15 = -9 can play the mall ambiance audio as the announcement, or a value of 56 - 15 = 41 can play the finale cutscene audio as the announcement.
Keywords
play, sound, mp3, bridge, status, announcement