Item paint power pickup: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Classifying as model entity)
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
Line 5: Line 5:
{{note|The paint can currently uses a water bottle model. This will change in a future version of P2CE.}}
{{note|The paint can currently uses a water bottle model. This will change in a future version of P2CE.}}
{{note|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.}}
{{note|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.}}
{{bug|The entity does not behave correctly if set to gel type 0 (bounce). A <code>[[comp_kv_setter]]</code> or <code>AddOutput</code> can be used as a workaround.}}
{{bug|hidetested=1|The entity does not behave correctly if set to gel type 0 (bounce). A <code>[[comp_kv_setter]]</code> or <code>AddOutput</code> can be used as a workaround.}}


== Keyvalues ==
== Keyvalues ==

Revision as of 07:17, 20 May 2025

English (en)Translate (Translate)
C++ Class hierarchy
???
CBaseAnimating
CBaseEntity

item_paint_power_pickup is a model 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