Author Topic: How to add custom battlescape music to TFTD?  (Read 2382 times)

Offline Yann

  • Sergeant
  • **
  • Posts: 27
    • View Profile
How to add custom battlescape music to TFTD?
« on: February 15, 2023, 09:47:02 am »

Custom music works in the SOUND folder for UFO Defense when I name it GMGEO* for geoscape and GMTACTIC* for battlescape.
But in the SOUND folder for TFTD only the GMGEO* files are recognized and appear in the game menu. The GMTACTIC* files are ignored in the battlescape. Do I need to name them differently for TFTD?

Offline BlackStaff

  • Colonel
  • ****
  • Posts: 336
    • View Profile
Re: How to add custom battlescape music to TFTD?
« Reply #1 on: February 15, 2023, 10:55:10 am »
Based on the "Orchestra of the Deep" Mod I use and the table provided by the author, I see this:


Battlescapes    
     Battlescape: Underwater   ===> gmtacwet
     Battlescape: Surface      ===> gmtacdry

https://mod.io/g/openxcom/m/orchestra-of-the-deep

Offline Yann

  • Sergeant
  • **
  • Posts: 27
    • View Profile
Re: How to add custom battlescape music to TFTD?
« Reply #2 on: February 17, 2023, 07:24:27 pm »
Those names don't work for me. They're probably only used in the mod.

The music mod itself is  pretty good though.
« Last Edit: February 17, 2023, 10:55:06 pm by Yann »

Offline Yann

  • Sergeant
  • **
  • Posts: 27
    • View Profile
Re: How to add custom battlescape music to TFTD?
« Reply #3 on: February 20, 2023, 05:13:19 pm »
I'd like to be able to add more music choices to the list like GMTACTWET2, GMTACWET3 ... like I'm able to do in UFO. These filenames aren't recognized though. Does anyone know the correct filenames to add?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9098
    • View Profile
Re: How to add custom battlescape music to TFTD?
« Reply #4 on: February 20, 2023, 06:39:46 pm »
I'd like to be able to add more music choices to the list like GMTACTWET2, GMTACWET3 ... like I'm able to do in UFO. These filenames aren't recognized though. Does anyone know the correct filenames to add?

They need to be defined under the "musics:" definition, just like in UFO.

See here for example: https://github.com/OpenXcom/OpenXcom/blob/master/bin/standard/xcom1/music.rul#L53

Offline Yann

  • Sergeant
  • **
  • Posts: 27
    • View Profile
Re: How to add custom battlescape music to TFTD?
« Reply #5 on: February 20, 2023, 10:19:21 pm »
Thanks Meridian, I'll play around with it.