item_paint_power_pickup

From Valve Developer Community
Jump to: navigation, search
English (en)
class hierarchy
???
CBaseAnimating
CBaseEntity

item_paint_power_pickup is a point entity available in Portal 2: Community Edition Portal 2: Community Edition. It is a paint can for the weapon_paintgun. Picking one up will add its corresponding gel type to the gun.

Note.pngNote:The paint can currently uses a water bottle model. This will change in a future version of P2CE.
Note.pngNote:The paint gun was originally planned to appear in Portal 2, but was cut due to the complexity of switching between weapons to use the gels. While leftover in the FGD, it was removed from the game and was not usable in maps. It has been reimplemented in P2CE.
Icon-Bug.pngBug:The entity does not behave correctly if set to gel type 0 (bounce). A comp_kv_setter or AddOutput can be used as a workaround.

Keyvalues

Paint Type (painttype) <choices>
The can's paint type.
  • 0 : Repulsion Gel
  • 1 : Reflection Gel
  • 2 : Propulsion Gel
  • 3 : Conversion Gel
  • 5 : Adhesion Gel