Garry's Mod
Vật phẩm này không tương thích với Garry's Mod. Hãy xem trang hướng dẫn để biết nguyên nhân tại sao vật phẩm này có thể không dùng được trong Garry's Mod.
318 lượt đánh giá
Anti-Cave Crash for Evocity V2D
   
Giải thưởng
Yêu thích
Đã yêu thích
Bỏ thích
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Roleplay
Kích cỡ file
Đã đăng
Đã cập nhật
2.444 KB
7 Thg12, 2012 @ 1:03pm
20 Thg12, 2014 @ 5:41am
6 ghi chú thay đổi ( xem )

Đăng ký để tải xuống
Anti-Cave Crash for Evocity V2D

Mô tả
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 bình luận
Novel 10 Thg02, 2019 @ 10:37am 
well. where is the original workshop map?
Teddi  [tác giả] 10 Thg02, 2019 @ 10:34am 
No idea, haven't tested this in years.
Novel 10 Thg02, 2019 @ 3:58am 
does it create script errors?
Verda 1 Thg12, 2016 @ 1:57pm 
Thanks bro, this has come in handy more than once
Teddi  [tác giả] 5 Thg10, 2016 @ 2:53pm 
Because Robotboy doesn't like the icon and feels it should be more "descript".
greybatter97 5 Thg10, 2016 @ 1:11pm 
Why is it flagged?
Teddi  [tác giả] 6 Thg09, 2015 @ 3:05pm 
Short answer is you don't!
RoboRexton 6 Thg09, 2015 @ 2:09pm 
How do I remove the "This server is protected by Version 5.01 of Teddi's anti-cave system." from the chatbox?
IBIZA 1995 KZI 12 Thg03, 2015 @ 11:33am 
Why is the cave crashing the game anyway?
Teddi  [tác giả] 24 Thg12, 2014 @ 10:10am 
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.