Custom Music

Custom mods, stories, and artwork based on the Evochron / Arvoch universe.
8rennus
Lieutenant Jr. Grade
Lieutenant Jr. Grade
Posts: 78
Joined: Wed Nov 30, 2011 2:00 am
Location: Detroit, Mich.

Custom Music

Post by 8rennus »

It appears that v2.x may ignore the threat level file convention, as each music file now plays randomly, instead of per threat level. For instance, both mid and high level threat music files (musiclevelX-2 and musiclevelX-3) will sometimes play w/ no (zero) hostile targets in the area, and the low level threat music file (musiclevelX-1) will sometimes play when surrounded by hostile targets.

Anyone else?

[Edited on 12-8-2012 by 8rennus]
\"You know what the chain of command is? It\'s the chain I go get and beat you with \'til ya understand who\'s in ruttin\' command here.\"

- Jayne Cobb, \"Firefly\"
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

Custom Music

Post by Vice »

The naming structure has changed in 2.X from 1.X, which may cause some confusion. The threat level value and set values are now reversed (to help make it easier to keep the groups sorted by their sets). So if you're using old music filenames designed to work with 1.X, they won't likely play correctly with the 2.X format. If that isn't it, then I'm not sure why it wouldn't be working as that's the only significant change to the system (details on this and other changes are available in the revised 2.X customizing kit: http://www.starwraith.com/evochronmerce ... tomKit.zip ).
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
8rennus
Lieutenant Jr. Grade
Lieutenant Jr. Grade
Posts: 78
Joined: Wed Nov 30, 2011 2:00 am
Location: Detroit, Mich.

Custom Music

Post by 8rennus »

Thanks again Vice, I did read the new CK readme, but I didn't catch the numerical reversal. I'll rename the music files and report back...
\"You know what the chain of command is? It\'s the chain I go get and beat you with \'til ya understand who\'s in ruttin\' command here.\"

- Jayne Cobb, \"Firefly\"
8rennus
Lieutenant Jr. Grade
Lieutenant Jr. Grade
Posts: 78
Joined: Wed Nov 30, 2011 2:00 am
Location: Detroit, Mich.

Custom Music

Post by 8rennus »

Vice, I reversed the set/threat level numerical scheme and everything works again as advertised. Thanks again.
\"You know what the chain of command is? It\'s the chain I go get and beat you with \'til ya understand who\'s in ruttin\' command here.\"

- Jayne Cobb, \"Firefly\"
XenonSurf
Lieutenant
Lieutenant
Posts: 221
Joined: Mon Jan 28, 2008 3:01 pm

Custom Music

Post by XenonSurf »

From post: 150840, Topic: tid=10087, author=Vice wrote: The naming structure has changed in 2.X from 1.X, which may cause some confusion. The threat level value and set values are now reversed (to help make it easier to keep the groups sorted by their sets). So if you're using old music filenames designed to work with 1.X, they won't likely play correctly with the 2.X format. If that isn't it, then I'm not sure why it wouldn't be working as that's the only significant change to the system (details on this and other changes are available in the revised 2.X customizing kit: http://www.starwraith.com/evochronmerce ... tomKit.zip ).
Hi Vice,

this doesn't seem to work with my version 2.108 or I didn't get your explanation right.


[--EDITED--]
Do you mean that in version 1.x the custom files for thread-level 1 where named like that...?

musiclevel1-1
musiclevel1-2
musiclevel1-3
musiclevel1-4
musiclevel1-5
...

If I do that in version 2.x, and if I add tracks for level 1/2/3 threats, then the menu will play a level 3 track (hostiles) and neutral situation in-game will also start playing level-3 tracks.

in version 2.x, the new naming convention would be like that...?

musiclevel1-1
musiclevel2-1
musiclevel3-1
musiclevel4-1
musiclevel5-1
...

If I do that, then it works, but the game will crash just when loading is finished if I add more than 3 tracks per thread-level, although my system has 8 GB of RAM.

Thanks to clarify,
XenonS

[Edited on 12-31-2012 by XenonSurf]
XenonSurf
Lieutenant
Lieutenant
Posts: 221
Joined: Mon Jan 28, 2008 3:01 pm

Custom Music

Post by XenonSurf »

I have just [--EDITED--] my last post !!

XenonS
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

Custom Music

Post by Vice »

There can only be three threat levels per group. If you exceed that, you'll likely encounter a crash when the game can't find a required threat level in a group. The format is this:

musiclevelX-Y.ogg

X is the group value, Y is the threat level. Y should never exceed 3 and should always have a full set of 1, 2, and 3 in each group. So each group would look like this:

musiclevel1-1.ogg
musiclevel1-2.ogg
musiclevel1-3.ogg

musiclevel2-1.ogg
musiclevel2-2.ogg
musiclevel2-3.ogg

And you could continue with set 3, 4, etc.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
XenonSurf
Lieutenant
Lieutenant
Posts: 221
Joined: Mon Jan 28, 2008 3:01 pm

Custom Music

Post by XenonSurf »

Hi Vice,
thanks very much for your details. I see clear now and so I can also load these awesome songs from past versions. :cool:

Cheers,
XenonS