Item paint power pickup: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Add page for cut item_paint_power_pickup entity)
 
(Rewrite Template:Lang to Template:LanguageBar. This action was performed by a bot.)
 
(11 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{portal2 point|item_paint_power_pickup}}
{{LanguageBar|Item paint power pickup}}
{{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.


==Entity description==
{{note|The paint can currently uses a water bottle model. This will change in a future version of P2CE.}}
{{note|This entity is defined in the [[FGD]] but not implemented by the engine.}}
{{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|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.}}


Based on the name and description of this entity, this was probably related to the cut [[weapon_paintgun|Paint Gun]]. Because it was removed, its exact functionality isn't known, although it likely would have behaved like the paint cans in Tag: The Power Of Paint, enabling the use of different paint types when picked up.
== Keyvalues ==
{{KV|Paint Type|choices|intn=painttype|The can's paint type.}}
:* 0 : Repulsion Gel
:* 1 : Reflection Gel
:* 2 : Propulsion Gel
:* 3 : Conversion Gel
:* 5 : Adhesion Gel


==Keyvalues==
[[Category:Items]]
{{KV|Paint Type|choices|The paint power of the pickup.}}
:* 0 : Bounce
:* 1 : Stick
:* 2 : Speed
:* 3 : Portal
{{KV Item}}
 
==Flags==
* 1 : Start Constrained
 
==Inputs==
{{I Item}}
 
==Outputs==
{{O Item}}
 
==See also==
* [[weapon_paintgun]]

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