OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: Yann on February 15, 2023, 09:47:02 am

Title: How to add custom battlescape music to TFTD?
Post by: Yann 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?
Title: Re: How to add custom battlescape music to TFTD?
Post by: BlackStaff 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
Title: Re: How to add custom battlescape music to TFTD?
Post by: Yann 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.
Title: Re: How to add custom battlescape music to TFTD?
Post by: Yann 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?
Title: Re: How to add custom battlescape music to TFTD?
Post by: Meridian 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
Title: Re: How to add custom battlescape music to TFTD?
Post by: Yann on February 20, 2023, 10:19:21 pm
Thanks Meridian, I'll play around with it.