asw_pickup_railgun

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
Info.png
This entity is not in the FGD by default.
See below for instructions on making it available.

asw_pickup_railgun is a point entity available in Alien Swarm Alien Swarm.

Class hierarchy
CASW_Pickup_Weapon_Railgun
CASW_Pickup_Weapon
CASW_Pickup
CItem
CBaseAnimating
CBaseEntity
asw_pickup_weapon.cpp

It is used to spawn a rail gun.

Note.pngNote:Commented out in Swarm.fgd

Keyvalues

Bullets in gun (BulletsInGun) <integer>
Specifies the number of bullets in this pickup. On this pickup, defaults to 1 bullets.
Clips (Clips) <integer>
Specifies the number of clips in this pickup. On this pickup, defaults to 36 clip.
Secondary Bullets (SecondaryBullets) <integer>
Specifies the number secondary bullets, e.g. grenades for assault rifle. On this pickup, defaults to 0.
Stay in air on startup (FreezePickup) <boolean>
If set, this pickup won't fall to the ground when the map starts.


Flags

Item:
Start Constrained : [1]
Keeps the model from moving.

Outputs

Item:

OnPlayerTouch
Fires when the player touches this object.
OnCacheInteraction
Confirm:Fires when the player proves they have 'found' this item:
  • Player touch (whether or not player actually acquires the item)
  • Picked up by +USE