Difference between revisions of "0952"

From GTAMods Wiki
Jump to navigation Jump to search
 
 
(2 intermediate revisions by 2 users not shown)
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)
 +
}}
  
==Keywords==
+
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.
load, request, soundtrack
 
  
[[Category:OpCodes]]
+
== Soundtracks ==
 +
{|class="wikitable"
 +
!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

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