Sound, target_speaker etc.

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Sound, target_speaker etc.

Post by obsidian »

Isn't activator spawnflag 8?
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Sound, target_speaker etc.

Post by ^misantropia^ »

Also, yes.
Quack
Posts: 82
Joined: Thu Sep 07, 2006 6:56 pm

Re: Sound, target_speaker etc.

Post by Quack »

How do you calculate the falloff distance of a sound file with a specifc dB? Does the sound not play or is it inaudible past the falloff distance. I remember reading somewhere that pvs blocks sound from playing. Anyone know more about this?
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Sound, target_speaker etc.

Post by obsidian »

If the sound source is beyond your PVS, it stops it from being played.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Sound, target_speaker etc.

Post by Bliccer »

Digging this thread out. You can read the tutorial here now:
http://q3a.ath.cx/?editing=sound_intro
Bliccer
Posts: 341
Joined: Thu Nov 26, 2009 4:27 pm

Re: Sound, target_speaker etc.

Post by Bliccer »

cityy wrote:I want a sound to be heard all over the map so I create a target_speaker and check the "globally" box. (I also checked Looped_On) Now the target_speaker has spawnflags 5 in the entity inspector... Though the sound still is only hearable if I stand right to the speaker. What am I doing wrong here?
Berserker, who is helping coding some new entities into the dfengine, told me what's the problem.
You can't use the looped_off or _on flags in combination with global or activator. Both of them have a higher priority and therefore they kind of overwrite the other two. So... no looping and globaling.
Post Reply