Item paint power pickup: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Obsolete entity)
(This is in P2CE)
Line 1: Line 1:
{{lang|Item paint power pickup}}
{{lang|Item paint power pickup}}
{{obsolete|entity=1}}
{{P2CE point|item_paint_power_pickup}} It is a paint can for the {{ent|weapon_paintgun}}. Picking one up will add its corresponding gel type to the gun.
{{ent not in game}}
 
{{portal2 point|item_paint_power_pickup}} This entity is in the [[FGD]], but not code. It was most likely related to {{ent|weapon_paintgun}}. 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. When placed in Hammer, the entity appears as a [[item_healthkit|health kit]] from Half-Life 2, and includes a "Paint Type" keyvalue, with a description labeling it as "the paint power of the pickup".
{{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.}}
{{bug|The entity does not behave correctly if set to gel type 0 (bounce). A <code>[[TeamSpen's Hammer Addons|comp_kv_setter]]</code> or <code>AddOutput</code> can be used as a workaround.}}
 
== 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
{{KV BaseAnimating|base=1|l4d=1|as=1|portal2=1}}
{{KV BaseEntity|base=1|l4d2=1}}
 
== Inputs ==
{{I BaseAnimating|portal2=1}}
{{I BaseEntity|base=1|l4d2=1|portal2=1}}
 
== Outputs ==
{{O BaseAnimating|portal2=1}}
{{O BaseEntity}}


[[Category:Items]]
[[Category:Items]]

Revision as of 14:02, 15 September 2020

English (en)Translate (Translate)

Template:P2CE point 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.  [todo tested in ?]

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
Note.pngNote:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history


Inputs

Note.pngNote:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history


Outputs

Note.pngNote:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history