Env speaker: Difference between revisions
Jump to navigation
Jump to search
BocacElpas (talk | contribs) No edit summary |
m (revert) |
||
Line 1: | Line 1: | ||
{{wrongtitle|title=env_speaker}} | {{wrongtitle|title=env_speaker}} | ||
==Entity | |||
== Entity description == | |||
[[Image:ambient_generic.png|left]] | [[Image:ambient_generic.png|left]] | ||
Announcement Speaker, used in several maps it uses the NPC response context system. You can specify time between announcements. When it makes an announcement, it looks at its Context rule script, chooses the best rule (Response Contexts and Concept name are used here.), then dispatches a response which could be a .vcd scene that controls an NPC, a sentence, or just a sound. See [[Response System]] for more information about context rule script grammar. | Announcement Speaker, used in several maps it uses the NPC response context system. You can specify time between announcements. When it makes an announcement, it looks at its Context rule script, chooses the best rule (Response Contexts and Concept name are used here.), then dispatches a response which could be a .vcd scene that controls an NPC, a sentence, or just a sound. See [[Response System]] for more information about context rule script grammar. | ||
==Keyvalues== | == Keyvalues == | ||
* {{kv targetname}} | * {{kv targetname}} | ||
* {{kv responsecontext}} | * {{kv responsecontext}} | ||
Line 17: | Line 16: | ||
* '''Concept''' | * '''Concept''' | ||
: <string> High level concept name used as primary search key. | : <string> High level concept name used as primary search key. | ||
==Flags== | |||
== Flags == | |||
* Start Silent : 0 | * Start Silent : 0 | ||
* Play Everywhere : 0 | * Play Everywhere : 0 | ||
==Inputs== | |||
== Inputs == | |||
* {{i targetname}} | * {{i targetname}} | ||
* {{i responsecontext}} | * {{i responsecontext}} | ||
Line 30: | Line 31: | ||
: Toggle the random announcements off and on. | : Toggle the random announcements off and on. | ||
==Outputs== | == Outputs == | ||
* {{o targetname}} | * {{o targetname}} | ||
[[Category:Sound System]] | [[Category:Sound System]] | ||
[[Category:Entities]] | [[Category:Entities]] |
Revision as of 07:22, 1 October 2007
Entity description
Announcement Speaker, used in several maps it uses the NPC response context system. You can specify time between announcements. When it makes an announcement, it looks at its Context rule script, chooses the best rule (Response Contexts and Concept name are used here.), then dispatches a response which could be a .vcd scene that controls an NPC, a sentence, or just a sound. See Response System for more information about context rule script grammar.
Keyvalues
- <string> Minimum Delay Between Announcements
- delaymax
- <string> Maximum Delay Between Announcements
- rulescript
- <string> Script file containing rules for playing appropriate sounds.
- Concept
- <string> High level concept name used as primary search key.
Flags
- Start Silent : 0
- Play Everywhere : 0
Inputs
- Turn on the random announcements.
- TurnOff
- Turn off the random announcements.
- Toggle
- Toggle the random announcements off and on.