Skip to content

Latest commit

 

History

History

l4d2_weapon_csgo_reload

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Description | 內容

Quickswitch Reloading like CS:GO in L4D2

  • Video | 影片展示

  • Image | 圖示
    None

  • Apply to | 適用於

    L4D2
    
  • L4D1 Version | 適用於L4D1的版本

  • Changelog | 版本日誌
    • v2.3 (2023-5-15)

      • Optimize Code
      • Use function "L4D2_GetIntWeaponAttribute" from left4dhooks to get weapons' clip automatically
    • v2.2 (2022-11-6)

      • AlliedModders Post
      • Add m60
      • Fixed DataPack memory leak issue
      • Replace OnPlayerRunCmd with SDKHook_Reload, better safe and improve code.
      • Adjust "l4d2_sg552_reload_clip_time" from 1.3 to 1.6 since L4D2 "The Last Stand" update.
      • New convars, control each weapon max clip.
      • Fixed dual pistol not working.
    • v1.0

      • Initial Release
  • Require | 必要安裝

    1. left4dhooks
  • ConVar | 指令
    • cfg/sourcemod/l4d2_weapon_csgo_reload.cfg
      // reload time for ak47 clip
      l4d2_ak47_reload_clip_time "1.2"
      
      // reload time for awp clip
      l4d2_awp_reload_clip_time "2.0"
      
      // reload time for desert rifle clip
      l4d2_desertrifle_reload_clip_time "1.8"
      
      // reload time for dual pistol clip
      l4d2_dualpistol_reload_clip_time "1.75"
      
      // reload time for grenade clip
      l4d2_grenade_reload_clip_time "2.5"
      
      // reload time for hunting rifle clip
      l4d2_huntingrifle_reload_clip_time "2.6"
      
      // reload time for m60 clip
      l4d2_m60_reload_clip_time "1.2"
      
      // reload time for mangum clip
      l4d2_mangum_reload_clip_time "1.18"
      
      // reload time for pistol clip
      l4d2_pistol_reload_clip_time "1.2"
      
      // reload time for rifle clip
      l4d2_rifle_reload_clip_time "1.2"
      
      // reload time for scout clip
      l4d2_scout_reload_clip_time "1.45"
      
      // reload time for sg552 clip
      l4d2_sg552_reload_clip_time "1.3"
      
      // reload time for smg clip
      l4d2_smg_reload_clip_time "1.04"
      
      // reload time for smg mp5 clip
      l4d2_smgmp5_reload_clip_time "1.7"
      
      // reload time for smg silenced clip
      l4d2_smgsilenced_reload_clip_time "1.05"
      
      // reload time for sniper military clip
      l4d2_snipermilitary_reload_clip_time "1.8"
      
      // 0=off plugin, 1=on plugin
      l4d2_weapon_csgo_reload_allow "1"
      
      // enable previous clip recover?
      l4d2_weapon_csgo_reload_clip_recover "1"
  • Command | 命令

    None


中文說明

將武器改成現代遊戲的裝子彈機制 (仿CS:GO切槍裝彈設定)

  • 原理

    • 裝子彈的時候,彈夾不會歸零
    • 當武器動畫是裝上彈夾的時候,彈夾會填滿
  • 功能

    • 可設置每個武器的快速裝彈時間