bow_deerhunter
Jump to navigation
Jump to search

bow_deerhunter is a point entity available in
No More Room in Hell.
Entity Description
The
PSE Deer Hunter is a compound bow that uses ammobox_arrow ammunition. This weapon is one of the few which fires a projectile, that can be recollected.
KeyValues
- Name (targetname) <string>
- The name that other entities refer to this entity by.
- Entity Scripts (vscripts) <string>
- Name(s) of script files that are executed after all entities have spawned.
- Script think function (thinkfunction) <string>
- Name of a function in this entity's script scope which will be called automatically.
- Pitch Yaw Roll (Y Z X) (angles) <angles>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- 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.
- OnUser1 to OnUser4
- Fired in response to the FireUser inputs.
Dedicated console variables
| Cvar/Command | Parameters or default value | Descriptor | Effect |
|---|---|---|---|
| sv_arrow_expire_time | 240.0 | float | How long arrows will remain in the world before fading out. |
| sv_arrow_max_passthroughs | 2 | integer | Maximum number of entities a single arrow can pass through. |
| sv_arrow_passthrough_chance | 0.4 | float | Chance for an arrow to pass through an entity on headshot. |
| sv_arrow_speed_max | 3000.0 | float | Maximum speed of arrows (units/sec). |
| sv_arrow_speed_min | 2100.0 | float | Minimum speed of arrows (units/sec). |
| sv_bow_cancel_time | 10.0 | float | Time until a stretched bow is cancelled. |
| sv_bow_fix_wallbang | 1 | boolean | Fix being able to shoot through walls with a bow. |
| sv_bow_tense_period | 2.5 | float | Time until a stretched bow becomes "tense". |