Modding Help Secondary title music?

Discussion in 'Starbound Modding' started by Odditer, Feb 19, 2017.

  1. Odditer

    Odditer Tentacle Wrangler

    I have two soundtracks here, each about 10 minutes long (the length of the default title music) and I'd like them both to play randomly. Is there a way to get them both to play randomly easily or do I need to do copious amounts of programming?
    My songs are both stereo at 44100Hz and both are .OGG.
     
  2. IHart

    IHart Scruffy Nerf-Herder

    IIRC this would require one single patch. Do you understand modding basics? Or you are looking for someone to make this for you?
     
  3. mastercookie

    mastercookie Existential Complex

    actually quite simple to do, u need to create patch file here: interface/windowconfig/title.config.patch

    heres the patch i used for my mod:
    Code:
    [
      {
        "op":"remove",
        "path":"/music/day/tracks"
      },
      {
        "op":"remove",
        "path":"/music/night/tracks"
      },
    
      { "op":"add",
        "path":"/music/day",
        "value":  { "tracks" : [
           "...",
           "..."
            ]
       }
      },
      { "op":"add",
        "path":"/music/night",
        "value": { "tracks" : [
           "...",
           "..."
        
            ]
        }
      }
    ]
    
    put path to ur tracks instead of ...
    for example "/tracks/track01.ogg"

    u can put as many as tracks u wish, just separate them with comma (and no comma after last one)
    i dont know whats the deal with /music/day and /music/night since its main menu, just put the same tracks in both things.
     

Share This Page