Jump to content

Randomize Music in Wads possible ?


Faustrecht

Recommended Posts

Hello.

 

I found some Wads with a good soundtrack but it meant to be used with Dooms Original Maps.

If i try it with Different Map packs then it just play same Music over and over again. I thought how about Randomize all Tracks except the one in the Title Screen.

Is it even Possible ?

 

Im using SLADE as all in one tool for Editing Mods.

 

Thanks in Advance and Happy Fragging.

Share this post


Link to post
  • 1 month later...

The only way I could think of would be to create ACS script which starts with every map, generates random number and then function plays random track which name is in array.

 

int musicnames[10] = 
{
  "songname1",
  "songname2",
  //and so on
};


Script 999 Enter
{
	SetMusic (musicnames[Random(0,10)],0,0);

}

 

Edited by skaarjman
typo

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...