Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

readme.md

Description | 內容

Prevent filling the clip when taking the same weapon + save if the amount of weapon ammo is more than vanilla.

  • Apply to | 適用於

     L4D1
     L4D2
    
  • Image | 圖示

    Before (裝此插件之前) After (裝此插件之後)
    l4d_save_weapon_ammo_before_1 l4d_save_weapon_ammo_after_1
    l4d_save_weapon_ammo_before_2 l4d_save_weapon_ammo_after_2
  • How does it work?
    • (Before)
      • Pick up shotgun from spawner (10/90) -> shoot bullets (0/90) -> Pick up shotgun from spawner again -> full clip (10/90)
      • Hold shotgun and ammo over default (10/330) -> Drop shotgun -> Pick up shotgun -> ammo return back to default (10/90)
    • (After)
      • Pick up shotgun from spawner (10/90) -> shoot bullets (0/90) -> Pick up shotgun from spawner again -> clip (0/100)
      • Hold shotgun and ammo over default (10/330) -> Drop shotgun -> Pick up shotgun -> ammo (10/330)
    • Prevent filling the clip when taking the same weapon.
    • Save if the amount of weapon ammo is more than vanilla.
      • For example: Other plugin gives weapon ammo more than default
  • Require | 必要安裝

  • Support | 支援插件
    1. Reserve (Ammo) Control: Individually control weapons's reserve counts independent of the ammo_* cvars.
      • 設置每一種武器的後備子彈
    2. l4d2_weapon_csgo_reload: Quickswitch Reloading like CS2 in L4D2
      • 將武器改成現代遊戲的裝子彈機制 (仿CS2切槍裝彈設定)
  • ConVar | 指令
    • cfg/sourcemod/l4d_save_weapon_ammo.cfg
       // 0=Plugin off, 1=Plugin on.
       l4d_save_weapon_ammo_enable "1"
      
       // If 1, Fix picking up same weapons filling the clip
       l4d_save_weapon_ammo_fix_1 "1"
      
       // If 1, save if the amount of weapon ammo is more than vanilla
       l4d_save_weapon_ammo_fix_2 "1"
  • Changelog | 版本日誌
    • v1.2 (2026-4-19)

      • Save weapon ammo on the ground when weapon is being saved for next level
    • v1.1 (2026-4-18)

      • Won't modify clip and ammo when a spawner(count reaches 0) has given a player an item
      • Fixed empty weapon ammo if weapon dropped from player
    • v1.0 (2025-2-15)

      • Initial Release

中文說明

撿起相同的武器時不會有滿發的彈夾 + 儲存在地上的每個武器的彈藥,撿起來後給予相應的彈藥 (為了應付超出官方指令設定的彈藥)

  • 原理

    • (裝此之前)
      • 從桌上撿起散彈槍 (10/90) -> 射完彈夾 (0/90) -> 再從桌上撿起散彈槍 -> 彈夾又變滿 (10/90)
      • 拿著散彈槍時彈藥超過預設官方數值 (10/330) -> 散彈槍掉落地上 -> 再撿回來 -> 彈藥變回預設值 (10/90)
    • (裝此之後)
      • 從桌上撿起散彈槍 (10/90) -> 射完彈夾 (0/90) -> 再從桌上撿起散彈槍 -> 不給滿發彈夾 (0/100)
      • 拿著散彈槍時彈藥超過預設官方數值 (10/330) -> 散彈槍掉落地上 -> 再撿回來 -> 彈藥數值依然正常 (10/330)
    • 儲存在地上的每個武器的彈藥,撿起來後給予相應的彈藥 (為了應付超出官方指令設定的彈藥)
      • 譬如有安裝其他插件會給予武器彈藥超過預設的數值
  • 指令中文介紹 (點我展開)
    • cfg/sourcemod/l4d_save_weapon_ammo.cfg
       // 0=關閉插件, 1=啟動插件
       l4d_save_weapon_ammo_enable "1"
      
       // 為1時,撿起的武器時不會有滿發的彈夾
       l4d_save_weapon_ammo_fix_1 "1"
      
       // 為1時,儲存在地上的每個武器的彈藥,撿起來後給予相應的彈藥 (為了應付超出官方指令設定的彈藥)
       l4d_save_weapon_ammo_fix_2 "1"