item_powerup
Jump to navigation
Jump to search
![]() |
---|
CDiscwarPowerup |
![]() |
item_powerup
is a point entity available in 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.
Important: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.
Tip:This is intercepted before the entity spawns (hardcoded in the engine), and as such prevents it from ever contributing to the edict limit. As such, it may be desirable to set this on entities that delete themselves in multiplayer anyway, such as monsters and info_null, to prevent them from contributing towards map spawn edict limit crashes on maps with lots of entities.