Skip to content

Garry's Mod addon to create zones that affect health

Notifications You must be signed in to change notification settings

widberg/zone-tool

Repository files navigation

A tool which allows you to easily create zones that affect health.

This addon is a heavily modified version of [url=https://steamcommunity.com/sharedfiles/filedetails/?id=1547155435]Ced's Safezones[/url]. All credit for base code goes to Ced.

[h1]Features:[/h1] [list] []Easy to use []4 Zone types: Damage, Heal, Scale, and Useless []2 Zone shapes: Box and Sphere []6 Groups: Players, Admins, Superadmins, Bots, NPCs, and Entities []Customizable appearance: color, transparency, and wireframe/filled rendering []User defined tick interval, amount to affect health, health limit, groups to affect, and optionaly clear the zone of props []Commands to easily manage your zones []Undo functionality []Saving of zones []Optimized for Garry's Mod 13 [/list]

[h1]Zone Types:[/h1] [list] [][b]Damage[/b] - Damages the selected groups by the set amount once per the set tick interval. The entity will stop being damaged once its health is less than or equal to "Min Health" [][b]Heal[/b] - Heals the selected groups by the set amount once per the set tick interval. The entity will stop being healed once its health is greater than or equal to "Max Health" [][b]Scale[/b] - Scales the damage taken by entities in the zone [][b]Useless[/b] - Will be rendered and remove props if selected, but does not affect health [/list]

[h1]Zone Shapes:[/h1] [list] [][b]Box[/b] - A rectangular prism defined by 2 opposite vertices [][b]Sphere[/b] - A sphere defined by its center and a point on the surface [/list]

[h1]Groups:[/h1] [list] [][b]Players[/b] - Players that are not bots or admins [][b]Admins[/b] - Admins that are not superadmins [][b]Superadmins[/b] - Admins that are superadmins [][b]Bots[/b] - Players that are bots [][b]NPCs[/b] - NPCs [][b]Entities[/b] - Entities that are not players or NPCs [/list]

[h1]Commands:[/h1] (Available to superadmins and anyone with the zone tool) [list] [][b]zone_list[/b] - Shows a list of all the zones [][b]zone_remove[/b] - Removes a given zone by its identifier [*][b]zone_save[/b] - Saves all the current zones [/list]

I am open to feature requests. If you find any bugs please report them in the comments below.

[h1]If you like or have enjoyed this addon, leave a like and favorite![/h1] [img]https://i.imgur.com/Gkw7mwm.gif[/img]

About

Garry's Mod addon to create zones that affect health

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages