func_brush
< Zh
Jump to navigation
Jump to search
本页面的译者及时间为大康 (talk) 08:08, 6 January 2022 (PST)。部分内容由机器翻译。
func_brush
是一个固体实体 ,可在所有的 起源 游戏中使用。它是具有各种功能的通用笔刷实体。
它结合了来自 Goldsource 的func_wall、func_illusionary和func_wall_toggle的功能。上述实体现在仍然可以使用,但对内存的节省非常有限。

- 在新一轮中,它不会故意将自己重置为其默认属性(包括位置)。
解决方案:如果这是一个问题,你可以采用 logic_auto 实体模拟重置它。
- 通过
Kill
杀死它会永远移除它,因为它不会在新一轮重生。 - 它不能用 point_template 生成。
- 把这个实体与非保留实体绑定可能会导致不良影响。
键值
- Solidity (Solidity) <choices>
- 用于控制这个笔刷的坚固性/碰撞。
- 0: Toggle(切换)- 碰撞随其可见性一起切换。
- 1: Never Solid(从不碰撞)
- 2: Always Solid(始终碰撞)
- NPC class excluded from collisions (excludednpc) <classname >
- 如果在此处指定了 NPC 类型名称(classname)(例如npc_zombie),则该类型的 NPC 不会与这些笔刷发生碰撞。
- Invert NPC class exclusion (invert_exclusion) <布尔值 >
- 如果启用,则会将上述“NPC class excluded from collisions”属性的含义变成“仅该类型的 NPC 会与这些笔刷发生碰撞”
- Start Disabled (StartDisabled) <布尔值 >
- 保持休眠状态,直到被唤醒。(利用
Enable
输入)。 提示:如果 Solidity 是 Toggle,禁用也会使实体没有碰撞。

This template (and its redirect) is
Deprecated. Its use is not recommended and its functionality may be compromised.
Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Please use {{Brush rendering note}} instead.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.


标志
- 2: Ignore player +USE——实体将忽略所有Use输入,包括来自玩家的输入(译者注:+USE即你按E键的作用)。
输入
- SetExcluded
- 更改不与画笔碰撞的NPC类。
- SetInvert
- 是否反转NPC类排除规则。
- Toggle 不存在于FGD!
- 切换实体的启用状态
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
- EnableDamageForces
- Allows the entity to be pushed by damage done to it (usually force amount correlates with the damage done).
- DisableDamageForces
- Prevents the entity from being pushed by damage done to it.
待完善: move/mention at proper place