Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
op2_sdk:music [2016/01/29 20:50] – vagabond | op2_sdk:music [2016/10/12 21:32] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
Each scenario in Outpost 2 can be tailored to use a specific subset of the available in game music. All music tracks are represented in the '' | Each scenario in Outpost 2 can be tailored to use a specific subset of the available in game music. All music tracks are represented in the '' | ||
+ | |||
+ | You can use the function parameter repeatStartIndex on SetMusicPlayList in order to designate the index where repeat play starts. This allows setting some songs that are only played when the scenario is initially started and then not playing these songs later in the scenario. | ||
Below is a table of the names of the MP3 tracks compared to their equivalent SDK enum. The MP3 tracks can be downloaded from the Outpost Universe Outpost 2 downloads page. | Below is a table of the names of the MP3 tracks compared to their equivalent SDK enum. The MP3 tracks can be downloaded from the Outpost Universe Outpost 2 downloads page. | ||
Line 37: | Line 39: | ||
===== Related Source Code ===== | ===== Related Source Code ===== | ||
- | TethysGame | + | //TethysGame// |
<code cpp> | <code cpp> | ||
static void __fastcall SetMusicPlayList(int numSongs, int repeatStartIndex, | static void __fastcall SetMusicPlayList(int numSongs, int repeatStartIndex, | ||
</ | </ | ||
- | Enums.h | + | //Enums.h// |
<code cpp> | <code cpp> | ||
enum SongIds | enum SongIds | ||
Line 101: | Line 103: | ||
- //Go Back to [[op2_sdk: | - //Go Back to [[op2_sdk: | ||
- //Go Back to [[outpost_2: | - //Go Back to [[outpost_2: | ||
- | - //Go Back to [[http:// | + | - //Go Back to [[http:// |