Item powerup (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
No edit summary
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{this is a|point|<!--sprite=1-->|name=item_powerup|engine=gldsrc|game=Ricochet}}  
{{CD|CDiscwarPowerup|goldsrc=1|file=1}}
No setup is necessary for the item_powerup entity. The entity will spawn a random powerup each time.  
{{this is a|point entity|<!--sprite=1-->|name=item_powerup|game=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:
There are four different types of powerups:
Line 9: Line 10:
*'''Freeze Shot''' - Blue fragments create a disc that slows your opponent to a crawl.
*'''Freeze Shot''' - Blue fragments create a disc that slows your opponent to a crawl.


==Key Values==
== Keyvalues ==
This item doesnt have Key Values.
{{hl1 kv targetname}}
:{{important|[[Killtarget]]ing this entity will prevent powerups from appearing at this location for the remainder of the match.}}
 
== Flags ==
{{hl1 Appearflags}}

Latest 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.