Garry's Mod

Garry's Mod

评价数不足
DarkRP Zombie Infection
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 服务器内容
插件标签: 快乐, 角色扮演
文件大小
发表于
更新日期
9.199 KB
2020 年 4 月 2 日 上午 1:46
2020 年 4 月 2 日 上午 4:31
6 项改动说明 ( 查看 )

订阅以下载
DarkRP Zombie Infection

描述
Since everyone else is putting out infection scripts, I figured I'd release my own. I made this back during the halloween season for a ZombieRP server I did, and have found it useful in many other DarkRP-derived projects and plan to use in many more. Some minor adjustments to the config and you can have a Flood or Rakghoul event job too!

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

There's a heavily modifiable config included, but this is how it works stock:

- If a zombie or zombie-related npc kills you, you will respawn as the Zombie job where you died.

- If a zombie or zombie-related npc damages you, and you don't find a cure before you die, you will respawn as the Zombie job where you died.

- Any default weapons you have are stripped, and you're given NoTarget and fists.

- You can't damage the zombie npcs or other zombified players, but damage done to other players with said fists are multiplied by 10.

- If HungerMod is installed, you lose all of your hunger every hungerUpdate and gain hunger when you feed on players.

- If HungerMod is not installed, killing players only gives HP, however it intentionally does not cap at MaxHealth but rather a configured amount to make things more interesting.

- If you die as a zombie, you get switched back to TEAM_CITIZEN, but you can also just switch jobs. You can restrict both of these in the config as well.

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

Everything I just listed is configurable in drpzi_config.lua down to a microscopic level for your game developing pleasure, and I'm sure at some point I'll expand on this further in the future.

DarkRP and the NoTarget toolgun are obviously both requirements lol
8 条留言
Dank  [作者] 2024 年 10 月 27 日 下午 10:54 
It's recommended to upload and configure the lua files to your addons folder
Cure can be enabled for spawn menu in the entity file.
Lotton the Wizard 2024 年 10 月 26 日 上午 10:48 
It wont work in singleplayer or on my dedicated server. I get killed by zombies and still respawn as a citizen. Also, I can't get the cure entity to show up in the spawn menu, even though its enabled.
weran the whammer 2023 年 11 月 19 日 下午 3:52 
dis an gammod
Dank  [作者] 2020 年 7 月 3 日 上午 6:11 
I don't believe you :V
Walter White 2020 年 7 月 2 日 下午 6:54 
i exist:steamhappy:
Walter White 2020 年 7 月 2 日 下午 6:53 
hi:steamhappy:
Dank  [作者] 2020 年 4 月 22 日 下午 11:44 
It works just fine for me :P
$ерж 2020 年 4 月 13 日 上午 1:43 
Dont work