Left 4 Dead 2

Left 4 Dead 2

Not enough ratings
Custom Headshot! Mode
   
Award
Favorite
Favorited
Unfavorite
Game Content: Scripts
File Size
Posted
Updated
28.784 KB
29 Oct, 2024 @ 9:28am
12 Mar @ 11:59am
10 Change Notes ( view )

Subscribe to download
Custom Headshot! Mode

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

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

自定義 爆頭! 模式
僅於戰役類模式生效

Custom Headshot! mode.
Effective in campaign type modes only.

Original script of Headshot! mutation: https://developer.valvesoftware.com/wiki/Left_4_Dead_2/Scripting/Decrypted_mutations

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

設定說明:
Description of settings:
設定名
Setting's name
說明
Description
Enable
(Default: true)
Can be set to true/false to activate/inactive the script at anytime.
可在任何時候設定為 true啟動/fasle關閉
HeadshotSI/
HeadshotTank/
HeadshotWitch/
HeadshotCI
(Default: 0/1/0/0)
If the SI/Tank/Witch/CI is not shot in the head, the damage will be multiplied by this value.
※Including melees
※Including shoving for SI
Effective value is 0~1.

If you want CI can not be killed by shoving, use Director Options Modifier and set cm_HeadshotOnly = true. (But CI will only be killed with headshots)
Or Shove Damage Modifier.
如果 SI/Tank/Witch/CI 不是被射中頭部 傷害會乘以此值
※包含近戰
※SI包含推
有效值為 0~1

如果要讓CI推不死
使用Director Options Modifier並設定 cm_HeadshotOnly = true (不過CI會變成只能爆頭殺死)
或 使用Shove Damage Modifier
ShotgunSI/
ShotgunTank
(Default: 0.3/1)
If the weapon is a shotgun, the damage will be multiplied by this value.
※Shotgun does not have headshot detection for SI/Tank.
Effective value is 0~1.
如果武器是霰彈槍 傷害會乘以此值
※霰彈槍對SI/Tank沒有爆頭判定
有效值為 0~1

指令:
Chat triggers:
!hs list
List all settings in the settings file.
Require Admin permission.
列出在 settings file 中的所有設定
需要管理員權限
!hs <setting's name> <new value>
Modify the value of <setting's name> to <new value>.
Require Admin permission.
變更 <設定名> 的數值為 <新數值>
需要管理員權限

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

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

Translation phrases can be customized (like SourceMod), file is located at \ems\translations\customheadshot.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}"