Custom music

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderator: Forum Moderators

Post Reply
User avatar
Gwledig
Posts: 568
Joined: March 30th, 2009, 5:10 pm
Location: UK

Custom music

Post by Gwledig »

Hi I have some custom music defined in a music folder, in my _main.cfg

Code: Select all

[binary_path]
path=data/add-ons/Conquestplus_space
[/binary_path]
#ifdef MULTIPLAYER
{~add-ons/Conquestplus_space/utils}
{~add-ons/Conquestplus_space/scenarios}
{~add-ons/Conquestplus_space/images}
{~add-ons/Conquestplus_space/music}
#endif
The music is defined in the scenario itself in [multiplayer]:

Code: Select all

{SPACE_MUSIC_PLAYLIST}
The playlist is in a separate cfg as follows:

Code: Select all

#define SPACE_MUSIC_PLAYLIST

[music]
  name=Carmina_burana.ogg
  shuffle=yes
[/music]

[music]
  name=Prokofiev_dance_of_the_knights.ogg
  append=yes
  shuffle=yes
[/music]

[music]
  name=The_planets_mars.ogg
  append=yes
  shuffle=yes
[/music]

[music]
  name=Wagner_ride_of_the_valkyries.ogg
  append=yes
  shuffle=yes
[/music]
#enddef
The music plays on a local game but not multiplayer on the main server, I was just wondering if anyone knows if custom has been disabled for sync error reasons or something similar, or if there is some glaring issue they can notice in the above code? it was working until a few 1.4 versons back...
Maintainer of Conquest (Original Gameplay), Conquest+, Conquest+ Space/Ranged, Chaoz Battle of the Wizards, Lazersquad (squad game), WesCraft (building MP game)
User avatar
Pentarctagon
Project Manager
Posts: 5531
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Custom music

Post by Pentarctagon »

Custom music has not been disabled in online multiplayer.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Post Reply