Give ghost players multi S.I. class + allow ghost players to change S.I. class.
Note
This plugin is private, Please contact me
此為私人插件, 請聯繫本人
-
Apply to | 適用於
L4D1 L4D2 -
How does it work?
- Determine ghost zombie class when infected player spawn as ghost state (Not despawn)
- It means that infected team can get two ghost hunters or two ghost jockeys at the same time, depends on the cvar you set
- Right Mouse to change their class in ghost mode
- Can change to Tank class
- Determine ghost zombie class when infected player spawn as ghost state (Not despawn)
-
Require | 必要安裝
-
ConVar | 指令
- cfg/sourcemod/l4d_zcs.cfg
// Enable/Disable Zombie Character Select plugin. l4d_zcs_enable "1" // If 1, Display infected class limits panel. l4d_zcs_show_hud_panel "1" // If 1, Include fake infected bots in limits. l4d_zcs_count_fake_bots "1" // If 1, Allow infected class switch at finale stages. l4d_zcs_allow_finale_switch "1" // If 1, Allow player to select previous infected class. l4d_zcs_allow_last_class "0" // If 1, Allow player to select class even when ghost infected player is too far from survivors (is going to despawn). l4d_zcs_allow_cull_switch "1" // If 1, Allow player to select class after returning to ghost from spawn. l4d_zcs_allow_despawn_switch "0" // Players with these flags have access to change class. (Empty = Everyone, -1: Nobody) l4d_zcs_access_level "" // Key binding for infected class selection. (1=MELEE, 2=RELOAD, 3=ZOOM) l4d_zcs_select_key "1" // Time interval between Infected class switch delay in (s). l4d_zcs_select_delay "0.5" // If 1, Broadcast infected class selection key binding to players. l4d_zcs_notify_key "1" // If 1, Notify infected class selection key binding every time when ghost. (0=Notify first time ghost) l4d_zcs_notify_key_repeat "0" // If 1, Broadcast class & limit status messages to players. l4d_zcs_notify_class "1" // Time before smoker class is allowed after smoker death in (s). (-1=Use Official Cvar '_ghost_delay_max', 0=No delay, 1-300=Delay) l4d_zcs_cooldown_smoker "-1" // Time before boomer class is allowed after boomer death in (s). (-1=Use Official Cvar '_ghost_delay_max', 0=No delay, 1-300=Delay) l4d_zcs_cooldown_boomer "-1" // Time before hunter class is allowed after hunter death in (s). (-1=Use Official Cvar '_ghost_delay_max', 0=No delay, 1-300=Delay) l4d_zcs_cooldown_hunter "-1" // Time before spitter class is allowed after spitter death in (s). (-1=Use Official Cvar '_ghost_delay_max', 0=No delay, 1-300=Delay) l4d_zcs_cooldown_spitter "-1" // Time before jockey class is allowed after jockey death in (s). (-1=Use Official Cvar '_ghost_delay_max', 0=No delay, 1-300=Delay) l4d_zcs_cooldown_jockey "-1" // Time before charger class is allowed after charger death in (s). (-1=Use Official Cvar '_ghost_delay_max', 0=No delay, 1-300=Delay) l4d_zcs_cooldown_charger "-1" // Time before tank class is allowed after tank death in (s). (0=No delay, 1-300=Delay) l4d_zcs_cooldown_tank "0" // How many Smokers allowed. (Alive + Ghost) // -1=Use Official Cvar '_versus_smoker_limit', 0=None Allowed l4d_zcs_smoker_limit "2" // How many Boomers allowed. (Alive + Ghost) // -1=Use Official Cvar '_versus_smoker_limit', 0=None Allowe) l4d_zcs_boomer_limit "2" // How many Hunters allowed. (Alive + Ghost) // -1=Use Official Cvar '_versus_smoker_limit', 0=None Allowed l4d_zcs_hunter_limit "2" // How many Spitters allowed. (Alive + Ghost) // -1=Use Official Cvar '_versus_smoker_limit', 0=None Allowed l4d_zcs_spitter_limit "2" // How many Jockeys allowed. (Alive + Ghost) // -1=Use Official Cvar '_versus_smoker_limit', 0=None Allowed l4d_zcs_jockey_limit "2" // How many Chargers allowed. (Alive + Ghost) // -1=Use Official Cvar '_versus_smoker_limit', 0=None Allowed l4d_zcs_charger_limit "2" // How many Tanks allowed. // 0=None Allowed l4d_zcs_tank_limit "0" // If 1, Allow Smoker Ghost player to select class. (0=Not Allow) l4d_zcs_smoker_ghost_allow "1" // If 1, Allow Boomer Ghost player to select class. (0=Not Allow) l4d_zcs_boomer_ghost_allow "1" // If 1, Allow Hunter Ghost player to select class. (0=Not Allow) l4d_zcs_hunter_ghost_allow "1" // If 1, Allow Spitter Ghost player to select class. (0=Not Allow) l4d_zcs_spitter_ghost_allow "1" // If 1, Allow Jockey Ghost player to select class. (0=Not Allow) l4d_zcs_jockey_ghost_allow "1" // If 1, Allow Charger Ghost player to select class. (0=Not Allow) l4d_zcs_charger_ghost_allow "1" // If 1, Allow Tank Ghost player to select class. (0=Not Allow) l4d_zcs_tank_ghost_allow "1" // If 1, Determine ghost zombie class when infected player spawn as ghost state (Not despawn). (0=Spawn ghost normally via the director) l4d_zcs_determine_class_when_ghost "1" // Number of uses can ghost player select class every time? (0=No limit) l4d_zcs_change_class_limit "0"
- cfg/sourcemod/l4d_zcs.cfg
-
API | 串接
- l4d_zcs.inc
library name: l4d_zcs
- l4d_zcs.inc
-
Translation Support | 支援翻譯
translations/l4d_zcs.phrases.txt -
Changelog | 版本日誌
-
v1.2h (2024-11-27)
- Optimize code
-
v1.1h (2024-4-17)
- Add inc file
- Update cvars
- Can change tank zombe class when ghost stage
-
v1.0h (2024-2-24)
- Update cvars
- Add translation
- Remake Code
- Remove Gamedata
- Remove Unnecessary cvars
- Add more cvars
- Optimize Code
-
v0.9.6
-
當玩家進入靈魂狀態時,由此插件決定特感種類 + 靈魂狀態下右鍵自由切換特感種類
-
原理
- 當玩家進入靈魂狀態時(非回魂狀態),由此插件決定特感種類
- 根據場上的特感數量限制決定
- 意思是說特感隊伍可有兩隻靈魂Hunter或兩隻靈魂Jockey, 諸如此類設定,請看指令
- 靈魂狀態時,使用滑鼠右鍵切換特感種類,可以切換成Tank
- 重新回到靈魂狀態不得再次切換
- 當玩家進入靈魂狀態時(非回魂狀態),由此插件決定特感種類
-
指令中文介紹 (點我展開)
- cfg/sourcemod/l4d_zcs.cfg
// 0=關閉插件, 1=啟動插件 l4d_zcs_enable "1" // 為1時,顯示當前特感數量的介面 l4d_zcs_show_hud_panel "1" // 為1時,特感Bot也會被計算於限制數量之內 l4d_zcs_count_fake_bots "1" // 為1時,最終救援開始之後也可以切換特感種類 (0=不准) l4d_zcs_allow_finale_switch "1" // 為1時,允許玩家切換到上次遊玩的特感種類 (0=不准) l4d_zcs_allow_last_class "0" // 為1時,當玩家離倖存者太遠時,允許玩家切換特感種類 (0=不准) l4d_zcs_allow_cull_switch "1" // 為1時,當玩家重生回靈魂狀態時,允許玩家切換特感種類 (0=不准) l4d_zcs_allow_despawn_switch "0" // 擁有這些權限的玩家,才可以切換特感種類 (留白 = 任何人都能, -1: 無人) l4d_zcs_access_level "" // 甚麼按鍵切換特感種類 (1=右鍵, 2=R鍵, 3=滑鼠滾輪鍵) l4d_zcs_select_key "1" // 切換特感種類的時間間隔 (s) l4d_zcs_select_delay "0.5" // 為1時,提示玩家使用哪種按鍵切換特感種類 l4d_zcs_notify_key "1" // 為1時,每次玩家變成靈魂狀態時,提示玩家如何切換特感種類. (0=只在第一次靈魂狀態時提示) l4d_zcs_notify_key_repeat "0" // 為1時,提示特感種類與數量限制 l4d_zcs_notify_class "1" // Smoker玩家死亡之後允許再次選擇Smoker的冷卻時間. (-1=使用官方指令z_ghost_delay_max設置的時間, 0=無冷卻時間, 請設置1~300秒) l4d_zcs_cooldown_smoker "-1" // Boomer玩家死亡之後允許再次選擇Boomer的冷卻時間. (-1=使用官方指令z_ghost_delay_max設置的時間, 0=無冷卻時間, 請設置1~300秒) l4d_zcs_cooldown_boomer "-1" // Hunter玩家死亡之後允許再次選擇Hunter的冷卻時間. (-1=使用官方指令z_ghost_delay_max設置的時間, 0=無冷卻時間, 請設置1~300秒) l4d_zcs_cooldown_hunter "-1" // Spitter玩家死亡之後允許再次選擇Spitter的冷卻時間. (-1=使用官方指令z_ghost_delay_max設置的時間, 0=無冷卻時間, 請設置1~300秒) l4d_zcs_cooldown_spitter "-1" // Jockey玩家死亡之後允許再次選擇Jockey的冷卻時間. (-1=使用官方指令z_ghost_delay_max設置的時間, 0=無冷卻時間, 請設置1~300秒) l4d_zcs_cooldown_jockey "-1" // Charger玩家死亡之後允許再次選擇Charger的冷卻時間. (-1=使用官方指令z_ghost_delay_max設置的時間, 0=無冷卻時間, 請設置1~300秒) l4d_zcs_cooldown_charger "-1" // Tank玩家死亡之後允許再次選擇Tank的冷卻時間. (0=無冷卻時間, 請設置1~300秒) l4d_zcs_cooldown_tank "300" // Smoker的數量限制 (活者+靈魂) // -1=使用官方指令z_versus_smoker_limit設置的數量, 0=不允許 l4d_zcs_smoker_limit "2" // Boomer的數量限制 (活者+靈魂) // -1=使用官方指令z_versus_boomer_limit設置的數量, 0=不允許 l4d_zcs_boomer_limit "2" // Hunter的數量限制 (活者+靈魂) // -1=使用官方指令z_versus_hunter_limit設置的數量, 0=不允許 l4d_zcs_hunter_limit "2" // Spitter的數量限制 (活者+靈魂) // -1=使用官方指令z_versus_spitter_limit設置的數量, 0=不允許 l4d_zcs_spitter_limit "2" // Jockey的數量限制 (活者+靈魂) // -1=使用官方指令z_versus_jockey_limit設置的數量, 0=不允許 l4d_zcs_jockey_limit "2" // Charger的數量限制 (活者+靈魂) // -1=使用官方指令z_versus_charger_limit設置的數量, 0=不允許 l4d_zcs_charger_limit "2" // Tank的數量限制 (0=不允許) l4d_zcs_tank_limit "0" // 為1時,允許靈魂特感Smoker切換其他特感種類 (0=不允許) l4d_zcs_smoker_ghost_allow "1" // 為1時,允許靈魂特感Boomer切換其他特感種類 (0=不允許) l4d_zcs_boomer_ghost_allow "1" // 為1時,允許靈魂特感Hunter切換其他特感種類 (0=不允許) l4d_zcs_hunter_ghost_allow "1" // 為1時,允許靈魂特感Spitter切換其他特感種類 (0=不允許) l4d_zcs_spitter_ghost_allow "1" // 為1時,允許靈魂特感Jockey切換其他特感種類 (0=不允許) l4d_zcs_jockey_ghost_allow "1" // 為1時,允許靈魂特感Charger切換其他特感種類 (0=不允許) l4d_zcs_charger_ghost_allow "1" // 為1時,允許靈魂特感Tank切換其他特感種類 (0=不允許) l4d_zcs_tank_ghost_allow "1" // 當玩家進入靈魂狀態時(非回魂狀態),1 = 由此插件決定特感種類 (根據場上的特感數量限制決定),0 = 交給導演系統決定 l4d_zcs_determine_class_when_ghost "1" // 每次靈魂狀態時,可以切換特感種類的次數? (0=無限制次數) l4d_zcs_change_class_limit "0"
- cfg/sourcemod/l4d_zcs.cfg

