1. This forum is ARCHIVED! Visit the new Cloud Sixteen forums, codename Eden, at https://eden.cloudsixteen.com. These forums will remain archived for a few months before being closed down, so try to encourage plugin developers to begin moving their content across to the new forums.
Dismiss Notice
Hi Guest, you need a Steam account to register and post on these forums. Login with Steam at the top of the forums to get started!
Dismiss Notice
Hi Guest, do you want to buy HL2RP or another Clockwork schema? Visit the Cloud Sixteen Store to get started!

Ambience Library

Discussion in 'Development' started by NightAngel, May 31, 2015.

  1. NightAngel

    NightAngel Fuck off Lev

    Hey all, been a while since I released anything, but here's something I was working on for Verfall and TESRP that I made into its own plugin for ease of use.

    Right now there's not much functionality, except for the song cycling and ability for clients to turn off or adjust volume of the music. But as time goes on, I'll be experimenting with areas that change mood and therefore the list of songs that cycle, as well as identifying a combat mood, so when firefights go down or something like that, upbeat music will start to play. Thought I'd just release this early version for people to play around with, or add on to if that's your thing.

    You add songs to the default mood by using
    Code:
    Ambience:Register("default", "exampleRP/music/benny_hill_theme.mp3");
    Ambience:Register("default", "exampleRP/music/illuminati.mp3");
    in ANY clientside script (cl_schema, cl_plugin). You can also put these under line 47 of sh_ambience.lua if you want to, since that's the client part of the shared code.

    Please give feedback, report any fuck ups and glitches on my part. This is not a finished script.

    DOWNLOAD
     
    • Winner Winner x 2
  2. RJ

    RJ no pay Legend Clockwork Customer

    Very nice, I think this will make a great plugin for people to use.

    One note though, I don't believe there's a way for a player to set their mood (I think you missed adding the command as there's the commands folder, but it's empty). However a cool thing instead of a command would be adding a drop box to the settings and having the player set their mood there.
     
  3. NightAngel

    NightAngel Fuck off Lev

    It's not finished like I said, I have a commented out debug concommand for setting mood (ambsetmood 'mood') i think it's called. It's not really made for players themselves to pick their mood, it's more of a combat versus roleplay ambience, versus indoor ambience kinda thing. I'm planning to have a command where u can set an area with like /ambareaadd "mood" and then it creates an area that will switch players to the specified mood when entered. Still real early though, and I'm still trying to keep myself motivated, I guess.

    Edit: On second thought, I could have it so that players could maybe create their own custom playlist of songs that are added to the library regardless of mood, and just let them opt in and out of their custom playlist and the mood system.
     

Previous Readers (Total: 0)