Env speaker: Difference between revisions
Jump to navigation
Jump to search

m (→Keyvalues) |
(-added class hierarchy, cleanup) |
||
Line 1: | Line 1: | ||
{{Underlinked|date=January 2024}} | {{Underlinked|date=January 2024}} | ||
{{LanguageBar}} | |||
{{CD|CSpeaker|file1=env_speaker.cpp}} | |||
{{this is a|point entity|game=Half-Life 2|game1=Half-Life 2: Episode One|game2=Half-Life 2: Episode Two|game3=Half-Life 2: Deathmatch|name=env_speaker}} It randomly emits announcements using the [[response rules]] system. | |||
{{stray ent|{{as}} {{portal2}}}} | {{stray ent|{{as}} {{portal2}}}} | ||
==Flags== | ==Flags== | ||
{{fl|1|Start Silent}} | |||
{{fl|2|Play Everywhere}} | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | |||
{{KV|Min Delay Between Announcements|intn=delaymin|float|Minimum time between announcements in seconds.}} | {{KV|Min Delay Between Announcements|intn=delaymin|float|Minimum time between announcements in seconds.}} | ||
{{KV|Max Delay Between Announcements|intn=delaymax|float|Maximum time between announcements in seconds.}} | {{KV|Max Delay Between Announcements|intn=delaymax|float|Maximum time between announcements in seconds.}} | ||
{{KV|Context rule script|intn=rulescript|string|The response rules script file to load.}} | {{KV|Context rule script|intn=rulescript|string|The response rules script file to load.}} | ||
{{KV|Concept name|intn=concept|string|The [[Response rules#Concepts|concept]] to speak.}} | {{KV|Concept name|intn=concept|string|The [[Response rules#Concepts|concept]] to speak.}} | ||
==Inputs== | ==Inputs== | ||
Line 22: | Line 21: | ||
{{IO|TurnOff|Stop random announcements.}} | {{IO|TurnOff|Stop random announcements.}} | ||
{{IO|Toggle|If on, turn off. If off, turn on.}} | {{IO|Toggle|If on, turn off. If off, turn on.}} | ||
[[Category:Sound System]] | [[Category:Sound System]] |
Revision as of 15:01, 15 July 2024

This article needs more
links to other articles to help
integrate it into the encyclopedia. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024



January 2024


![]() |
---|
CSpeaker |
![]() |
env_speaker
is a point entity available in Half-Life 2,
Half-Life 2: Episode One,
Half-Life 2: Episode Two, and
Half-Life 2: Deathmatch. It randomly emits announcements using the response rules system.
Flags
- Start Silent : [1]
- Play Everywhere : [2]
Keyvalues
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Min Delay Between Announcements (delaymin) <float>
- Minimum time between announcements in seconds.
- Max Delay Between Announcements (delaymax) <float>
- Maximum time between announcements in seconds.
- Context rule script (rulescript) <string>
- The response rules script file to load.
Inputs
- TurnOn
- Start random announcements.
- TurnOff
- Stop random announcements.
- Toggle
- If on, turn off. If off, turn on.
Categories:
- Underlinked
- CPointEntity
- Point entities
- Non-internal Half-Life 2 entities
- Half-Life 2 entities
- Half-Life 2 point entities
- Non-internal Half-Life 2: Episode One entities
- Half-Life 2: Episode One entities
- Half-Life 2: Episode One point entities
- Non-internal Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two entities
- Half-Life 2: Episode Two point entities
- Non-internal Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch entities
- Half-Life 2: Deathmatch point entities
- Sound System