prop_paint_bomb
< Zh
		
		
		
		Jump to navigation
		Jump to search
		prop_paint_bomb是一个点实体,可在 传送门2中使用。 这是一个会在撞击时爆炸的油漆炸弹。
 传送门2中使用。 这是一个会在撞击时爆炸的油漆炸弹。
 注意:Gel needs to have Paint in Map set to True in worldspawn before applying on surfaces. Maps that do not use gel can save significant resources by avoiding gel code.
注意:Gel needs to have Paint in Map set to True in worldspawn before applying on surfaces. Maps that do not use gel can save significant resources by avoiding gel code. 错误:未设置
错误:未设置model键值的油漆炸弹每次生成时都会在控制台显示警告信息。可以将其设置为任意有效模型(如已加载的error.mdl),该模型实际上不会被渲染或使用。 注意:油漆炸弹使用prop_glass_futbol模型(
注意:油漆炸弹使用prop_glass_futbol模型(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
- 当油漆炸弹爆炸时触发。

























