ULX

Author Topic: TTT Mid-Round Music  (Read 4512 times)

0 Members and 1 Guest are viewing this topic.

Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
TTT Mid-Round Music
« on: February 06, 2014, 08:55:13 PM »
TTT Round Music - 1.0

This addon basically plays music during rounds based on the amount of innocents left.

To use this addon without changing anything, you must have L4D2's sound/music folder on your server.
Or, if you're using this on a listen server, just have L4D2 mounted.

As for clients, you can make them download it from your server or just have them go download the files from mediafire or something.

How to use:
Innocents die.

Features:
  • ULX Commands
    • StopRS - Stops the currently playing round sound.
    • StopRSAll - Stops the currently playing round sound for all.
  • Editable sounds
  • Have L4D2? Great, just mount it to hear pre-looped sounds!

Known Bugs:
  • The first round of the map may glitch out and not play sounds correctly. [Common]
  • Sometimes, the sound glitches out and plays twice. Use !stoprs to stop one of them. [Uncommon]
  • Certain sweps may start having glitched sounds. [Very Rare]

Thanks:
  • MrPresident
« Last Edit: February 06, 2014, 09:00:22 PM by Neku »
Out of the Garry's Mod business.

Offline lime150

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: TTT Mid-Round Music
« Reply #1 on: August 27, 2014, 09:11:15 PM »
Okay sorry to bump this but it looks interesting.

In chat it prints that there is one inno but the sound doesn't play (custom sound). <FASTDL>

I also get this error when joining

Code: [Select]
[ERROR]
[ERROR] addons/dm-ttt_roundmusic/lua/ulx/modules/sh/roundmusic.lua:14: 'in' expected near '('
  1. unknown - addons/dm-ttt_roundmusic/lua/ulx/modules/sh/roundmusic.lua:0


Offline Neku

  • Hero Member
  • *****
  • Posts: 549
  • Karma: 27
Re: TTT Mid-Round Music
« Reply #2 on: August 27, 2014, 11:36:47 PM »
I recommend you don't use this to be honest.
It was working fine one day, but I guess it was a fluke.

I'm no longer working on this. If anyone wants to build on my existing code, that's fine.
Out of the Garry's Mod business.