Item nugget: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(oops, this is portal 2 only)
No edit summary
Line 1: Line 1:
{{entity|type=e0|game=Portal 2|item_nugget}} 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 <code>+score</code> and using it to open the scoreboard. Once picked up, the nugget will respawn after a configurable amount of time.
{{entity|type=e0|game=Portal 2|item_nugget}} 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 <code>+score</code> 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 [[team_control_point|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 down by about 50% compared to what is shown in Hammer.
The model used by the entity is a modified version of the [[Team Fortress 2]] neutral [[team_control_point|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 ==
== Keyvalues ==
Line 7: Line 7:
{{KV|Group Name|intn=groupname|string|"Giving nuggets a group name hints the game that they are intended to be a group." Unknown use.}}
{{KV|Group Name|intn=groupname|string|"Giving nuggets a group name hints the game that they are intended to be a group." Unknown use.}}
{{KV|Respawn Time|intn=RespawnTime|float|Number of seconds between when the nugget is collected and when it respawns}}
{{KV|Respawn Time|intn=RespawnTime|float|Number of seconds between when the nugget is collected and when it respawns}}
{{KV|Point Value|intn=PointValue|int|Amount of points the nugget gives when collected. Accepts any value, but only the following will produce proper skins:
{{KV|Point Value|intn=PointValue|int|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
:* 1
:* 5
:* 5

Revision as of 23:59, 18 March 2023

Template:Entity 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