I wanted to send a small loop of music (610kb) in ogg file format to keep it smaller.
Forum
Servers
File size exceeds client size limits
File size exceeds client size limits
7 replies
1

I wanted to send a small loop of music (610kb) in ogg file format to keep it smaller.
I highly recommend to not put music loops on your server. Will lead to a better world for everyone
And yes, the majority of players won't hear your music if it's bigger than 250 kbs.
DC: I make my own music and I thought I might as well throw some of my old unused stuff onto it. I had the idea of using a few different loops and bringing them in as the player survives longer and it gets harder, increasing the tempo and such. Also script a personal button to turn it on/off, I've ran out of f keys though.I crushed down the bit rate so it was just under the limit while still being listenable. Trying to think of other ways to reduce the download size if I plan to add more.
From my experience people tend to (illegally) fill their servers with random licensed/chart music and to randomly annoy people with it. E.g. by making it play via say-commands or stuff like that. A truly horrible idea.
DC: I'll check this later when I'm at my pc but just incase you know, do you think it would work if I split things down into their components and used timers to trigger sounds? I'm thinking I could just use 2-3 drum samples and script them to play in time, a few melody loops over the top and maybe one or two extra sounds. It would bring the total size down to about 1/10th of what it would otherwise be. Would it all stay in time?
It would be funny if I could incorporate sounds included in cs2d with it to reduce it even further.
timer. It depends on the latency of the players though as all that stuff runs on the server and is synced over net. So whenever there are lags / latency spikes it might ruin the timing a bit.
DC: hmm I hadn't considered the ping. I'm guessing I would have to keep the drums attached to the melody loops so if they lag spike they get a bit of silence instead of a ton of drum hits all at the same time deafening them?I don't suppose there's any way to pause and resume playing files?
I could just stop playback if their ping goes above a certain amount. This is going to be weird to work out, I'm not sure how I can force my ping higher to test it.
edited 1×, last 02.12.17 01:42:50 pm
1

Offline