Auto upgrade laser sights to weapons or manually upgrade by commands
Note
This plugin is private, Please contact me
此為私人插件, 請聯繫本人
-
Apply to | 適用於
L4D2 -
How does it work?
- Pick up weapons -> Auto upgrade laser sights
- Type
!laser-> on/off upgrade sight - Can set cmd use limit
-
Require | 必要安裝
-
ConVar | 指令
- cfg/sourcemod/l4d2_lasersight.cfg
// How long do the commands 'cool down' (0=No cold down) l4d2_lasersight_delay "1.0" // If 1, Auto upgrade laser sight when survivors pick up primary weapons l4d2_lasersight_auto "1" // If 1, block laser command once game starts (survivors leaving saferoom / survival or scavenge begins) l4d2_lasersight_game_block "0" // If 1, block laser command if there are no any upgrade_laser_sight on the map l4d2_lasersight_map_block "0" // Players with these flags have access to have laser sight and type laser command (Empty = Everyone, -1: Nobody) l4d2_lasersight_access_flag "0" // How many time can player use command to toggle laser per map? (-1=Command blocked, 0=No limit) l4d2_lasersight_map_count "0"
- cfg/sourcemod/l4d2_lasersight.cfg
-
Command | 命令
- Toggle laser sight
sm_laser
- Toggle laser sight
-
Translation Support | 支援翻譯
translations/l4d2_lasersight.phrases.txt -
Changelog | 版本日誌
-
v1.3h (2025-9-29)
- Update cvars
-
v1.2h (2024-11-4)
- Auto upgrade laser sight when survivors pick up primary weapons
- Update cvars
- Update cmds
-
v1.1h (2024-9-3)
- Add translation file
-
v1.0h (2022-11-27)
- Remake code
- Add cvars amd command limit
-
v0.0
-
武器自動升級紅外線雷射或輸入指令升級
-
原理
- 拿主武器,自動升級紅外線雷射
- 或拿主武器,輸入
!laser,開關紅外線雷射
-
指令中文介紹 (點我展開)
- cfg/sourcemod/l4d2_lasersight.cfg
// 使用!laser的冷卻時間 (0=無冷卻時間) l4d2_lasersight_delay "1.0" // 為1時,玩家撿起主武器時,自動升級紅外線雷射 l4d2_lasersight_auto "1" // 為1時,遊戲開始後不能使用指令 (倖存者離開安全區域 / 生存或清道夫模式計時開始) l4d2_lasersight_game_block "0" // 為1時,地圖上沒有紅外線雷射升級裝置時,不能使用指令 l4d2_lasersight_map_block "0" // 擁有這些權限的玩家,可以自動裝備紅外線與使用指令 (留白 = 任何人都能, -1: 無人) l4d2_lasersight_access_flag "0" // 每個關卡當中,玩家使用指令裝備紅外線的次數限制 (-1=不能使用指另, 0: 無限制) l4d2_lasersight_map_count "0"
- cfg/sourcemod/l4d2_lasersight.cfg
-
命令中文介紹 (點我展開)
- 開/關紅外線
sm_laser
- 開/關紅外線