Author Topic: USER-EXPANDED SOUNDTRACK AUTOPLAY PER FILENAME PLEASE  (Read 853 times)

mercy

  • Probably not a Spambot
  • *
  • Posts: 31
  • Karma: +2/-1
    • View Profile
USER-EXPANDED SOUNDTRACK AUTOPLAY PER FILENAME PLEASE
« on: April 11, 2020, 02:58:36 pm »
You have too few music tracks and therefore they are waay too repetitive!!

SUGGESTION:
Extend your GameCode so it Automatically Adds extra music OGG files to its list "Loaded-Musics-To-Play-From-Memory" this list shall be EXPANDED with extra OGG music files that the gamer placed into the music folder, so they become: super-mega-amazing user-collected music tracks!

In XPiratez! I have 212 OGG music files. Whatever belonged to the original game.. about 34 vanilla tracks I expanded from various sources - Fallout, etc... - so my music track jukebox collection grew to 212 OGG files.

What the OpenXCOM game 'music engine' does is it seeks the music track name
GMTACTIC**

this is for the Battlescape, where combats are taking place

And it automatically collects ALL the OGG files that are named GMTACTIC and also it reads the extra characters after the last C of GMTACTIC, so it builds a nice collection of GMTACTIC77  =  77 music files for the Battlescape that I built as my dear collection.. 
..and once I'm in those long battles, the game begins to play a music track RANDOMLY selected from the 1.....77  tracks = it picks a number between 1 and 77 , for example 13 and begins playing GMTACTIC13.OGG

This is very very verry nice!

So.. you have citystation.ogg

What I'm suggesting / requesting is, if I collect 6 OGG music files that match the mood of Your Ingame citystation, then Underrail SHALL  detect and collect these file names in memory

citystation.ogg
citystation1.ogg
citystation2.ogg
citystation3.ogg
citystation4.ogg
citystation5.ogg
citystation6.ogg

and At random it shall select ONE and should begin play that ONE song. If that ONE song is finished, it should select the next song in its list and then play the list AD INFINITUM (looping from last song in list jumping to first song in list), while I am in citystation.

This JUKEBOX FUNCTION  = OGG name detection, Underrail should perform for all tracks that are in \Underrail\data\audio\music\

...so  it will be able to build a nice list for my
caves.ogg
caves1.ogg
caves2.ogg
..
caves23.ogg

and build a quick filename list to jukebox-play all my collected OGG musics, because they match the CAVES atmosphere and I can finally enjoy all 24 songs in my CAVES SOUNDTRACK SET, while playing Underrail.

Same for the Underrail location named "junkyard" and all the other places ingame.
 


T H A N K   Y O U !
« Last Edit: April 11, 2020, 03:03:58 pm by mercy »

Megaost

  • Zoner
  • **
  • Posts: 78
  • Karma: +10/-1
    • View Profile
Re: USER-EXPANDED SOUNDTRACK AUTOPLAY PER FILENAME PLEASE
« Reply #1 on: April 11, 2020, 05:15:11 pm »
Okay so I have no idea about the technical stuff OP writes about, but if there was a way to add additional music tracks that would be amazing. I've been making Underrail-inspired music for some time and would love for there to be a way to enjoy it outside of overwriting existing stuff.  :)