Modding Help Editing Object sounds

Discussion in 'Starbound Modding' started by Ethanator09, Jun 14, 2017.

  1. Ethanator09

    Ethanator09 Void-Bound Voyager

    So recently Ive been wanting to make a traditional radio play the song Large Magellanic Cloud but it keeps playing the normal songs, how would I fix this?
     
  2. Sparklink

    Sparklink Ketchup Robot

    You are changing the music that plays from the radio?

    Did you make sure that the hylotlradio.object was in objects/hylotl/hylotlspeaker ?

    And second did you make sure you edited the
    "soundEffect" : "/sfx/objects/hylotl_radio1.ogg", to
    "soundEffect" : "/music/large-magellanic Cloud",
     
  3. Ethanator09

    Ethanator09 Void-Bound Voyager

    It is the radio that plays music and I changed the sound effect to "/music/large-magellanic-cloud" and im wondering does that work?
     
  4. Ethanator09

    Ethanator09 Void-Bound Voyager

    I tried it, nothing changed
     
  5. lazarus78

    lazarus78 The Waste of Time

    did you include the file extension? That is important.

    Otherwise My guess is it can't play files in the music folder.
     
  6. Ethanator09

    Ethanator09 Void-Bound Voyager

    file extension?
     
  7. lazarus78

    lazarus78 The Waste of Time

    Notice "hylotl_radio1.ogg" has the .ogg at the end? That is the file extension. It denotes the type of file it is. In this case, an audio file. The example given above does not include an extension, so naturally it won't work.
     
  8. Ethanator09

    Ethanator09 Void-Bound Voyager

    so would I type in SoundEffect: "/music/large_magellanic_cloud.ogg" or is it something else?
     
  9. lazarus78

    lazarus78 The Waste of Time

    If that is the full file name, yes.

    You should enable file extensions so you can see what they are. (Google is your friend)
     
  10. Ethanator09

    Ethanator09 Void-Bound Voyager

    Enable file extensions?
     
  11. lazarus78

    lazarus78 The Waste of Time

  12. bk3k

    bk3k Oxygen Tank

    The other question is, did you remember to make a proper _metadata file for your mod? I guess a .modinfo file would work, but they're a bit obsolete.
     
  13. Ethanator09

    Ethanator09 Void-Bound Voyager

    Metadata? (im new!)
     
  14. lazarus78

    lazarus78 The Waste of Time

Share This Page