Fixes upgrade packs pickup bug when there are 5+ survivors
-
Apply to | 適用於
L4D2
-
How does it work?
- (Before) In 5+ survivors, sometimes survivor can't pick up upgrade ammo from upgrade box
- (After) In 5+ survivors, every survivor can pick up upgrade ammo from upgrade box
-
Require | 必要安裝
None -
ConVar | 指令
- cfg\sourcemod\lfd_both_fixUpgradePack.cfg
// Play sound when ammo already used lfd_both_fixUpgradePack_denied_sound "1" // Explosive ammo multiplier on pickup (Max clip in L4D: 254) lfd_both_fixUpgradePack_explosive_multi "1.0" // Incendiary ammo multiplier on pickup (Max clip in L4D: 254) lfd_both_fixUpgradePack_incendiary_multi "1.0" // Time in seconds to remove upgradepack after first use. (0=off) lfd_both_fixUpgradePack_clear_time "100"
- cfg\sourcemod\lfd_both_fixUpgradePack.cfg
-
Changelog | 版本日誌
-
v1.0h (2024-3-27)
- Optimize code and improve performance
- Fixed player can't pick up upgrade ammo somtimes
-
v1.4
- Remake code
- remove unuseful convar
- add timer to remove upgrade pack entity
-
v1.0
-
修正高爆彈與燃燒彈無法被重複角色模組的倖存者撿起來
-
原理
- (裝此插件之前) 在5+多人倖存者伺服器中,有時候玩家無法拾取燃燒子彈或高爆子彈
- (裝此插件之後) 在5+多人倖存者伺服器中,每位玩家可以拾取燃燒子彈或高爆子彈
-
指令中文介紹 (點我展開)
- cfg\sourcemod\lfd_both_fixUpgradePack.cfg
// 第二次重複拾取時,提示音效 lfd_both_fixUpgradePack_denied_sound "1" // 高爆彈藥拾取時,數量加倍 (子彈最多只能到254,認真你就輸了) lfd_both_fixUpgradePack_explosive_multi "1.0" // 燃燒彈藥拾取時,數量加倍 (子彈最多只能到254,認真你就輸了) lfd_both_fixUpgradePack_incendiary_multi "1.0" // 當彈藥包被第一個人拾取時,100秒之後自動移除 (0=不移除直到所有人都拾取一次) lfd_both_fixUpgradePack_clear_time "100"
- cfg\sourcemod\lfd_both_fixUpgradePack.cfg