How to add additional music to JA2 1.13[message #365867]
|
Mon, 29 January 2024 22:02
|
|
Asdow |
|
Messages:134
Registered:August 2010 |
|
|
As of commit bb63cb9 [2024/01/29]
Additional music can be added to the game by placing sound files into Data subfolder named "Music" following this naming convention:
musicmode_runningNumber.fileformat
Different music modes are:
Mainmenu_ <-- Mainmenu music
Laptop_ <-- Laptop music
Tactical_ <-- Tactical with nothing special going on
Enemy_ <-- Tactical, enemy present
EnemyNight_ <-- Tactical, enemy present, nighttime
Battle_ <-- Tactical, enemy present and visible
BattleNight_ <-- Tactical, enemy present and visible, nighttime
Victory_ <-- Battle victory
Death_ <-- Battle defeat
Creepy_ <-- Tactical, creatures present
CreepyBattle_ <-- Tactical, creatures present and visible
Music files can be .mp3, .ogg or .wav formats and 100 songs in each category is supported. The running numbering starts from 00
so for example:
Data/Music/Mainmenu_01.mp3
Data-1.13/Music/Mainmenu_02.ogg
Data-AIM/Music/Laptop_02.ogg
Data-UC113/Music/Tactical_00.wav
A few filenames are treated in a special way to facilitate easy replacement of original music. To replace original music, insert the following named files into the Music folder
"menumix1" <-- Mainmenu music
"marimbad 2" <-- Laptop music
"nothing A" <-- Tactical with nothing special going on
"nothing B"
"nothing C"
"nothing D"
"tensor A" <-- Tactical, enemy present
"tensor B"
"tensor C"
"triumph" <-- Battle victory
"death" <-- Battle defeat
"battle A" <-- Tactical, enemy present and visible
"battle B" <-- Tensor B is also used as battle music, this will replace it from battle music tracks, but still keep it in enemy present
"creepy" <-- Tactical, creatures present
"creature battle" <-- Tactical, creatures present and visible
Report message to a moderator
|
Sergeant
|
|
|
|
|