Help putting sounds into my map!

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Help putting sounds into my map!

Post by Dessicated corpse »

When I do this and load my map it just goes back to the menu and says "target_speaker without a noise key at (0 0 0). What am I meant to do?
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Help putting sounds into my map!

Post by Bliccer »

Sounds like one of your target_speaker has no noise sound?

http://q3a.ath.cx/?editing=errors#Errortargetspeaker
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Help putting sounds into my map!

Post by Dessicated corpse »

Bliccer wrote:Sounds like one of your target_speaker has no noise sound?

http://q3a.ath.cx/?editing=errors#Errortargetspeaker
I've did put a sound it in, I don't seem to be getting that message anymore but the sounds don't work!
dONKEY
Posts: 566
Joined: Mon Oct 15, 2001 7:00 am

Re: Help putting sounds into my map!

Post by dONKEY »

error messages in console?
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Help putting sounds into my map!

Post by Dessicated corpse »

dONKEY wrote:error messages in console?
Just looked, nope nothing.
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Help putting sounds into my map!

Post by Bliccer »

How does your entity window look like?
Perhaps something is wrong with the *.wav file?
Already checked the formats which work and which don't?
If nothing else works, you could give me a link via pm and I can check.
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Help putting sounds into my map!

Post by Dessicated corpse »

Bliccer wrote:How does your entity window look like?
Perhaps something is wrong with the *.wav file?
Already checked the formats which work and which don't?
If nothing else works, you could give me a link via pm and I can check.
It looks like...

http://a.imageshack.us/img130/6454/entities.png
dONKEY
Posts: 566
Joined: Mon Oct 15, 2001 7:00 am

Re: Help putting sounds into my map!

Post by dONKEY »

Umm, you need a target_speaker entity. That links to a sound file. Then set global or looped or use a trigger to activate.\\edit. Forgot to say... A target speaker is an entity in itself. You don't turn groups of brushes or patches into a target_speaker like you do a func_group.
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Help putting sounds into my map!

Post by Dessicated corpse »

dONKEY wrote:Umm, you need a target_speaker entity. That links to a sound file. Then set global or looped or use a trigger to activate.\\edit. Forgot to say... A target speaker is an entity in itself. You don't turn groups of brushes or patches into a target_speaker like you do a func_group.
Never noticed the looped_on, lopped_off, global, and activator keys there, thanks. I know you don't add textures to them.
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Help putting sounds into my map!

Post by Dessicated corpse »

Hmm, is there a way to make the sounds go on every now and then instead of looping? I've tried checking global and loop_off but they don't work.
dONKEY
Posts: 566
Joined: Mon Oct 15, 2001 7:00 am

Re: Help putting sounds into my map!

Post by dONKEY »

iirc there is a wait and random key. Also they can be triggered.
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Help putting sounds into my map!

Post by Bliccer »

Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Help putting sounds into my map!

Post by Dessicated corpse »

That's making it repeating forever!
dONKEY
Posts: 566
Joined: Mon Oct 15, 2001 7:00 am

Re: Help putting sounds into my map!

Post by dONKEY »

As I said, off the top of my head the keys are wait and random.
Loop the sound then set values for the keys.
At work atm, so I can't check I have the key name right, but it's something like that.
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Help putting sounds into my map!

Post by Dessicated corpse »

dONKEY wrote:As I said, off the top of my head the keys are wait and random.
Loop the sound then set values for the keys.
At work atm, so I can't check I have the key name right, but it's something like that.
I done that, no matter what value I put it at it loops on every second.
dichtfux
Posts: 571
Joined: Thu Feb 02, 2006 10:51 pm

Re: Help putting sounds into my map!

Post by dichtfux »

Dunno whether it's the same for q3a but in Quake 2, I set looped off, ignore the wait/random keys and target the thing with a func_timer for more flexibility (you can set those keys for the timer).

If you set looped on for the speaker it will just loop and ignore the wait/random keys...
[color=#FFFFFF][url=http://maps.rcmd.org]my FPS maps[/url][/color]
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Help putting sounds into my map!

Post by Bliccer »

Dessicated corpse wrote:That's making it repeating forever!
Are you serious? Have you even read it?
TUTORIAL wrote:The wait key says after how many seconds the sound plays again. When you use the "wait" key, you also must set the "random" key. This key will add or subtract the seconds typed in the value box to/from the wait key randomly.
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Help putting sounds into my map!

Post by Dessicated corpse »

dichtfux wrote:Dunno whether it's the same for q3a but in Quake 2, I set looped off, ignore the wait/random keys and target the thing with a func_timer for more flexibility (you can set those keys for the timer).

If you set looped on for the speaker it will just loop and ignore the wait/random keys...
That tutorial is wrong then?
Bliccer wrote:
Dessicated corpse wrote:That's making it repeating forever!
Are you serious? Have you even read it?
TUTORIAL wrote:The wait key says after how many seconds the sound plays again. When you use the "wait" key, you also must set the "random" key. This key will add or subtract the seconds typed in the value box to/from the wait key randomly.
Yes I did, especially that part. No matter what number I put in either it won't stop looping.
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Help putting sounds into my map!

Post by Bliccer »

Of course they are looping. What do you want exactly? You said you want a sound which goes off and on one and then. So take a wait key of 5 and a random key of ... 1 or something. Then it plays every 4th, 5th or 6th second. Or take 30 for wait and 1 for random. Or 0.5.

Or we all get wrong what you try to do.
Dessicated corpse
Posts: 283
Joined: Tue Oct 07, 2008 5:37 am

Re: Help putting sounds into my map!

Post by Dessicated corpse »

Bliccer wrote:Of course they are looping. What do you want exactly? You said you want a sound which goes off and on one and then. So take a wait key of 5 and a random key of ... 1 or something. Then it plays every 4th, 5th or 6th second. Or take 30 for wait and 1 for random. Or 0.5.

Or we all get wrong what you try to do.
I already said no matter how high I put the numbers at they won't stop looping, I even put it up to 1000000000 and it kept looping every second.
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Help putting sounds into my map!

Post by Bliccer »

May I see the map? Or you could zip up a pack with a small room where your target_speaker is in with all necessary files. I think it's just a typo in your speaker. It works for my crows in the tutorial though (you can hear it in the end version of the tutorial map).
Post Reply