Difference between revisions of "0394"

From GTAMods Wiki
Jump to navigation Jump to search
(This is my first opcode description here. Opcode tested only at VC.)
 
(updating page)
Line 1: Line 1:
{{OpCode
+
{{Icon|trilogy}} '''PLAY_MISSION_PASSED_TUNE'''
| ini        = 0394=1,%1d%
+
<hr />
| description = Plays music
+
<onlyinclude>{{#ifeq:{{{transcludesection|opcode}}}|opcode|
| p1          = Music/Sound ID
+
'''Description'''
| game        = [[GTA 3]], [[Vice City]], [[San Andreas]]
+
: Plays the mission passed audio
}}
+
'''Syntax'''
 +
: 0394: play_music [''int'']
 +
'''Parameter'''
 +
: [''int'']
 +
:: Audio index, recommended use only value 1
  
== Music/Sound ID's ==
+
This opcode plays the mission passed audio.
This is a list of all known ID's.
 
  
===GTA VC===
+
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 and fade out as it ends. Background ambient noise will 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 anymore audio until the noise is reenabled. The 0th index for this opcode starts at index 76 from [[057D|opcode 057D's list of audio files]]. For example, using a value of 3 would play music from 057D's index 78 <code>MobR1.wav</code> file.
{|{{Prettytable}}
+
}}</onlyinclude>
! Value
 
! Description
 
|-
 
| 1
 
| mission complete sound
 
|-
 
| 2
 
| mission complete sound (same as 1)
 
|-
 
| 3
 
| cellphone ring
 
|-
 
| 4
 
| pager sound
 
|-
 
| 5
 
| engine sounds
 
|-
 
| 6
 
| bikes sounds
 
|-
 
| 7
 
| nothing?
 
|-
 
| 8
 
| nothing?
 
|-
 
| 9
 
| fart
 
|-
 
|}
 
  
 
== Keywords ==
 
== Keywords ==
 
play, music, sound, mp3
 
play, music, sound, mp3
 +
 +
[[Category:OpCodes]]

Revision as of 08:17, 26 February 2012

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 and fade out as it ends. Background ambient noise will 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 anymore audio until the noise is reenabled. The 0th index for this opcode starts at index 76 from opcode 057D's list of audio files. For example, using a value of 3 would play music from 057D's index 78 MobR1.wav file.

Keywords

play, music, sound, mp3