how a can put background music in quake?
tnx!
PD: in more hours i put the qtest mod final version with the SRC :d
tnx!
PD: in more hours i put the qtest mod final version with the SRC :d
void() spawnmusic =
{
local entity e;
e = spawn();
e.think = playmusic;
e.nextthink = time + 1.0;
};
void() playmusic =
{
sound(self, CHAN_AUTO, "[path to your music file]", 1.0, ATTN_NONE);
self.nextthink = time + [length of your music file];
};
Comment