Battle music

Discussion in 'Fallout Tactics Modding' started by nadeauhugo, Dec 5, 2020.

  1. nadeauhugo

    nadeauhugo Author of FOT mod THE SUM Modder

    Mar 9, 2014
    I'm slowly learning about Tactics music system.

    Essentially, all battle music tracks are stored in core/music/battle and all those are divided in two segments, the main music and the end part of the music. This is similar to mission music. I guess it is made to loop then end at a special moment.

    If you added mission music the "proper" way, using the cdoe : ambientMusic = {...} in your sound file, it stops abruptly as soon as combat music starts, so you just can't do without adding combat music.

    The thing I don't understand yet is... where this combat music is programmed? There must be a formula like "combatMusic = {...}" in the sound file, but I can't find any example of this anywhere. Can somebody confirm this?
  2. Reinar

    Reinar First time out of the vault

    Oct 23, 2011
    Combat music is depending on the race of enemies. For example MX_BA_RAI = raiders, MX_BA_ROB = robots. Most are obvious, the rest... GEN is probably generic and FIN will play when you launch an invasion of Finland.
  3. nadeauhugo

    nadeauhugo Author of FOT mod THE SUM Modder

    Mar 9, 2014
    Ah, quite a revelation, and very logical, thanks! It is also great as it does not require any work to implement. I really thought it was about maps for a while... I'll work on some more tracks then, as they are very likely to be used in my game if I include them.