This article's documentation is for the "GoldSrc" engine. Click here for more information.

Item powerup (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
== Keyvalues ==
== Keyvalues ==
{{hl1 kv targetname}}
{{hl1 kv targetname}}
:{{important|[[Killtarget]]ing this entity will prevent powerups from appearing at this location for the remainder of the match.}}


== Flags ==
== Flags ==
{{hl1 Appearflags}}
{{hl1 Appearflags}}

Revision as of 12:08, 10 May 2025

C++ Class hierarchy
CDiscwarPowerup
CBaseAnimating
CBaseDelay
CBaseEntity
C++ disc_powerups.cpp

item_powerup is a point entity available in Ricochet Ricochet. No setup is necessary for the item_powerup entity. The entity will spawn a random powerup each time.

There are four different types of powerups:

  • Powershot - Grab the swirling red powerup and you get discs that hit your opponent harder.
  • Triple Shot - These three spinning purple discs turns each of yours into a deadly triple-disked attack.
  • Fast Shot - Green circles will make your discs move much faster to catch your enemy.
  • Freeze Shot - Blue fragments create a disc that slows your opponent to a crawl.

Keyvalues

Name (targetname) <string>
The targetname that other entities refer to this entity by.
Icon-Important.pngImportant:Killtargeting this entity will prevent powerups from appearing at this location for the remainder of the match.

Flags

Not In Deathmatch : [2048]
Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.