Garry's Mod

Garry's Mod

Nincs elegendő értékelés
ZS Essentials
   
Díjazás
Kedvenc
Kedvenc
Törlés
Content Type: Addon
Addon Type: ServerContent
Fájlméret:
Közzétéve:
Frissítve:
520.508 KB
aug. 28., 16:13
okt. 11., 8:53
23 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
ZS Essentials

Leírás
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 megjegyzés
Comrade Blue szept. 27., 17: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  [készítő] szept. 26., 8:43 
Yes, you can disable it in options / zsbox server, or just simply put zsw_nopickupprops 1 in console
LilAsh szept. 26., 7:07 
Is there a way I can disable the custom grab system?
Hosterle szept. 11., 14:04 
Nvm I figured it out sorry
Hosterle szept. 11., 13:02 
where is the hammer? how do I nail my props?
Neeko szept. 9., 23:48 
Oh my gosh i always wanted the ZS prop and barricade systems in sandbox. Thank you for making this!
Shadow  [készítő] aug. 30., 13: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✦ aug. 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  [készítő] aug. 30., 6:35 
Yes, you can phase through nailed props, like in ZS.
✦Cuervo✦ aug. 29., 23:23 
use the walk key to enter ghost phasing mode.
???