Garry's Mod

Garry's Mod

評價次數不足
ZS Essentials
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: ServerContent
檔案大小
發佈於
更新時間
520.508 KB
8 月 28 日 下午 4:13
10 月 11 日 上午 8:53
23 項更新註記 (檢視)

訂閱以下載
ZS Essentials

描述
This is a base for all my ZS-based mods, and for yours too!
It’s a compilation of Zombie Survival functions (and future ones as well). If you’d like to add something, just let me know I’ll do my best, but please have patience since I’m not the best coder.

This includes the ZS Barricade System, Prop Carrying, and Ghost Phasing all built-in.
Use the Walk key to enter Ghost Phasing mode.
While phasing, you can only pass through nailed props (those nailed with the hammer).

Hooks:
@ply is the player who repaired
@ent is the entity that was repaired
@health is the amount of health restored
hook.Run("OnRepairedObject", ply, ent, health)

@pl is the player who is attempting to pick up the entity
@entity is the entity being picked up
hook.Run("OnTryHumanPickup", pl, entity)

@ent The entity being damaged
@attacker The player who is dealing the damage
@dmg The amount of damage dealt
@dmgpos The position where the damage occurred
@health The remaining health of the damaged prop
hook.Run("OnPropDamaged", ent, attacker, dmg, dmgpos, health)

@ent is the prop that broke
@attacker is the player who broke the prop
hook.Run("OnPropBroken", ent, attacker)
10 則留言
Comrade Blue 9 月 27 日 下午 5:29 
This is actually pretty genius lol. I once had a very similar idea of porting some ZS mechanics to sandbox but abandoned the project due to lack of coding knowledge. Good to know someone had the same idea and did it!
Shadow  [作者] 9 月 26 日 上午 8:43 
Yes, you can disable it in options / zsbox server, or just simply put zsw_nopickupprops 1 in console
LilAsh 9 月 26 日 上午 7:07 
Is there a way I can disable the custom grab system?
Hosterle 9 月 11 日 下午 2:04 
Nvm I figured it out sorry
Hosterle 9 月 11 日 下午 1:02 
where is the hammer? how do I nail my props?
Neeko 9 月 9 日 下午 11:48 
Oh my gosh i always wanted the ZS prop and barricade systems in sandbox. Thank you for making this!
Shadow  [作者] 8 月 30 日 下午 1:57 
R (IN_RELOAD) is for rotating props, SHIFT (IN_SPEED) keeps them frozen in the air, and ALT (IN_WALK) is for rotating props at 45° angles, or also for enabling ghost phasing to pass through nailed props.

Maybe you don’t have the walk key bound? Anyway, sure, I could try making a smal options menu for custom key binds.
✦Cuervo✦ 8 月 30 日 上午 9:27 
yeah uh, i try to use the Z and B like on zs but nothing happens, even try all my keys, you think you could find a way to make it into a bind?
Shadow  [作者] 8 月 30 日 上午 6:35 
Yes, you can phase through nailed props, like in ZS.
✦Cuervo✦ 8 月 29 日 下午 11:23 
use the walk key to enter ghost phasing mode.
???