Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

readme.md

Description | 內容

Survivor players will drop their secondary weapon (including melee) when they die

  • Apply to | 適用於

     L4D1
     L4D2
    
  • Image | 圖示

    Before (裝此插件之前) After (裝此插件之後)
    drop_secondary_before_1 drop_secondary_after_1
    drop_secondary_before_2 drop_secondary_after_2
  • How does it work?
    • When you die, drop your secondary weapon
    • When survivor bots were kicked by server or plugins, they will also drop their secondary weapon
      • Pistol
      • Dual pistol
      • Magnum
      • Melee weapons (support custom map melee)
      • Chainsaw
  • Require | 必要安裝

    1. left4dhooks
  • Related Plugin | 相關插件
    1. l4d_drop: Allows players to drop the weapon they are holding

      玩家可自行丟棄手中的武器

  • ConVar | 指令
    • cfg/sourcemod/drop_secondary.cfg
      // If 1, Survivor bots will drop their secondary weapon when they were kicked
      drop_secondary_bot_kick "1"
  • Changelog | 版本日誌
    • v2.9 (2026-7-25)

      • Use gamedata to detect the exact moment a survivor is killed and get the hidden secondary weapon
      • Optimize code
    • v2.8 (2026-4-20)

      • Update cvars
      • Fix melee weapon sometimes drops from player who does not have melee weapon at all
      • Survivor bots will drop their secondary weapon when they were kicked
      • Optimize code
    • v2.7 (2025-11-8)

      • Support L4D1
    • v2.6 (2025-1-16)

      • Remake code
      • Clear hidden weapon data for player
    • v2.5 (2022-12-18)

      • Delete l4d_info_editor, too frequently call forward function from l4d_info_editor (every 20~30 seconds)
    • v2.4 (2022-12-7)

      • Use other method to get the melee weapon
    • v2.3 (2022-10-7)

      • Convert All codes to new syntax.
      • Support Custom Melee
      • Create Fake Event "weapon_drop" when drop secondary weapon on death
    • v1.6


中文說明

死亡時掉落第二把武器

  • 原理

    • 死亡時掉落手上裝備的第二把武器
    • 當倖存者bot被踢出遊戲時,掉落副武器
      • 手槍
      • 雙手槍
      • 麥格農手槍
      • 電鋸
      • 近戰武器 (可掉三方圖自製近戰武器)
  • 指令中文介紹 (點我展開)
    • cfg/sourcemod/drop_secondary.cfg
      // 為1時,當倖存者bot被踢出遊戲時,掉落副武器
      drop_secondary_bot_kick "1"