Item paint power pickup: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified)
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
Line 1: Line 1:
{{lang|Item paint power pickup}}
{{LanguageBar|Item paint power pickup}}
{{CD|???|base=CBaseAnimating}}
{{CD|???|base=CBaseAnimating}}
{{this is a|model entity|name=item_paint_power_pickup|game=Portal 2: Community Edition}} It is a paint can for the {{ent|weapon_paintgun}}. Picking one up will add its corresponding gel type to the gun.
{{this is a|model entity|name=item_paint_power_pickup|game=Portal 2: Community Edition}} It is a paint can for the {{ent|weapon_paintgun}}. Picking one up will add its corresponding gel type to the gun.

Latest revision as of 17:25, 18 July 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