Garry's Mod

Garry's Mod

47 个评价
Headshot system
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 角色扮演, 写实
文件大小
发表于
更新日期
3.747 KB
2024 年 9 月 21 日 下午 3:34
2024 年 9 月 21 日 下午 4:10
3 项改动说明 ( 查看 )

订阅以下载
Headshot system

在 Hazardooo 的 1 个合集中
HazRP
25 件物品
描述
This addon adds a Headshot system. Thanks to this system, you can set up death by hitting players or NPCs in the head.
You can also determine if the armor will save you from death when hit in the head

Configuration:
The addon can be customized by adding the following ConVars to your server's garrysmod\cfg\server.cfg file:

Enables headshot by NPC or not. 1 = enabled, 0 = disabled
npc_headshot_mode 1

The chance of killing an NPC in the head. The range of the number is specified 0-100
npc_headshot_chance 100

Enables headshot for players. 1 = enabled, 0 = disabled
player_headshot_mode 1

Does the armor save you from headshot. 1 = enabled, 0 = disabled
player_armor_save_live 1

Includes a chance to pierce armor to death with a headshot if the damage done to the head was greater than the player's armor. The chance is 50/50
player_armor_penetration 1

Armor damage multiplier when hit in the head. The range of the number is specified. Any positive number is a number
player_headshot_armor_dmg_multiplier 3

All of the above ConVar have default values

The source code[github.com]

Uploaded with gmpublisher[github.com]
4 条留言
alexthedog10 2024 年 12 月 11 日 上午 2:16 
Can you add Nextbot support? Cause they are immune to this.
Grilled Cheese ✞ (but spooky 2024 年 9 月 28 日 下午 7:27 
.
max 2024 年 9 月 28 日 上午 6:39 
.
Mr.Puzzles 2024 年 9 月 25 日 上午 6:26 
i would do Same....
Because why not......