[Tutorial] How to Make Ambient Music And Sounds For Your Mods!

Started by tazzan on Wed, 11/18/2020 - 03:48

Topic category: User side tutorials

Last seen on 21:00, 25. Jan 2021
Joined Oct 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
[Tutorial] How to Make Ambient Music And Sounds For Your Mods!
Wed, 11/18/2020 - 03:58 (edited)

I've pondered how to make custom ambient sounds and music for my custom dimension for a while, so I decided to make it myself!

I've linked the procedures I've made so you can download them for yourself, I've also added comments to them if you're interested in learning how and why it works!

Have fun modding! http://www.mediafire.com/file/xrusor2sya8e6qh/ExampleAmbienceProcedires.zip/file

Pictures as well:

Edited by tazzan on Wed, 11/18/2020 - 03:58
Last seen on 21:00, 25. Jan 2021
Joined Oct 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I should add that you may…
Wed, 11/18/2020 - 03:50

I should add that you may need to edit the "Call Procedure" block in the Ambient Timer procedure to link to the Play Ambient Sound procedure, just because they may have unlinked if downloaded in the incorrect order or because of other loading issues

Last seen on 14:12, 24. Jan 2021
Joined Jul 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Just keep in mind that in…
Tue, 11/24/2020 - 01:12

Just keep in mind that in your Player Tick, the local AmbientTimer value shouldn't ever be greater than 1, as it is not saved between player ticks and only used in that one tick. You might want to use a global player-lifetime variable instead.

Also, I suggest you only play sounds on client-side, as server wide sounds can lag a bit, and there's a block in 'world data' to tell you if world is client-side or not.