Поиск по STEAMB

Игры по онлайну и скины по объёму продаж

Ничего не найдено

Попробуйте другое название или переключите категорию.

Меню

Draw Weapon Key

Положительные голоса91%22 голосов игроков
Подписчики584584 в Steam Workshop
Размер файла12,41 КБЗагрузка через Steam
Обновление автора4 мар. 2026 г.Дата обновления материала
Draw Weapon Key

Добавить в игру через Steam

  1. Перейдите в Steam

    Откроется страница именно этого материала.

    Открыть в Steam Workshop
  2. Нажмите «Подписаться»

    На странице Steam войдите в аккаунт, если потребуется.

    Подписаться

О материале

«Draw Weapon Key» — материал мастерской Barotrauma. Моды, подлодки, предметы и новые задания для экипажа. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.

Описание автора

Draw Weapon Key

Allows you to draw or holster weapons with a single hotkey (or key combination).

The mod searches for weapons and stores items according to a container priority defined in the configuration file.

Supported sources and storage locations: • BagSlot — belt/back slot (item equipped on the back)
• InnerClothes — inner suit / clothing
• OuterClothes — outer suit / diving suit
• BagInventory — backpack contents
• CharacterInventory — character inventory (including the hotbar)

If the character holds any non-weapon items that block drawing a weapon, the mod will attempt to move them into available inventories.

By default, the mod is activated with the same button as "Toggle Inventory" in the control settings.
You can change this key (or combination) and the container priority through a configuration file.

Thanks to the authors of these mods for their code examples:
Mod 1
Mod 2


** Configuration File **

Configuration file location:

<Your Save Folder>/ModConfigs/DrawWeaponKey.json

Default content:


{
  "keys": ["ToggleInventory"],
  "storePriority": [
    "BagSlot",
    "InnerClothes",
    "OuterClothes",
    "BagInventory",
    "CharacterInventory"
  ]
}

keys — key or key combination used to activate the mod.
storePriority — order in which the mod:

• searches for weapons
• attempts to store items from hands
• attempts to store weapons from hands

The first element has the highest priority.

Example priority change:


"storePriority": [
  "OuterClothes",
  "InnerClothes",
  "BagSlot",
  "BagInventory",
  "CharacterInventory"
]


** Changing the Hotkey **

You can use: • Game input actions (InputType) — e.g. "ToggleInventory", "Run", "Use"
• Physical keys (Keys) — e.g. "Q", "LeftControl", "F"

All keys in the combo must be of the same type.

Examples:


// Single key
{ "keys": ["Q"] }

// Combination (InputType)
{ "keys": ["Run", "ToggleInventory"] }

// Combination (physical keys)
{ "keys": ["LeftControl", "Q"] }


** Special Key Names (for JSON config) **

Modifiers: LeftShift, RightShift, LeftControl, RightControl, LeftAlt, RightAlt
Arrows: Up, Down, Left, Right
Function keys: F1–F24
Control keys: Enter, Escape, Back, Tab, CapsLock, Space, Delete, Insert, Home, End, PageUp, PageDown
Numbers (top row): D0–D9
Numpad numbers: NumPad0–NumPad9
Punctuation: OemComma (,), OemPeriod (.), OemMinus (-), OemPlus (=), OemQuestion (/), OemSemicolon (;), OemQuotes ('), OemOpenBrackets ([), OemCloseBrackets (]), OemPipe ()
Other keys: PrintScreen, Scroll, Pause, Apps, LWin, RWin

Letters and digits can be written directly: "A", "B", "1", "2", etc.


Example paths:
Windows:

C:\Users\<YourName>\AppData\Local\Daedalic Entertainment GmbH\Barotrauma\ModConfigs\DrawWeaponKey.json

Linux:

~/.local/share/Daedalic Entertainment GmbH/Barotrauma/ModConfigs/DrawWeaponKey.json
Оригинал в Steam Workshop

Как установить и запустить

Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.

Настройки cookies

Вы можете изменить выбор в любой момент. Отказ от аналитики не ограничивает доступ к сайту.

Технологии, провайдеры и сроки хранения