Working jukebox with changeable tracks

SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts
edited July 2013 in Modding
I have fixed the jukebox so you can now have it change songs!
Right now it would be mainly for fixing the jukeboxes in Docking and Descent. But my hopes are to have it so you can add songs through the editor, and make it to vanilla. :D

Currently edited files are ButtonEmitter.Lua and eventually editor_setup.xml where I will duplicate ButtonEmitter.Lua and rename it to song changer or something like that. And add boxes where you can add songs for it to change through.

Comments

  • TharosTharos Join Date: 2012-12-18 Member: 175439Members
    Nice :D When you change the track it's only for you or everyone in the server ?
  • SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts
    edited July 2013
    Tharos wrote: »
    Nice :D When you change the track it's only for you or everyone in the server ?
    Not sure, I'm pretty sure it is server side. Haven't had a way to test that.
  • GISPGISP Battle Gorge Denmark Join Date: 2004-03-20 Member: 27460Members, Playtest Lead, Forum Moderators, Constellation, NS2 Playtester, Squad Five Blue, Squad Five Silver, Squad Five Gold, NS2 Map Tester, Reinforced - Onos, WC 2013 - Gold, Subnautica Playtester, Forum staff
    ... And that is why i love the modding community!
  • SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts
    edited July 2013
    I've made it so you can choose (up to five unless people want more) songs in the editor and have then cycle through. "Checkbox" sound just means that it plays the "pressed button" sound and then turns music off.
    st6T2tc.png
    Will now make it a mod.
  • SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts
    edited July 2013
    I've fixed the jukeboxes in Bar, Club, the secret room in Summit and the 2 in the secret room in Veil, but unfortunately it's too big of a file D: so I'll need to cut Veil out probably. In the picture above, I have also added a "default on?" True/false where it can play Track 1 automatically without pressing the button. and a volume option.
  • ImpatientJediImpatientJedi Join Date: 2013-03-10 Member: 183870Members
    So if you changed the song, would every one hear the song change or just you?
  • SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts
    I don't know yet, I for the life of me can never get a dedicated server working, just to have someone else join and test it, and no other servers are running the mod...yet. As soon as I get the chance to test it out I will.
Sign In or Register to comment.