Fixes survivor_max_incapacitated_count cvar increased values reverting black and white screen.
-
Video | 影片展示
None -
Image | 圖示
None -
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.
- Fixed incorrectly set black/white when official cvar
-
Require
None -
ConVar | 指令
- cfg/sourcemod/l4d_heartbeat.cfg
// 0=Plugin off, 1=Plugin on. l4d_heartbeat_enable "1"
- cfg/sourcemod/l4d_heartbeat.cfg
-
Command | 命令
None
-
Related Official ConVar
// How many times you can be incapacitated instead of killed (default: 2) sm_cvar survivor_max_incapacitated_count 2
-
API | 串接
- l4d_heartbeat.inc
library name: l4d_heartbeat
- l4d_heartbeat.inc
-
Apply to | 適用於
L4D1 L4D2 -
Changelog | 版本日誌
-
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
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"
- cfg/sourcemod/l4d_heartbeat.cfg
-
相關的官方指令中文介紹 (點我展開)
// 倖存者死亡之前可以倒地多少次? (預設: 2) // 倒地超過該次數即為黑白狀態 sm_cvar survivor_max_incapacitated_count 2