Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
op2_sdk:music [2016/02/01 04:31]
vagabond
op2_sdk:music [2016/10/12 21:32] (current)
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 ''​enum SongIds''​. In order to customize the tracks, place an array of ''​SongIds''​ in the scenario. Then inform the game of the array via the function ''​TethysGame::​SetMusicPlayList()''​. 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 ''​enum SongIds''​. In order to customize the tracks, place an array of ''​SongIds''​ in the scenario. Then inform the game of the array via the function ''​TethysGame::​SetMusicPlayList()''​.
 +
 +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 101: Line 103:
  - //Go Back to [[op2_sdk:​software_development_kit_sdk|Outpost 2 Mapmaking]]//​\\  - //Go Back to [[op2_sdk:​software_development_kit_sdk|Outpost 2 Mapmaking]]//​\\
  - //Go Back to [[outpost_2:​outpost_2|Outpost 2 Main page]]//\\  - //Go Back to [[outpost_2:​outpost_2|Outpost 2 Main page]]//\\
- - //Go Back to [[http://​wiki.outpostuniverse.org/​doku.php?​id=start|Wiki Home Page]]//+ - //Go Back to [[http://​wiki.outpost2.net/​doku.php?​id=start|Wiki Home Page]]//
  • op2_sdk/music.txt
  • Last modified: 2016/10/12 21:32
  • (external edit)