• dynamic music system - configurable ambient, dark, and combat music system
    6 replies, posted
[B]dynmusic - the configurable music system[/B] -- media -- none currently -- features -- legend/key [IMG]http://www.famfamfam.com/lab/icons/silk/icons/accept.png[/IMG] done [IMG]http://www.famfamfam.com/lab/icons/silk/icons/wrench.png[/IMG] work in progress [IMG]http://www.famfamfam.com/lab/icons/silk/icons/cross.png[/IMG] not started music system [IMG]http://www.famfamfam.com/lab/icons/silk/icons/accept.png[/IMG] customizable ambient music [IMG]http://www.famfamfam.com/lab/icons/silk/icons/accept.png[/IMG] customizable music during fights [IMG]http://www.famfamfam.com/lab/icons/silk/icons/accept.png[/IMG] customizable music in darkness [IMG]http://www.famfamfam.com/lab/icons/silk/icons/accept.png[/IMG] music auto-restarts after finished [IMG]http://www.famfamfam.com/lab/icons/silk/icons/accept.png[/IMG] fading between music modes [IMG]http://www.famfamfam.com/lab/icons/silk/icons/accept.png[/IMG] dynamic darkness detection using render library [IMG]http://www.famfamfam.com/lab/icons/silk/icons/accept.png[/IMG] performance mode for combat detection [IMG]http://www.famfamfam.com/lab/icons/silk/icons/wrench.png[/IMG] zone-based darkness detection using a zoning tool [IMG]http://www.famfamfam.com/lab/icons/silk/icons/cross.png[/IMG] switchable darkness detection modes user interface [IMG]http://www.famfamfam.com/lab/icons/silk/icons/accept.png[/IMG] user interface [IMG]http://www.famfamfam.com/lab/icons/silk/icons/cross.png[/IMG] cvars dynamicmusic_enabled and dynamicmusic_volume configurable in menu [IMG]http://www.famfamfam.com/lab/icons/silk/icons/cross.png[/IMG] admins are able to add/remove music on the spot [IMG]http://www.famfamfam.com/lab/icons/silk/icons/cross.png[/IMG] make darkness detection modes switchable in menu -- configuration -- [img]http://i.imgur.com/N778Ynn.jpg[/img] all xMusic tables must have at least 1 value, and all the values must be a direct link to an mp3 file or such darkRestTime doesn't really need to be changed, but you can -- it's just the amount of time it takes for it to make the dark music go back to the start after leaving a dark zone if you experience serverside lag after adding this addon and you have a lot of entities on your server change fightPerformance to true -- convars and commands -- dynmusic_enabled (0/1) - should the system be enabled? (clientside) dynmusic_volume (0-100) - volume of the music? (clientside) dynmusic_menu - open the menu (clientside) -- download/source -- [url]https://github.com/fpkaliii/dynmusic[/url] -- notes -- yes i know the clientside code is repetitive
how about PAYDAY like staged music?
I've always wanted to attempt something like this. Good luck! I hope this turns out as you planned.
This is some creepy shit I was actually thinking about making a system like this exactly 5 days, but didn't know how I would do it effectively and efficiently. Are you my guardian angel? Can you give me gold? [editline]22nd April 2017[/editline] What might also interest people is that I actually got the idea while watching hentai and listening to the soundtrack
[QUOTE=SatoshiAaron;52135147]This is some creepy shit I was actually thinking about making a system like this exactly 5 days, but didn't know how I would do it effectively and efficiently. Are you my guardian angel? Can you give me gold? [editline]22nd April 2017[/editline] What might also interest people is that I actually got the idea while watching hentai and listening to the soundtrack[/QUOTE] i telepathically stole the idea and code from your head i am the og paster also update log: - implemented base ui (dynmusic_menu), you can't really do anything in it yet but it has a cool opening animation (will probably make the clientside cvars adjustable in menu by tonight) - changed cvar prefix to dynmusic_* from dynamicmusic_*
This is actually really cool. Never thought of adding ambient sounds on Gmod but most singleplayer games have them and it helps make them more immersive. I am sure I can use this nicely on my DarkRP
You should consider adding support for local files as well
Sorry, you need to Log In to post a reply to this thread.