me_abrasivesaw

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

me_abrasivesaw is a point entity available in No More Room in Hell No More Room in Hell.

Entity Description

The Abrasive Saw is a portable circular saw that uniquely uses ammobox_fuel ammunition.
While loaded, a Survivor can start it with the Right Click (default) to start the blade, allowing rapid attacks while held.
When out of ammo, it resorts to the regular quick and charged attacks, though it's much less effective than other melee in this state.
The Abrasive Saw has a shorter range than the Chainsaw, but is twice as efficient in fuel consumption.

KeyValues

View Model Override (viewmodel_override) <model path>
Sets a custom view model for this weapon.
World Model Override (worldmodel_override) <model path>
Sets a custom world model for this weapon.
Label Override (label_override) <string>
Overrides visible name in inventory wheel and other places, accepts localization strings.
Inventory Icon Override (icon_override) <texture>
Overrides material for VGUI inventory wheel icon.
Weight Override (weight_override) <integer>
Overrides physical weight (in player's inventory). Leave at -1 for default.

Flags

Disable Motion : [1]
Disables the physics system from acting upon on this item.

Inputs

Kill
Kills the entity. Can cause issues if killed while in a player's inventory.

Outputs

OnPlayerDrop
Fires when a player drops this weapon.
OnPlayerPickup
Fires when a player picks up this weapon.

Dedicated console variables

Cvar/Command Parameters or default value Descriptor Effect
sv_abrasivesaw_drain_rate_active 1 float Abrasive Saw fuel drain rate per second while attacking.
sv_abrasivesaw_drain_rate_idle 0.2 float Abrasive Saw fuel drain rate per second while idle.