Difference between revisions of "0952"

From GTAMods Wiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
<code>0952=1,%1h%</code><br>
+
{{OpCode
'''Description''': Loads soundtrack<br>
+
| games      = {{Icon|SA}}
'''Supports''': San Andreas<br>
+
| command    = PRELOAD_BEAT_TRACK
 +
| description = Loads the soundtrack
 +
| syntax1    = 0952: load_soundtrack [''int'']
 +
| p1t        = [''int'']
 +
| p1d        = Soundtrack index (see below)
 +
}}
  
This loads a [[Stream|soundtrack audio]] that is stored in the <code>audio\streams\BEATS</code> file. The soundtrack can be played using [[0954]] and stopped using [[0955]]. [[0953]] gets the status of the soundtrack.
+
This opcode loads the [[Stream|soundtrack audio]] that is stored in the <code>audio\streams\BEATS</code> file. The soundtrack can be played using [[0954]] and stopped using [[0955]]. [[0953]] gets the status of the soundtrack.
  
==List of Soundtracks==
+
== Soundtracks ==
{|
+
{|class="wikitable"
! ID
+
!Id
! File Name
+
!File Name
! Description
+
!Description
 
|-
 
|-
| 0
+
|0
| Track_007
+
|Track_007
| Used in lowrider competition first stage
+
|Used in lowrider competition first stage
 
|-
 
|-
| 1
+
|1
| Track_001
+
|Track_001
| Used in dancing random stage
+
|Used in dancing random stage
 
|-
 
|-
| 2
+
|2
| Track_004
+
|Track_004
| Used in dancing first stage
+
|Used in dancing first stage
 
|-
 
|-
| 3 (same as 1)
+
|3 (same as 1)
| Track_001
+
|Track_001
| Used in dancing second stage
+
|Used in dancing second stage
 
|-
 
|-
| 4
+
|4
| Track_003
+
|Track_003
| Used in dancing third stage
+
|Used in dancing third stage
 
|-
 
|-
| 5
+
|5
|  
+
|
|  
+
|
 
|-
 
|-
| 6 (same as 1)
+
|6 (same as 1)
| Track_001
+
|Track_001
| Used in dancing random stage
+
|Used in dancing random stage
 
|-
 
|-
| 7 (same as 1)
+
|7 (same as 1)
| Track_001
+
|Track_001
| Used in dancing random stage
+
|Used in dancing random stage
 
|-
 
|-
| 8 (same as 1)
+
|8 (same as 1)
| Track_001
+
|Track_001
| Used in dancing random stage
+
|Used in dancing random stage
 
|-
 
|-
| 9
+
|9
| Track_002
+
|Track_002
| Ending credit music
+
|Ending credit music
 
|-
 
|-
| 10
+
|10
| Track_010
+
|Track_010
| Intro cutscene
+
|Intro cutscene
 
|-
 
|-
| 11
+
|11
| Track_008
+
|Track_008
| Mission pass type 1
+
|Mission pass type 1
 
|-
 
|-
| 12
+
|12
| Track_009
+
|Track_009
| Mission pass type 2
+
|Mission pass type 2
 
|-
 
|-
| 13
+
|13
| Track_006
+
|Track_006
| Used in lowrider competition second stage
+
|Used in lowrider competition second stage
 
|-
 
|-
| 14
+
|14
|  
+
|
| cop radio audio clip
+
|cop radio audio clip
 
|-
 
|-
| 15 (same as 14)
+
|15 (same as 14)
|  
+
|
| cop radio audio clip
+
|cop radio audio clip
 
|-
 
|-
| 16 (same as 14)
+
|16 (same as 14)
|  
+
|
| cop radio audio clip
+
|cop radio audio clip
 
|-
 
|-
| 17 (same as 14)
+
|17 (same as 14)
|  
+
|
| cop radio audio clip
+
|cop radio audio clip
 
|-
 
|-
| 18
+
|18
|  
+
|
| cop radio audio clip
+
|cop radio audio clip
 
|-
 
|-
| 19 (same as 14)
+
|19 (same as 14)
|  
+
|
| cop radio audio clip
+
|cop radio audio clip
 
|-
 
|-
| 20 (same as 14)
+
|20 (same as 14)
|  
+
|
| cop radio audio clip
+
|cop radio audio clip
 
|-
 
|-
| 21 (same as 14)
+
|21 (same as 14)
|  
+
|
| cop radio audio clip
+
|cop radio audio clip
 
|-
 
|-
| 22
+
|22
|  
+
|
| *nothing*
+
|*nothing*
 
|-
 
|-
| 23
+
|23
|  
+
|
| *crash*
+
|*crash*
 
|}
 
|}
  
==Keywords==
+
== Keywords ==
 
load, request, soundtrack, audio, sound, beat
 
load, request, soundtrack, audio, sound, beat
 
[[Category:OpCodes]]
 

Latest revision as of 23:52, 28 November 2016

San Andreas PRELOAD_BEAT_TRACK


Description
Loads the soundtrack
Syntax
0952: load_soundtrack [int]
Parameter
[int]
Soundtrack index (see below)

This opcode loads the soundtrack audio that is stored in the audio\streams\BEATS file. The soundtrack can be played using 0954 and stopped using 0955. 0953 gets the status of the soundtrack.

Soundtracks

Id File Name Description
0 Track_007 Used in lowrider competition first stage
1 Track_001 Used in dancing random stage
2 Track_004 Used in dancing first stage
3 (same as 1) Track_001 Used in dancing second stage
4 Track_003 Used in dancing third stage
5
6 (same as 1) Track_001 Used in dancing random stage
7 (same as 1) Track_001 Used in dancing random stage
8 (same as 1) Track_001 Used in dancing random stage
9 Track_002 Ending credit music
10 Track_010 Intro cutscene
11 Track_008 Mission pass type 1
12 Track_009 Mission pass type 2
13 Track_006 Used in lowrider competition second stage
14 cop radio audio clip
15 (same as 14) cop radio audio clip
16 (same as 14) cop radio audio clip
17 (same as 14) cop radio audio clip
18 cop radio audio clip
19 (same as 14) cop radio audio clip
20 (same as 14) cop radio audio clip
21 (same as 14) cop radio audio clip
22 *nothing*
23 *crash*

Keywords

load, request, soundtrack, audio, sound, beat