func_brush
< Zh
Jump to navigation
Jump to search
![]() |
---|
CFuncBrush |
![]() |
func_brush
是一个固体实体 ,可在所有的 起源 游戏中使用。它是具有各种功能的通用笔刷实体。
它结合了来自 Goldsource 的func_wall、func_illusionary和func_wall_toggle的功能。上述实体现在仍然可以使用,但对内存的节省非常有限。







- 在新一轮中,它不会故意将自己重置为其默认属性(包括位置)。
解决方案:如果这是一个问题,你可以采用 logic_auto 实体模拟重置它。
- 通过
Kill
杀死它会永远移除它,因为它不会在新一轮重生。 - 它不能用 point_template 生成。
- 把这个实体与非保留实体绑定可能会导致不良影响。
键值

参见: Generic Keyvalues, Inputs and Outputs available to all entities
- Name (targetname) <string >
- 其他实体引用该实体的目标名称。
- 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) <boolean >
- 如果启用,则会将上述“NPC class excluded from collisions”属性的含义变成“仅该类型的 NPC 会与这些笔刷发生碰撞”
- Start Disabled (StartDisabled) <boolean >
- 保持休眠状态,直到被唤醒。(利用
Enable
输入)。 提示:如果 Solidity 是 Toggle,禁用也会使实体没有碰撞。
标志
Ignore player +USE——实体将忽略所有Use输入,包括来自玩家的输入(译者注:+USE即你按E键的作用)。 : [2]
输入
- SetExcluded
- 更改不与画笔碰撞的NPC类。
- SetInvert
- 是否反转NPC类排除规则。
- Toggle 不存在于FGD!
- 切换实体的启用状态
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.