Asw pickup chainsaw: 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.)
m (Classifying as model entity)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{lang|Asw pickup chainsaw}}{{this is a|e0|game=as|name=asw_pickup_chainsaw}} It is used to spawn a chainsaw.
{{LanguageBar}}
{{this is a|model entity|game=Alien Swarm|name=asw_pickup_chainsaw}}
{{CD|CASW_Pickup_Weapon_Chainsaw|file1=1}}
It is used to spawn a chainsaw.


== Keyvalues ==
== Keyvalues ==
{{KV|Bullets in gun|int|Specifies the number of bullets in this pickup. On this pickup, defaults to 100.}}
{{KV ASWPickup|100}}
{{KV ASWPickup}}


== Flags ==
== Flags ==
{{Fl Item swarm}}
{{Fl Item swarm}}
== Inputs ==
{{I Item swarm}}


== Outputs ==
== Outputs ==
{{O ASWPickup}}
{{O ASWPickup}}

Latest revision as of 04:30, 19 May 2025

English (en)Translate (Translate)

asw_pickup_chainsaw is a model entity available in Alien Swarm Alien Swarm.

C++ Class hierarchy
CASW_Pickup_Weapon_Chainsaw
CASW_Pickup_Weapon
CASW_Pickup
CItem
CBaseAnimating
CBaseEntity
C++ asw_pickup_weapon.cpp

It is used to spawn a chainsaw.

Keyvalues

Bullets in gun (BulletsInGun) <integer>
Specifies the number of bullets in this pickup. On this pickup, defaults to 100 bullets.
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