Zh/Ambient music: Difference between revisions
< Zh
Jump to navigation
Jump to search
(Created page with "{{stub:zh}} {{l4d2 point:zh|ambient_music}} == 实体描述 == left|link= 这是用来播放求生之路的特定音频,由info_director|AI...") |
m (Translation stuff, and update Templates.) |
||
Line 1: | Line 1: | ||
{{lang|Ambient music}} | |||
{{stub:zh}} | {{stub:zh}} | ||
{{updatetranslation:zh-cn}} | |||
{{l4d2 point:zh|ambient_music}} | {{l4d2 point:zh|ambient_music}} | ||
Line 9: | Line 11: | ||
== 键值 == | == 键值 == | ||
{{KV:zh|Sound Name|sound|将要播放的声音名字。 }} | {{KV:zh-cn|Sound Name|sound|将要播放的声音名字。 }} | ||
{{KV | {{KV BaseEntity:zh-cn}} | ||
== 输入 == | == 输入 == | ||
{{IO:zh|PlaySound|开始播放声音。}} | {{IO:zh|PlaySound|开始播放声音。}} | ||
{{IO:zh|StopSound|停止它的声音播放。}} | {{IO:zh|StopSound|停止它的声音播放。}} | ||
{{I | {{I BaseEntity:zh-cn}} | ||
== 输出 == | == 输出 == | ||
{{O | {{O BaseEntity:zh-cn}} | ||
[[Category:Sound System]] | [[Category:Sound System:zh-cn]] |
Revision as of 16:31, 30 August 2021
Template:Stub:zh Template:Updatetranslation:zh-cn
实体描述

这是用来播放求生之路的特定音频,由AI 导演安排播放。
键值
- Sound Name <sound >
- 将要播放的声音名字。
输入
- PlaySound
- 开始播放声音。
- StopSound
- 停止它的声音播放。
Base:
- AddContext <字符串 >
- 添加到实体的 Response Contexts/响应上下文列表。格式是
<key>:<value>
。
语法:
- ClearContext
- 从此实体的列表中删除所有上下文。
- ClearParent
- 从移动层次结构中删除该实体,使其可以自由移动。
- FireUser1 to FireUser4
- 触发相应的
OnUser
输出;详见 User Inputs and Outputs。
- Kill
- 从这个世界中删除此实体。
- KillHierarchy
- 功能类似
Kill
,尽管此实体与其父实体都被删除了,但比Kill
快一点。
- RemoveContext
- 从实体列表删除一个上下文。名字应与现有上下文进行匹配。
- SetParent <字符串 >
- 跟随此实体移动,详见 实体层级(依赖关系)。
- SetParentAttachmentMaintainOffset <字符串 >
- 同上,但没有传送。在接收到输入时,实体保持其相对于附件的位置。
- DispatchResponse <字符串 > 不存在于FGD!
- 向实体发送一个上下文。 详见 Response
和 Concept
.
- DispatchEffect <字符串 > (被移除于
以来) 不存在于FGD!
- 在实体的原点坐标设置一个特定效果;参见 List of Client Effects
。自从
求生之路后由粒子系统取代。
- RunScriptCode <字符串 > (存在于自
以来)
- 在接收输入的实体范围内执行一串 VScript 源代码。通过控制台触发时可能需要字符串引用。
修复:使用文本编辑器手动删除带有字符串的参数。
- SetLocalOrigin <coordinates > (存在于自
以来) 不存在于FGD!
- 将此实体设置到地图中的某个位置。如果此实体是某实体父级,那么它的子级也会随着移动。
输出
Base/基础:
- OnUser1 to OnUser4
- 这些输出将分别响应于
FireUser1
到FireUser4
输入。 详见 User Inputs and Outputs。