Forum

> > CS2D > Maps/Editor > Music playlist
ForenübersichtCS2D-Übersicht Maps/Editor-ÜbersichtEinloggen, um zu antworten

Englisch Music playlist

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Music playlist

zjorz
User Off Offline

Zitieren
Hello all,

I'm working on a goldeneye map for cs2d and i would like to add the multiplayer soundtracks from goldeneye 64.

Is it possible to add up to 12 soundtracks to the map?

I would like them to play in a random order so it wont become repetitive. Is this possible?

Thanks,
Zjorz

alt Re: Music playlist

buraxia3
User Off Offline

Zitieren
You can add how much if you want music. But remember if you open server online if files are big then its too hard to join your server.

alt Re: Music playlist

Jela331
User Off Offline

Zitieren
You can add it but don't add whole music or big musics.
Best music weight for CS2D(1kb-1000kb)

alt Re: Music playlist

zjorz
User Off Offline

Zitieren
How can i add multiple soundtracks? i know the trigger env_sound, but it only allows 1 ogg file.

alt Re: Music playlist

Apache uwu
User Off Offline

Zitieren
You can try with lua...

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mysounds={"sfx/porns.ogg","sfx/coolmusics.ogg","sfx/awesomemusic.ogg","9000.ogg"}

addhook("second","_second")
   
function play_random()
	i=math.random(1,#mysounds)
	parse("sv_sound \""..mysounds[i].."\"")
end

i=0
function _second()
	i=i+1
	if i>=60 then
		i=0
		play_random()
	end
end
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Maps/Editor-ÜbersichtCS2D-ÜbersichtForenübersicht