Author Topic: Question regarding usage of music in sound addons. (for gamemodes)  (Read 1013 times)

My gamemode may use the sound system to play music to the player, music files being .wav files being played to the client via events.

Like for example, i shove a song from the Black Mesa soundtrack into my gamemode, make server.cs execute it like a sound addon, and have it played to the player via events.

Is this against the rules? The only thing i've found relating to this is ►►►Don't Post Full Songs. but I have no idea if this rule applies to gamemodes/sound addons? Will just using a little bit of the song be okay, or am I totally not allowed?

It should be fine as far as I know.

.wav files are pretty huge though. You should get those 2D music events from RTB instead for whatever you're doing. You could try using an .ogg for the sound datablock but I doubt it'll work.

Im not exactly sure, but you should ask Elm for more info. I dont think it would matter, but it is more difficult to loop full songs. Im pretty sure the max song limit is 1:37, but then again. if you were to turn it into an addon (.wav) and not a music file (.ogg), then it should be fine. But then you run into problems with the song not stopping, being there is no way to stop a sound from playing when it starts. (As far as I know) Also crispy. Add me on steam - dragonoidslayer     skype - dragslay2012

It should be ok as long as you cut the song down, the way I usually do it, is if a song is 3 mins then I cut it to 30 secs. This is for both copyright reasons and for less waiting times. Note that Badspot only checks sons posted on the forums. So if it's a private add-on you should be ok as long as it isn't some major artist or popular song (#dmca).