Half-Life: Alyx

Half-Life: Alyx

Body Holsters
FrostEpex  [开发者] 2 月 16 日 下午 8:55
Console Commands
Console commands have been moved here due to a character limit on the workshop description.

Console commands allow you to customize and tweak the addon while playing. They are not required to use the addon, and for most users the default values will provide a good experience.

If you don't know how to use the console, follow this guide: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2040205272




  • body_holsters_visible_weapons
    Default = 0
    Weapons will be visibly attached to the player body when holstered. If enabled when weapons are already holstered, they will need to be reholstered to appear.
    This convar is persistent with your save file.

  • body_holsters_use_actual_weapons
    Default = 1
    When body_holsters_visible_weapons is 1, your actual weapons will be visibly holstered allowed for accurate ammo and attachment display.
    This convar is persistent with your save file.

  • body_holsters_animate
    Default = 1
    When body_holsters_visible_weapons is 1, weapons will animate into their holstered position instead of instantly snapping into place.
    This convar is persistent with your save file.

  • body_holsters_increase_offhand_side_radius
    Default = 1
    Body slots on the non-dominant side of your body will have a slightly larger radius to accommodate for increased reach distance.
    This convar is persistent with your save file.

  • body_holsters_allow_multitool
    Default = 0
    Multitool is allowed to be holstered.
    This convar is persistent with your save file.
    See Known Issues below for important information about this!

  • body_holsters_holster_is_analog
    Default (Vive) = 0
    Default (Other) = 1
    Whether analog actions should be used instead of digital actions for holstering.
    This convar is persistent with your save file.

  • body_holsters_holster_action
    Default (Vive) = 11 (Slide Release)
    Default (Other) = 0 (Hand Curl)
    The digital or analog action for holstering. See Custom Input Actions Guide for more info.
    This convar is persistent with your save file.

  • body_holsters_unholster_is_analog
    Default = 1
    Whether analog actions should be used instead of digital actions for unholstering.
    This convar is persistent with your save file.

  • body_holsters_unholster_action
    Default (Knuckles) = 2 (Squeeze Xen Grenade)
    Default (Other) = 0 (Hand Curl)
    The digital or analog action for unholstering. See the Using Custom Buttons[http//Using+Custom+Buttons] guide for more info.
    This convar is persistent with your save file.

  • body_holsters_unholster_grip_amount
    Default (Knuckles) = 0.5
    Default (Other) = 1.0
    [0-1] value for how much the controller must be gripped to unholster a weapon (only applicable if body_holsters_unholster_is_analog is 1)
    On the Valve Index Knuckles this is a different value by default because it uses the squeeze mechanic instead of the hand curl by default.
    For controllers with a grip button this is the just the amount that the button must be pressed.
    This convar is persistent with your save file.

  • body_holsters_holster_ungrip_amount
    Default = 0.1
    [0-1] value for how much the controller must be ungripped to holster a weapon (only applicable if body_holsters_holster_is_analog is 1)
    For controllers with a grip button this is the just the amount that the button must be unpressed.
    This convar is persistent with your save file.

    This convar has been removed now that actions can be set manually, see 'body_holsters_unholster_is_analog' and 'body_holsters_unholster_action'.
  • body_holsters_require_trigger_to_unholster
    Default = 0
    The trigger/shoot button will be required to unholster weapons instead of the grip.
    This convar is persistent with your save file.


    This convar has been removed now that actions can be set manually, see 'body_holsters_unholster_is_analog' and 'body_holsters_unholster_action'.
  • body_holsters_knuckles_use_squeeze
    Default = 1
    Valve Index Knuckles controllers will use the squeeze mechanic instead of the hand curl to unholster weapons.
    Different values for 'body_holsters_unholster_grip_amount' should be tested to find a grip amount you're happy with.
    This convar is persistent with your save file.


  • body_holsters_use_procedural_angles
    Default = 0
    Visible weapons will use the current angle of the weapon when holstering, otherwise they will use a default angle.
    This convar is persistent with your save file.

  • body_holsters_slot
    Syntax = holsters_slot <name> <x> <y> <z> <radius>
    Allows temporary modification of holster slot properties for debugging purposes, best used in conjunction with holsters_debug to see positions. Any changes will revert on map reload. Leave a comment if you think you've found better slot positions.

    If command is entered without any parameters all slots will be listed in the console.
    If only a name is provided that slot will be listed in the console.

    Parameters X/Y/Z are relative to the player body near the head. Setting 0/0/0 will put the slot at that position near the head. X is forward/backwards, Y is right/left, Z is up/down.

  • body_holsters_debug
    Default = 0
    Draws debug spheres for the holster slots and their states.
最后由 FrostEpex 编辑于; 7 月 16 日 下午 11:33