Difference between revisions of "0394"

From GTAMods Wiki
Jump to navigation Jump to search
m (was off by 10)
Line 13: Line 13:
 
In Vice City, the mission passed audio uses <code>miscom.mp3</code> file. The background ambient noise will be disabled and the music will fade in as it plays. Background ambient noise will fade back in and resume afterward. Using any value other than 1 will continue to have the background ambient noise disabled unless it is restored, one way by pausing and unpausing the game. If the background ambient noise remains disabled, this opcode cannot play the same audio until the noise is reenabled but it can still play other audio. Pausing and unpausing the game or playing another audio other than itself will interrupt the audio.
 
In Vice City, the mission passed audio uses <code>miscom.mp3</code> file. The background ambient noise will be disabled and the music will fade in as it plays. Background ambient noise will fade back in and resume afterward. Using any value other than 1 will continue to have the background ambient noise disabled unless it is restored, one way by pausing and unpausing the game. If the background ambient noise remains disabled, this opcode cannot play the same audio until the noise is reenabled but it can still play other audio. Pausing and unpausing the game or playing another audio other than itself will interrupt the audio.
  
This opcode can actually play any audio file within the Audio folder, not just the mission passed audio, and accepts negative and really high positive values. From the [[Audio (folder, VC)|list of positions of Vice City's audio]], offset the position by -90 to get the appropriate value. For example, a value of 6 - 90 = -81 can play the mall ambiance audio, or a value of 93 - 90 = 3 can play the phone ringing audio.
+
This opcode can actually play any audio file within the Audio folder, not just the mission passed audio, and accepts negative and really high positive values. From the [[Audio (folder, VC)|list of positions of Vice City's audio]], offset the position by -100 to get the appropriate value. For example, a value of 16 - 100 = -84 can play the mall ambiance audio, or a value of 103 - 100 = 3 can play the phone ringing audio.
  
 
== Keywords ==
 
== Keywords ==

Revision as of 22:49, 12 January 2015

GTA III Vice City San Andreas PLAY_MISSION_PASSED_TUNE


Description

Plays the mission passed audio

Syntax

0394: play_music [int]

Parameter

[int]
Audio index, recommended use only value 1

This opcode plays the mission passed audio.

In Vice City, the mission passed audio uses miscom.mp3 file. The background ambient noise will be disabled and the music will fade in as it plays. Background ambient noise will fade back in and resume afterward. Using any value other than 1 will continue to have the background ambient noise disabled unless it is restored, one way by pausing and unpausing the game. If the background ambient noise remains disabled, this opcode cannot play the same audio until the noise is reenabled but it can still play other audio. Pausing and unpausing the game or playing another audio other than itself will interrupt the audio.

This opcode can actually play any audio file within the Audio folder, not just the mission passed audio, and accepts negative and really high positive values. From the list of positions of Vice City's audio, offset the position by -100 to get the appropriate value. For example, a value of 16 - 100 = -84 can play the mall ambiance audio, or a value of 103 - 100 = 3 can play the phone ringing audio.

Keywords

play, mission, passed, music, sound, mp3, tune