Zh/Prop paint bomb: Difference between revisions
< Zh
Jump to navigation
Jump to search
(Created page with "{{LanguageBar|Prop paint bomb}} {{this is a|点实体|game=传送门2|name=prop_paint_bomb}} 这是一个会在撞击时爆炸的油漆炸弹。 {{paintinmap}} {{bug|hidetested=1|未设置<code>model</code>键值的油漆炸弹每次生成时都会在控制台显示警告信息。可以将其设置为任意有效模型(如已加载的<code>error.mdl</code>),该模型实际上不会被渲染或使用。}} {{note|油漆炸弹使用pr...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{LanguageBar|Prop paint bomb}} | {{LanguageBar|Prop paint bomb}} | ||
{{this is a|点实体|game= | {{this is a|点实体|game=Portal 2|name=prop_paint_bomb}} 这是一个会在撞击时爆炸的油漆炸弹。 | ||
{{paintinmap}} | {{paintinmap}} |
Revision as of 01:09, 30 June 2025
prop_paint_bomb
是一个点实体,可在 传送门2中使用。 这是一个会在撞击时爆炸的油漆炸弹。


model
键值的油漆炸弹每次生成时都会在控制台显示警告信息。可以将其设置为任意有效模型(如已加载的error.mdl
),该模型实际上不会被渲染或使用。
props/futbol.mdl
)进行碰撞检测。使用油漆炸弹的独立模组必须包含此模型才能正常工作,但不需要材质文件。Keyvalues
- Paint Type ([todo internal name (i)]) <choices>
- 爆炸产生的油漆类型。
- 0 : 弹跳油漆
- 2 : 加速油漆
- 3 : 传送门油漆
- 4 : 消除油漆
- Bomb Type ([todo internal name (i)]) <choices>
- 爆炸类型。
- 0 : 干性炸弹
- 1 : 湿性炸弹
- Name (目标名称) <target_source>[ Edit ]
- 这个名称是其他实体通过 输入/输出 或其他 关键值 (如
parentname
或target
) 来引用该实体时使用的标识符。
该名称也会显示在 Hammer 编辑器的 2D 视图和 实体报告 中。参见: 所有实体均可使用的 通用键值、输入与输出
- Pitch Yaw Roll (Y Z X) (angles) <QAngle >
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Inputs
- Dissolve
- 溶解油漆炸弹。
- SilentDissolve
- 消除油漆炸弹并触发OnFizzled输出。
- EnablePortalFunnel
- 启用传送门漏斗行为。
- DisablePortalFunnel
- 禁用传送门漏斗行为。
Outputs
- OnFizzled
- 当油漆炸弹被消除时触发。
- OnExploded
- 当油漆炸弹爆炸时触发。