Garry's Mod

Garry's Mod

Denna artikel är inte kompatibel med Garry's Mod. Var vänlig läs instruktionssidan för anledningar varför artikeln inte passar inom Garry's Mod.
318 betyg
Anti-Cave Crash for Evocity V2D
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
Filstorlek
Lades upp
Uppdaterades
2.444 KB
7 dec, 2012 @ 13:03
20 dec, 2014 @ 5:41
6 ändringsnotiser ( visa )

Abonnera för att ladda ner
Anti-Cave Crash for Evocity V2D

Beskrivning
A fully working customizable anti-cave crash system for rp_evocity_v2d!

Features
  • Various Area Sizes
  • Various Punishment Options
  • Developer Support
  • Map Cleanup Support
  • Entities get removed if they enter the area.
  • Uses Sources own trigger system.
Options
There's a few configurable options which should help you get your desired effect.

Punishment Styles
Using cave_severity and the following number, we can set the action to be taken;
  • 0 : Do nothing
  • 1 : Teleports the player away from the cave and notifies them to not go near it. (DEFAULT)
  • 2 : Kills the player and notifies them not to go near it
  • 3 : Kicks the player with a reason of "You're not allowed to be near here".
  • 4 : Designed for Custom Behaviour
Area to restrict from
Using cave_strength and the following number, we can set how large we want the area to be
  • 1 : Covers the area just around the edge of the cave and everything in front of it. Lake is fully accessible.
  • 2 : The same as 1, however extends itself to just under half of the lake area. (DEFAULT)
  • 3 : Covers almost the entire lake area.
Developers

Two functions have been exposed to you, one called GAMEMODE:HandleCaveUser(player, severity) which allows you to create your own behavior as to how to handle a player that is in the area. Although not required, it is recommended to set severity (or cave_severity) to 4 for display sake.

The other is called GAMEMODE:HandleEntity(ent,severity). This allows you to control how entities (non player) are handled.

Other Notes
The severity can be changed on the fly, however the "strength" requires a map reload / cleanup to take effect.
36 kommentarer
Novel 10 feb, 2019 @ 10:37 
well. where is the original workshop map?
Teddi  [skapare] 10 feb, 2019 @ 10:34 
No idea, haven't tested this in years.
Novel 10 feb, 2019 @ 3:58 
does it create script errors?
Verda 1 dec, 2016 @ 13:57 
Thanks bro, this has come in handy more than once
Teddi  [skapare] 5 okt, 2016 @ 14:53 
Because Robotboy doesn't like the icon and feels it should be more "descript".
greybatter97 5 okt, 2016 @ 13:11 
Why is it flagged?
Teddi  [skapare] 6 sep, 2015 @ 15:05 
Short answer is you don't!
RoboRexton 6 sep, 2015 @ 14:09 
How do I remove the "This server is protected by Version 5.01 of Teddi's anti-cave system." from the chatbox?
K.Z.I 12 mar, 2015 @ 11:33 
Why is the cave crashing the game anyway?
Teddi  [skapare] 24 dec, 2014 @ 10:10 
Well that depends on the severity. I can't stop users from spawning things inside the cave without being somewhat more intrusive with the code. I will see what I can do though.