Left 4 Dead 2

Left 4 Dead 2

27 ratings
Damage Display in Chat
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
50.713 KB
20 Oct, 2024 @ 10:10am
16 Oct @ 2:03am
23 Change Notes ( view )

Subscribe to download
Damage Display in Chat

In 2 collections by skysky199
Script List
131 items
Script List <Improvement>
28 items
Description
--僅於區域/專用伺服器生效--
--Works on local/dedicated servers only.--

※需要 開啟Scripted Mode
※Requires enable Scripted Mode.

擊殺特感時, 在聊天欄顯示造成的傷害.

Display damages in the chat box when special infecteds are killed.

Setting file path:
\ems\damagedisplayinchat\settings.tbl

Description of settings:
設定名
Setting's name
說明
Description
BlacklistMode
(Default: true)
If true, messages will not be sent to the IDs listed in the blacklist.txt file.
Otherwise, messages will only be sent to the IDs listed in the whitelist.txt file.
如果為 true, 訊息不會發送給ID在 blacklist.txt 中的人.
否則, 訊息只會發送給ID在 whitelist.txt 中的人.
Overflow
(Default: false)
If true, sum of damages will exceed the SI's health.
(See green square in the picture above.)
如果為 true, 總傷害會超過特感的最大血量.
(上圖的綠框部分)
ShowKiller
(Default: false)
If true, damage done by the killer will be moved to alongside the killing message.
(See red square in the picture above.)
如果為 true, 擊殺者造成的傷害顯示會移動到擊殺訊息的旁邊
(上圖的紅框部分)
Layout
(Default: 2)
Damage display layout of the attackers.
(See blue square in the picture above.)
The maximum depends on the length of the players' names.
Set to 0 = only display the killing message.
攻擊者的傷害顯示佈局
(上圖的藍框部分)
最大值取決於玩家的名字長度
設定為 0 則只會顯示擊殺訊息
ShowSI
ShowTank
ShowWitch
(Default: true)
If true, display damages when a corresponding type is killed.
如果為true, 擊殺對應種類時 顯示傷害
ShowSuicide
(Default: true)
If false, message will not be printed if the SI commits suicide.
如果為false, SI自殺時不會顯示

指令:
Chat triggers:
!dmg
Add/Remove your ID to/from the blacklist.txt /whitelist.txt, depend on the setting of BlacklistMode.
根據BlacklistMode的設定決定 加入/移除你的ID 到/從 blacklist.txt /whitelist.txt.

===========================================================================

翻譯詞可自定義 (類似於SourceMod), 檔案位於\ems\translations\damagedisplayinchat.tbl
所有可用的API 語言碼可在下面的網址找到

Translation phrases can be customized (like SourceMod), file is located at \ems\translations\damagedisplayinchat.tbl
All valid API language code can be found at
https://partner.steamgames.com/doc/store/localization/languages

顏色代碼:
Color Codes:
Beige (default color) = "\x01" = "{default}"
Bright green = "\x03" = "{lightgreen}"
Orange = "\x04" = "{orange}"
Olive green = "\x05" = "{olive}"
6 Comments
skysky199  [author] 18 Jul @ 2:35am 
@mauroagustobi7

已加入到設定中
Added to the setting file.
mauroagustobi7 17 Jul @ 3:02pm 
我希望當特殊感染者自殺時,它不會出現在聊天中。
JC 28 Feb @ 3:33am 
感謝大佬
skysky199  [author] 28 Feb @ 3:07am 
@JC

使用Notepad++開啟
JC 28 Feb @ 2:31am 
想更改圖像中設定,但settings是亂碼是正常嗎
Penso A Te* 28 Oct, 2024 @ 10:01am 
关注您了大佬