Skip to content

Latest commit

 

History

History
216 lines (171 loc) · 6.65 KB

File metadata and controls

216 lines (171 loc) · 6.65 KB

Description | 內容

Display text for up to 15 scripted HUD slots on the screen.

Note
This plugin is private, Please contact me
此為私人插件, 請聯繫本人

  • Apply to | 適用於

     L4D2
    
  • Image | 圖示

    • Survivor - 人類方
      l4d2_scripted_hud_remake_1
    • Infected - 特感方
      l4d2_scripted_hud_remake_2
    • Animated movement
      l4d2_scripted_hud_remake_3
    • Custom Hud text
      l4d2_scripted_hud_remake_4
  • How does it work?
  • Require | 必要安裝

    1. left4dhooks
  • ConVar | 指令
    • cfg/sourcemod/l4d2_scripted_hud_remake.cfg
       // Enable/Disable the plugin.
       // 0 = Disable, 1 = Enable.
       l4d2_scripted_hud_remake_enable "1"
  • Command | 命令
    • Reload the data file and refreash hud (Access: ADMFLAG_ROOT)
       sm_l4d2_scripted_hud_remake_reload_data
  • Default HUD Text
    • HUD 1:
      1. System Time + Map Played Time + Survivor Count + Infected Count
      2. System Time + Survivor Count + Infected Count
      3. System Time + Survivor Count
      4. System Time
    • HUD 2:
      1. Tank Health
      2. Server HostName + Server Slots
    • HUD 3:
      1. S.I. kills rank
      2. C.I.+S.I.+Tank+Witch kills rank
    • HUD 4:
      1. Survivor Mic Speaking
      2. Survivor health
    • HUD 5:
      1. Infected Mic Speaking
  • FAQ
    • How to switch HUD Text?

      • Modify Display key-value in data file
    • How to switch HUD position?

      • Modify x_pos key-value in data file
      • Modify y_pos key-value in data file
        l4d2_scripted_hud_remake_0
    • How to write message in HUD text as I want?

      1. Modify Texts key-value in data file
    • Why hud disappear or being cut?

      • The limit of each HUD text is up to 127 characters.
      • Hud position depends on Gaming Monitor Resolutions
  • Other Version | 其他版本
    1. l4d2_scripted_hud_remake_1: Display different Default HUD Text, for coop campaign (variant 1)

      不同的預設 HUD 文字,搭配戰役用 (變體代號1)

    2. l4d2_scripted_hud_remake_2: Display different Default HUD Text, for versus/zonemod campaign (variant 2)

      不同的預設 HUD 文字,搭配對抗與Zonemod用 (變體代號2)

  • Related Plugin | 相關插件
    1. l4d2_cs_kill_hud: HUD with cs kill info list.

      L4D2擊殺提示改成CS遊戲的擊殺列表

  • Changelog | 版本日誌
    • v1.2h (2024-11-16)

      • Remake plugin, support 15 huds
      • Update cvar, cmd, data file
      • Change plugin name
      • Remove center text
      • Remove vscript, no need
    • v1.1h (2023-11-21)

      • Optimize code and improve performance
    • v1.1.0 (2023-02-13)

      • Display Survivors, Infected, and Spectator MIC Speaking text separately
      • Add HUD 5 for Infected Mic Speaking
      • Add Center text for Spectator Mic Speaking
    • v1.0.5 (2022-11-27)

      • HUD3_TEXT + C.I.+S.I.+Tank+Witch kills rank
      • HUD4_TEXT + Survivor health
      • Add cvars to switch HUDX_TEXT text
    • v1.0.4 (2022-11-24)

      • Kill Infected Counter Rank (HUD3_Text)
      • Time and Survivor/Infected count (HUD1_Text)
    • v1.0.2


中文說明

在玩家畫面可顯示至多15個Hud, 每個Hud顯示不同的內容

  • 功能

    • 在玩家的畫面上顯示Hud文字
    • 修改文件 data/l4d2_scripted_hud_remake.cfg, 自行調整
      • 顯示的文字內容
      • 顯示位置
      • 文字移動的動畫效果
      • 黑色背景框, 文字閃紅色的特效
    • 🟥 每個Hud文字上限為127,遊戲限制不能增加,認真你就輸了,再問就是Valve的鍋
  • 預設的 HUD 文字 (點我展開)
    • HUD 1:
      1. 系統時間 + 地圖已遊玩時間 + 倖存者數量 + 特感數量
      2. 系統時間 + 倖存者數量 + 特感數量
      3. 系統時間 + 倖存者數量
      4. 系統時間
    • HUD 2:
      1. Tank 血量
      2. 房名 + 伺服器人數
    • HUD 3:
      1. 特感擊殺數 統計排行榜
      2. 普通感染者+特感+Tank+Witch擊殺數 統計排行榜
    • HUD 4:
      1. 倖存者玩家語音列表
      2. 倖存者血量狀態
    • HUD 5:
      1. 特感玩家語音列表
  • 指令中文介紹 (點我展開)
    • cfg/sourcemod/l4d2_scripted_hud_remake.cfg
       // 0=關閉插件, 1=啟動插件
       l4d2_scripted_hud_remake_enable "1"
  • 命令中文介紹 (點我展開)
    • 重載data文件並刷新所有Huds (權限: ADMFLAG_ROOT)
       sm_l4d2_scripted_hud_remake_reload_data
  • 問題區
    • 如何更換預設的 HUD 文字?

      • 在data文件裡請修改 ```Display``
    • 如何改變 HUD 位置?

      • 在data文件裡修改 x_pos
      • 在data文件裡修改 y_pos
        l4d2_scripted_hud_remake_0
    • 如何修改在 HUD 加入自己寫的文字?

      • 在data文件裡修改 Texts
    • 為何 HUD 會移位或被切掉?

      • 每個Hud文字上限為127,遊戲限制不能增加,認真你就輸了
      • 根據玩家自己的遊戲分辨率,看到的Hud位置會有不同,請斟酌修改位置