Page 2 of 2

Posted: Fri Mar 14, 2003 7:38 pm
by XKA Murdock
do i have to put my wavs ina certain format like 8 bit mono? can i use mp3s? (this would be great for map distrubution :D)

Posted: Fri Mar 14, 2003 10:39 pm
by panTera
well, the original sounds are in: PCM 44,100 kHz; 16 Bit; Mono, but an 8bit mono wav can also be used.
And yes you can use mp3;) But note that a mp3 cannot be called from your pk3. You'll have to distribute it along with your map's pk3 and zip them together.
Now go make some noise! 8)

Posted: Sat Mar 15, 2003 1:06 am
by XKA Murdock
thnx a lot, i converted my wav to 44100 kjhz moo 16 bit and now it works :D

do the mp3's files have to be 441100khz 16 bit mono to play?

Posted: Sat Mar 15, 2003 1:08 pm
by XKA Murdock
this map u made for "The Storm" i understod it and was able to create an equal one, but how do i get the sound to be playing from the begginin (it's bad write..) and to hear only when the player is close to it?

Posted: Sat Mar 15, 2003 2:03 pm
by jv_map
Just use a loopsound command in your script. 8)

Posted: Sun Mar 16, 2003 11:53 pm
by XKA Murdock
jv_map i'm kinda dumb... can you convert your map so that it is always playng that heli sound? only when the player gets close of course... i'd apreciate that... but there's no rush... convert it when you have time! thnx

Posted: Mon Mar 17, 2003 7:26 am
by jv_map
You only need some modifications in the script. Post the script here and I'll show you what to change! :D

Posted: Mon Mar 17, 2003 4:02 pm
by XKA Murdock
k this is what i got in g2.scr:

Code: Select all

start:
	level waittill spawn

	while(1)
	{
		$soundtrigger triggerable
		$soundtrigger waittill trigger
		$speaker playsound ateam
		$soundtrigger nottriggerable
		wait 7
	}
end
this is what i got in the g2.tik

Code: Select all

TIKI

setup
{
	path models/fx/dummy
	skelmodel dummy3.skd
}

init
{
	server
	{
	   classname ScriptModel
		rendereffects +dontdraw
		notsolid
	}
	client
	{
		settiki none
		aliascache ts_heli_main sound/ateam.mp3 soundparms 1.5 0.0 0.92 0.15 500 9000 item loaded maps "dm"
	}
}

animations
{
	idle     dummy3.skc
}
you might notice some equalness to your map :D it's basically copy, past...

Posted: Mon Mar 17, 2003 4:11 pm
by jv_map

Code: Select all

start: 
   level waittill spawn 

   $speaker loopsound ateam 
end
Note that the ubersound work-around doesn't seem to work on dedicated servers :cry:

Posted: Mon Mar 17, 2003 4:57 pm
by XKA Murdock
in my map it didn't work, i tryed to modify your's and it didn't work either... i'd prefer the demo map... with the always looping mp3... would it be askin too much?

Posted: Wed Mar 19, 2003 1:20 am
by XKA Murdock
jv_map i know i'm annoying... bu tplease take in consieration some n00b's n00bness and help him out to make his damn map... please convert your map to an always looping sound only in that ringbell area, like if it was a speaker.

thnx and sorry to bother my friend!

Posted: Wed Mar 19, 2003 10:01 am
by mohaa_rox
Hmm,

$speaker loopsound ts_heli_main //where ts_heli_main is your tiki sound name

Later. Cheers.