Garry's Mod

Garry's Mod

Onvoldoende beoordelingen
ZS Essentials
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Content Type: Addon
Addon Type: ServerContent
Bestandsgrootte
Geplaatst op
Bijgewerkt op
520.508 KB
28 aug om 16:13
11 okt om 8:53
23 wijzigingsnotities (weergeven)

Abonneren om te downloaden
ZS Essentials

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