Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

readme.md

Description | 內容

Fixes survivor_max_incapacitated_count cvar increased values reverting black and white screen.

  • Apply to | 適用於

     L4D1
     L4D2
    
  • How does it work?
    • Fixed incorrectly set black/white when official cvar survivor_max_incapacitated_count != 2, see here
    • Provide natives api for other plugins to get accurate revive counts.
  • Require
    None

  • ConVar | 指令
    • cfg/sourcemod/l4d_heartbeat.cfg
       // 0=Plugin off, 1=Plugin on.
       l4d_heartbeat_enable "1"
  • Related Official ConVar
     // How many times you can be incapacitated instead of killed (default: 2)
     sm_cvar survivor_max_incapacitated_count 2
  • Changelog | 版本日誌
    • v1.2h (2025-12-4)

      • Detect if player healing events after drowning in water
    • v1.1h (2025-11-28)

      • Fixed 1hp limp movement speed same as <40hp limp
    • v1.0h (2024-10-3)

      • Remove useless and unnecessary cvars, cmds
      • Remove useless codes locking "survivor_max_incapacitated_count" cvar
      • Fixed not working if other plugin using code: FakeClientCommand(client, "give health")
      • Fixed no ff damage to player after has incapacitated once
      • Add include file
    • Original


中文說明

可用指令調整倖存者有多條生命與黑白狀態

  • 原理
    • 修復官方指令survivor_max_incapacitated_count被修改後,玩家會有錯亂的黑白狀態與剩餘生命條
    • 提供API,能夠讓其他的插件準確抓到或設置玩家還剩餘幾條生命
    • 總結: 當你有以下情況時,才需要安裝此插件
      • 其他插件有需要
      • 或有修改官方指令survivor_max_incapacitated_count
  • 指令中文介紹 (點我展開)
    • cfg/sourcemod/l4d_heartbeat.cfg
       // 0=關閉插件, 1=啟動插件
       l4d_heartbeat_enable "1"
  • 相關的官方指令中文介紹 (點我展開)
     // 倖存者死亡之前可以倒地多少次? (預設: 2)
     // 倒地超過該次數即為黑白狀態
     sm_cvar survivor_max_incapacitated_count 2