item_nugget

From Valve Developer Community
Revision as of 20:11, 17 May 2024 by PeeBot (talk | contribs) (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
Jump to navigation Jump to search

item_nugget is a point entity available in Portal 2 Portal 2. It is an "Aperture Incentivizing Nugget", seemingly intended as a collectible item for a scrapped multiplayer mode. Touching the nugget will pick it up, adding to the player's "score", which can be seen only in multiplayer by binding a key to +score and using it to open the scoreboard. Once picked up, the nugget will respawn after a configurable amount of time.

The model used by the entity is a modified version of the Team Fortress 2 neutral capture point hologram, with the beam removed and various colored skins added with the Aperture logo and the point value in the center. In-game, the model is also scaled based on the point value, with 25 points being the largest.

Keyvalues

Group Name (groupname) <string>
"Giving nuggets a group name hints the game that they are intended to be a group." Unknown use.
Respawn Time (RespawnTime) <float>
Number of seconds between when the nugget is collected and when it respawns
Point Value (PointValue) <integer>
Amount of points the nugget gives when collected. Accepts only the following values, others will cause it to be reduced to the nearest allowed value:
  • 1
  • 5
  • 10
  • 25
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