Difference between revisions of "057D"
m |
(page updates) |
||
Line 1: | Line 1: | ||
− | {{ | + | __NOTOC__ |
− | + | {{Icon|VC}} '''PLAY_ANNOUNCEMENT''' | |
− | + | <hr /> | |
− | + | '''Description''' | |
− | + | : Play announcement over the radio | |
− | + | '''Syntax''' | |
− | + | : 057D: play_bridge_status_mp3 [''int''] | |
+ | '''Parameter''' | ||
+ | : [''int''] | ||
+ | :: Audio ID | ||
− | ==List of audio IDs== | + | This opcode plays the bridge status audio over the radio. Values 0 (bclosed.mp3) and 1 (bopen.mp3) are used in the game. 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. |
− | + | ||
− | {| | + | == List of audio IDs == |
− | + | === Default === | |
− | + | {| class="wikitable" | |
! ID | ! ID | ||
! File name | ! File name | ||
Line 20: | Line 23: | ||
| 1 | | 1 | ||
| bopen.mp3 | | bopen.mp3 | ||
+ | |} | ||
+ | |||
+ | === Extended === | ||
+ | This opcode can actually play any audio file within the Audio folder, not just the bridge announcement audio. | ||
+ | {| | ||
+ | | valign="top" | | ||
+ | {| class="wikitable" | ||
+ | ! ID | ||
+ | ! File name | ||
|- | |- | ||
| 2 | | 2 | ||
Line 79: | Line 91: | ||
|} | |} | ||
| valign="top" | | | valign="top" | | ||
− | {| | + | {| class="wikitable" |
! ID | ! ID | ||
! File name | ! File name | ||
Line 147: | Line 159: | ||
|} | |} | ||
| valign="top" | | | valign="top" | | ||
− | {| | + | {| class="wikitable" |
! ID | ! ID | ||
! File name | ! File name | ||
Line 215: | Line 227: | ||
|} | |} | ||
| valign="top" | | | valign="top" | | ||
− | {| | + | {| class="wikitable" |
! ID | ! ID | ||
! File name | ! File name | ||
Line 283: | Line 295: | ||
|} | |} | ||
| valign="top" | | | valign="top" | | ||
− | {| | + | {| class="wikitable" |
! ID | ! ID | ||
! File name | ! File name | ||
Line 351: | Line 363: | ||
|} | |} | ||
| valign="top" | | | valign="top" | | ||
− | {| | + | {| class="wikitable" |
! ID | ! ID | ||
! File name | ! File name | ||
Line 419: | Line 431: | ||
|} | |} | ||
| valign="top" | | | valign="top" | | ||
− | {| | + | {| class="wikitable" |
! ID | ! ID | ||
! File name | ! File name | ||
Line 464: | Line 476: | ||
|} | |} | ||
− | ==Keywords== | + | == Keywords == |
− | play, sound, mp3, bridge status | + | play, sound, mp3, bridge status, announcement |
+ | |||
+ | [[Category:OpCodes]] |
Revision as of 21:02, 28 December 2014
Description
- Play announcement over the radio
Syntax
- 057D: play_bridge_status_mp3 [int]
Parameter
- [int]
- Audio ID
This opcode plays the bridge status audio over the radio. Values 0 (bclosed.mp3) and 1 (bopen.mp3) are used in the game. 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.
List of audio IDs
Default
ID | File name |
---|---|
0 | bclosed.mp3 |
1 | bopen.mp3 |
Extended
This opcode can actually play any audio file within the Audio folder, not just the bridge announcement audio.
|
|
|
|
|
|
|
Keywords
play, sound, mp3, bridge status, announcement