Making a Disco

Funn3lcak3s

Thread Junky
Joined
Oct 20, 2009
Messages
833
Anyone have a site to send me to about making a working disco, or how to do it.
Thanks in advance.

-Funn3lcak3s
 
All you need is music and lights really...

post what you're having problems figuring out and we'll try to help
 
Most people use ambient_generic for their music and I prefer point_spotlight's for my disco lighting althought you can use any combination of lighting to make what you want. Teslas and laser ents are also popular in jail discos.
 
The one problem im having at the moment is when i press a different button to play another song my frames drop to nothing and it pretty much freezes up. Im assuming its how i have my buttons working but im not sure how to set it so it doesnt do that, any help is much appreciated.
 
Under ambient_generic it has the following under "Sound name"

Name of the GameSound entry for the sound to play. Also supports direct .wav/.mp3 filenames. If you supply a WAV/MP3, it must be within '<moddir>/sound' and you must use slashes (/), not backslashes.
 
For help with the buttons and setting it up to work CORRECTLY:

There are 2 (or more) different ways to make this work right, this is what I do (and it works):

### ambient_generic
name: song1 (etc)
song: whatever.mp3 (etc)
volume: 10
start volume: 0
fade in time: 3s
fade out time: 3s
FLAGS:
start silent (CHECKED)
(uncheck the other two)
ESPECIALLY "IS NOT LOOPED", if this flag is checked then you will not be able to control the sound (ie: start/stop) this has been my expierence.

### func_button
output: on pressed, song1, startsound, 0.00
output: on pressed, song2, stopsound, 0.00
output: on pressed, song3, stopsound, 0.00

basically just have the button for song# start that song and stop all of the others at the same time. This will give a 3s overlap of the songs starting/stopping (if you already have one playing) so there is no down-time for the music.


viola! your disco has musicz
 
Some of my .mp3 and .wav files aren't working either.

Edit: Never mind, they do work.
 
Last edited:
Back
Top