ULX

Author Topic: How to use play sound feature?  (Read 1801 times)

0 Members and 2 Guests are viewing this topic.

Offline smithy285

  • Newbie
  • *
  • Posts: 7
  • Karma: -6
How to use play sound feature?
« on: November 19, 2012, 02:27:21 PM »
Ok, so I really want to be able to play sounds when I want on my server.
Here is where I store my downloads.txt (C:\GarrysModServer\Gameserver\orangebox\garrysmod\addons\ulx\data\ulx)
Inside the downloads.txt I have this.

Code: [Select]
;ATTENTION! /ADDONS/ulx/data/ulx/<this file> is a DEFAULT file. DO NOT EDIT THE /ADDONS/ULX/DATA/ULX FOLDER FILE!!!
; Instead, edit the version in <garrysmod root>/data/ulx/ if it exists. If it doesn't, copy this file to <gmod root>/data/ulx/ to create it.
; You can add forced downloads here. Add as many as you want, one file or
; folder per line. You can also add these to your map- or game-specific files.
; You can add a folder to add all files inside that folder recursively.
; Any line starting with ';' is a comment and WILL NOT be processed!!!
; Examples:
;sound/cheeseman.mp3 <-- Adds the file 'cheeseman.mp3' under the sound folder
;sound/my_music <-- Adds all files within the my_music folder, inside the sound folder
sounds/Bill_Nye

This is where I store the mp3 file Bill_Nye (C:\GarrysModServer\Gameserver\orangebox\garrysmod\sound)

On my fast DL server I have the mp3 stored here (/public_html/gmod-dl/sounds)

Please help guys, thanks!


Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: How to use play sound feature?
« Reply #1 on: November 19, 2012, 04:17:08 PM »
You have one mp3 file named "Bill_Nye"? You probably meant to add "sound/Bill_Nye.mp3" then.
Experiencing God's grace one day at a time.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: How to use play sound feature?
« Reply #2 on: November 19, 2012, 07:08:28 PM »
Here is where I store my downloads.txt (C:\GarrysModServer\Gameserver\orangebox\garrysmod\addons\ulx\data\ulx)
Besides what Megiddo said, the above quote is wrong too.
As it states in the top of the file, every config file we have actually, DO NOT EDIT THE /ADDONS/ file.

Quote from: default downloads.txt
; Instead, edit the version in <garrysmod root>/data/ulx/ if it exists. If it doesn't, copy this file to <gmod root>/data/ulx/ to create it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming