触发式灯光教程
< Zh
Jump to navigation
Jump to search

This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages)

This article has no
links to other VDC articles. Please help improve this article by adding links
that are relevant to the context within the existing text.
January 2024


January 2024

This article is an orphan, meaning that few or no articles link to it.
You can help by
adding links to this article from other relevant articles.
January 2024
You can help by

January 2024
本教程章节将指导您制作一个当玩家进入房间时自动开启,离开时自动关闭的灯光系统。
设置触发器
1. 在需要应用此效果的房间门口,使用trigger纹理创建一个笔刷 2. 选中刚创建的笔刷,按"Ctrl+T"将其绑定为实体,选择trigger_multiple 3. 创建实体后为其命名(示例使用"Trigger") 4. 将"Delay Before Reset"(重置前延迟)设为"0"(后续步骤会用到)
属性 | 值 |
---|---|
名称 | Trigger |
父级 | 空 |
原点 | 取决于触发器位置 |
初始禁用 | 否 |
全局实体 | 空 |
过滤器名称 | 空 |
重置前延迟 | 0 |
设置灯光
1. 创建一个"light_spot"实体并命名(示例使用"Light_Spot") 2. 可调整影响游戏内视觉效果的任何灯光属性 3. 在"Flags"标签页中,将"initially dark"(初始黑暗)设为是
设置输入输出
1. 打开之前创建的"trigger_multiple"属性窗口 2. 导航至"Outputs"(输出)标签页 3. 点击"Add"(添加)按钮,按以下参数设置:
参数 | 值 |
---|---|
我的输出名称 | OnEndTouch |
目标实体名称 | Light_Spot |
通过此输入 | Toggle |
参数覆盖 | 无 |
输出延迟 | 0.00 |
仅触发一次 | 否 |
如果正确按照教程操作,现在当您进入区域时灯光会亮起,离开时则会熄灭。