target_speaker
This is an entity, present on Quake II, Quake III Arena, RTCW Single Player, RTCW Multiplayer and Enemy Territory. Below you can find its spawnflags, keys and editor settings for each game that defines it.
Quake II
Normal sounds play each time the target is used. The reliable flag can be set for crucial voiceovers.
Looped sounds are allways atten 3 / vol 1, and the use function toggles it on/off. Multiple identical looping sounds will just increase volume without any speed cost.
Spawnflags
| Flag |
Bit |
Description |
| looped-on |
1 |
|
| looped-off |
2 |
|
| reliable |
4 |
|
Keys
| Key |
Description |
| noise |
wav file to play |
| attenuation |
-1 = none, send to whole level 1 = normal fighting sounds 2 = idle sound level 3 = ambient sound level |
| volume |
0.0 to 1.0 |
Editor
| Property |
Value |
| Type |
point entity |
| Min |
-8 -8 -8 |
| Max |
8 8 8 |
| Color |
1 0 0 |
| Spawn function |
SP_target_speaker |
Quake III Arena
A global sound will play full volume throughout the level. Activator sounds will play on the player that activated the target. Global and activator sounds can't be combined with looping. Normal sounds play each time the target is used. Looped sounds will be toggled by use functions. Multiple identical looping sounds will just increase volume without any speed cost.
Spawnflags
| Flag |
Bit |
Description |
| looped-on |
1 |
|
| looped-off |
2 |
|
| global |
4 |
|
| activator |
8 |
|
Keys
| Key |
Description |
| noise |
wav file to play |
| wait |
: Seconds between auto triggerings, 0 = don't auto trigger |
| random |
wait variance, default is 0 |
Editor
| Property |
Value |
| Type |
point entity |
| Min |
-8 -8 -8 |
| Max |
8 8 8 |
| Color |
1 0 0 |
| Spawn function |
SP_target_speaker |
RTCW Single Player
A global sound will play full volume throughout the level. Activator sounds will play on the player that activated the target. Global and activator sounds can't be combined with looping. Normal sounds play each time the target is used. Looped sounds will be toggled by use functions. Multiple identical looping sounds will just increase volume without any speed cost.
Spawnflags
| Flag |
Bit |
Description |
| LOOPED_ON |
1 |
|
| LOOPED_OFF |
2 |
|
| GLOBAL |
4 |
|
| ACTIVATOR |
8 |
|
| VIS_MULTIPLE |
16 |
|
| NO_PVS |
32 |
- this sound will not turn off when not in the player's PVS |
Keys
| Key |
Description |
| noise |
wav file to play |
| wait |
: Seconds between auto triggerings, 0 = don't auto trigger |
| random |
: wait variance, default is 0 |
Editor
| Property |
Value |
| Type |
point entity |
| Min |
-8 -8 -8 |
| Max |
8 8 8 |
| Color |
1 0 0 |
| Spawn function |
SP_target_speaker |
RTCW Multiplayer
A global sound will play full volume throughout the level. Activator sounds will play on the player that activated the target. Global and activator sounds can't be combined with looping. Normal sounds play each time the target is used. Looped sounds will be toggled by use functions. Multiple identical looping sounds will just increase volume without any speed cost.
Spawnflags
| Flag |
Bit |
Description |
| LOOPED_ON |
1 |
|
| LOOPED_OFF |
2 |
|
| GLOBAL |
4 |
|
| ACTIVATOR |
8 |
|
| VIS_MULTIPLE |
16 |
|
| NO_PVS |
32 |
- this sound will not turn off when not in the player's PVS |
Keys
| Key |
Description |
| noise |
wav file to play |
| wait |
: Seconds between auto triggerings, 0 = don't auto trigger |
| random |
: wait variance, default is 0 |
Editor
| Property |
Value |
| Type |
point entity |
| Min |
-8 -8 -8 |
| Max |
8 8 8 |
| Color |
1 0 0 |
| Spawn function |
SP_target_speaker |
Enemy Territory
A global sound will play full volume throughout the level. Activator sounds will play on the player that activated the target. Global and activator sounds can't be combined with looping. Normal sounds play each time the target is used. Looped sounds will be toggled by use functions. Multiple identical looping sounds will just increase volume without any speed cost.
Spawnflags
| Flag |
Bit |
Description |
| LOOPED_ON |
1 |
|
| LOOPED_OFF |
2 |
|
| GLOBAL |
4 |
|
| ACTIVATOR |
8 |
|
| VIS_MULTIPLE |
16 |
|
| NO_PVS |
32 |
- this sound will not turn off when not in the player's PVS |
Keys
| Key |
Description |
| noise |
wav file to play |
| wait |
: Seconds between auto triggerings, 0 = don't auto trigger |
| random |
: wait variance, default is 0 |
| volume |
volume control 255 is default |
Editor
| Property |
Value |
| Type |
point entity |
| Min |
-8 -8 -8 |
| Max |
8 8 8 |
| Color |
1 0 0 |
| Spawn function |
SP_target_speaker |