Garry's Mod

Garry's Mod

79 个评价
Simple Drowning System V2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 写实
文件大小
发表于
更新日期
3.822 KB
2021 年 7 月 17 日 下午 5:36
2021 年 7 月 22 日 下午 1:18
2 项改动说明 ( 查看 )

订阅以下载
Simple Drowning System V2

描述
4kb total!

Why V2? Steam wouldn't let me update the first one to fix the typo that made it not work at all. Plus some minor improvements. If you find other bugs, let me know in the comments.

Features:
  • Quick, clean and reliable script
  • Easily configurable and adjustable
  • Kills attributed to players who dealt damage
  • Fully functional with NPCs
Convars:
  • drown_enabled
    (default true) - Enable/disable the addon
  • drown_breath
    (Default 10000 - 10 seconds) - Amount of time players can hold their breaths in ms
  • drown_dmg
    (Default 10) - Amount of damage players take per hit
  • drown_delay
    (Default 1000 - 1 second) - Amount of time between hits while drowning in ms
  • drown_waterlevel
    (Default head) - What bodylevel you begin to drown at (feet, waist or head) -- players can technically swim without their waist underwater, so use 'feet' for swimming in general
  • drown_credit
    (Default 30) - How many seconds can elapse after player damage for it to be
    counted as a kill (0 to disable credit system)
Note: does not affect players in seats
30 条留言
waranas 5 月 4 日 下午 7:44 
A question, how do I save the changes?
Goofyscooby 2024 年 12 月 21 日 下午 2:48 
You should add a scuba mask or something like that. That would be so cool!
Mr. Green 2024 年 11 月 2 日 下午 10:27 
@Maxar its pronounced "drown_enabled 1" for enabled and "drown_enabled 0" for disable. No hate just wanting to lend a hand
iumiforgot 2024 年 9 月 4 日 上午 12:28 
works for me! :barotrauma:
priospecter 2024 年 8 月 15 日 下午 8:53 
does not work
The Ghost of an Ángel 2024 年 2 月 27 日 上午 4:58 
@AAAAAHH use hl2 HEV mode for drowning u can see it when u click on a map
Maxar 2023 年 12 月 31 日 下午 2:17 
This doesn't work. Typing "drown_enabled false" does not disable drowning.
Lard-ass 2023 年 9 月 26 日 下午 6:15 
when ragdolled*
Lard-ass 2023 年 9 月 26 日 下午 6:15 
i use ragmod and drowning does not work, if it did work id give 10/10 otherwise, still very great mod 9/10:steamhappy:
night janitor 2023 年 9 月 4 日 上午 11:28 
can npcs drown to?