Development > Sounds and Music
Adding music to "music" file in 0ufos - spacing
(1/1)
Precisionist:
I've added some music to the 0music file, then I've added the file names to the music file inside 0ufos.pk3 The first time I added just 3 songs, and tried to keep the spacing exact as I typed the new filenames into the song lists. Since it worked, I did it again with even more songs (7 this time) but this time I lost track of the spacing between the text. Not even sure if it matters, I'm using Winzip to open the pk3 files and notepad to open the "music" file inside 0ufos. Does the spacing of the song titles showing up in notepad matter? Or does it just need 1 space minimum in between each title?
DarkRain:
Do you mean the indentation?
If so just FYI that is a single tab before each song an each song is in a new line, but I think notepad may not like .ufo files and fails to display them properly (judging by how it displays ufoconsole.log).
But if I understand how scripts are parsed, it shouldn't matter, as long as songs are separated form each other by any kind of spacing or a new line (if a song name has a space you should quote it).
Precisionist:
The .ogg converter I use automatically puts a _ for each space in the song name, although I also am renaming the files so they are easier to type into the music list.
Any clue how the game choses the music within each music type? For instance are songs in the front of the list played more? I'm not looking to replace the existing music, just add to the jukebox so-to-speak.
Crystan:
--- Quote from: Precisionist on February 18, 2012, 08:50:40 am ---Or does it just need 1 space minimum in between each title?
--- End quote ---
Iam not sure if i heard you right but yes - you just cant add them behind each other. So somthing like this will not work:
{ van_geoscapekarlmacklin_geoscapeCrystan-Geosphere04Crystan-Geosphere03Crystan-Geosphere02
}
Btw. the play order is totaly random.
If that doesnt help you, upload your music.ufo as an attachment.
Navigation
[0] Message Index
Go to full version