timnxx20
New member
Posts: 2 Joined: Sun Jul 22, 2018 16:38
by timnxx20 » Tue Jul 24, 2018 22:34
Post
Adds randomly selected and timed background music.
I've included some (imho) suitably ambient music but it is configurable, as are the probability and interval between tracks. The code is commented with instructions for changing the music. Other settings can be changed from the Minetest advanced settings menu.
I know it's been done before but this is my first mod and I've never used Lua before so feedback is welcome.
Code license: LGPLv2.1+
Music license: CC BY-NC 4.0 Blue Dot Sessions
https://www.sessions.blue
v0.2 Download:
https://gitlab.com/timnxx20/bgm/-/archi ... m-v0.2.zip
Changes:
v0.2:
Added some debug output
Moved settings to Minetest advanced menu
Added option to prevent songs playing twice in a row
v0.1:
Old versions:
v0.1:
https://gitlab.com/timnxx20/bgm/-/archi ... m-v0.1.zip
Last edited by
timnxx20 on Tue Jul 31, 2018 19:41, edited 1 time in total.
texmex
Member
Posts: 1753 Joined: Mon Jul 11, 2016 21:08
GitHub:
tacotexmex
In-game: tacotexmex
by texmex » Wed Jul 25, 2018 10:16
Post
Code checks out! I’ve been meaning to write a mod like this, so I will definitely try this out.
Andrey01
Member
Posts: 2579 Joined: Wed Oct 19, 2016 15:18
GitHub:
Andrey2470T
In-game: Andrey01
Location: Russia, Moscow
by Andrey01 » Wed Jul 25, 2018 12:44
Post
Oho, is there already other music mod?? This has already been third by count! I`ll test it with enjoying!
timnxx20
New member
Posts: 2 Joined: Sun Jul 22, 2018 16:38
by timnxx20 » Tue Jul 31, 2018 19:51
Post
Thanks for looking at my mod, I've made a few changes and fixed a couple of things. I'd be grateful to hear how it worked out. Also, if there is anything you think should be added/changed I would be interested in some feedback.
texmex
Member
Posts: 1753 Joined: Mon Jul 11, 2016 21:08
GitHub:
tacotexmex
In-game: tacotexmex
by texmex » Sun Dec 30, 2018 14:38
Post
It’s serene to play during this music. Unfortunately I’m in dev mode so it’s a lot of restarts which breaks inmersion xD
runs
Member
Posts: 3225 Joined: Sat Oct 27, 2018 08:32
by runs » Mon Aug 12, 2019 20:35
Post
Youtube claims this music!!!! I've made a Minetest video with this music playing. It is CC.
Why???
Nooo :-(
Last edited by
runs on Mon Aug 12, 2019 20:38, edited 1 time in total.
runs
Member
Posts: 3225 Joined: Sat Oct 27, 2018 08:32
by runs » Mon Aug 12, 2019 20:37
Post
I know it already, CC is for no commercial use. THIS IS WHY CC SHOULD BE PROHIBITED IN MINETEST!!!
:-(
benrob0329
Member
Posts: 1341 Joined: Thu Aug 06, 2015 22:39
GitHub:
Benrob0329
IRC: benrob0329
In-game: benrob03
Location: Michigan
Contact:
by benrob0329 » Fri Aug 16, 2019 13:21
Post
Runs, there are multiple CreativeCommons licenses. Any -NC varient will be noncommercial. Always read up on licenses before using them :-)
Linuxdirk
Member
Posts: 3219 Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:
by Linuxdirk » Fri Aug 16, 2019 14:44
Post
benrob0329 wrote: Any -NC varient will be noncommercial.
NC licenses are non-free licenses and should not be used under any circumstances.
Diamond knight
Member
Posts: 475 Joined: Sun Apr 19, 2015 19:50
GitHub:
Diamondknight
In-game: Ferrumprinceps
Location: Chilling in Constantinople
Contact:
by Diamond knight » Mon Oct 07, 2019 04:51
Post
Suggestion: support for a different music set playing at night like the old ambience mod
Edit: since that feature was not mentioned in the OP did not know it was already there, but checked and it is, so nevermind
NoctisLabs
New member
Posts: 6 Joined: Mon Sep 30, 2019 00:44
GitHub:
NoctisLabs
IRC: NoctisLabs
In-game: NoctisLabs
Location: Falcon Heavy, LEO
by NoctisLabs » Sun Oct 13, 2019 23:49
Post
Suggestion: change music to instrumentals by Josh Woodward (joshwoodward.com) licensed under CC-BY 4.0
Users browsing this forum: No registered users and 27 guests