Thread: Death Zone
View Single Post
Author Message
[KH] Royal CS
Junior Member
Join Date: May 2008
Old 06-19-2008 , 15:27   Death Zone
Reply With Quote #1

Death Zone

Version: 2.4
Author: SWAT_88 / [KH] Royal CS / lamdacore

1.0 Initial release for DoD:S.
2.0 Remake for CS:S.
2.0 Added many features:
Escape Time for each Zone.
Countdowns, Sounds, and Explosions.
Reason for each Zone.
Death Zone that will slay everybody.
2.1 Fixed a bug in "Reason Message"
2.2 Added Admin immunity.
2.3 Fixed another bug in "Reason Message"
2.4 Added deactivation and botimmunity

Requirements:
The latest sourcemod build
Description:
This is a Death Zone Plugin.
You can create zones in a cuboid form that will be a zone of death for either the CT, the T team or All players.
Players in the zone with the specified team will be slain after the given time.
Useful for:
  • Preventing Players to get in the enemy spawn zone.
  • Anti rush.
  • Anti Bug using.
  • Camping.
  • Not solid walls.
  • AFK.
Features:
  • Create a new zone ingame as Spectrator.
  • Up to 20 individual zones per team (maximum of 60 zones) storing for each map.
  • Set the output messages the way you want.
  • Create Escape Times for each zone.
  • Create Reasons for killing a player for each zone.
Commands:
"dz_clearzone"
Clears current point coordinates for Death Zone.

"dz_setzone"
Set 3 point coordinates and the min/max height for Barrier-Jumping-Zone.
You have to fly as Spectrator to a point where the first edge of the zone begins and enter sm_setzone.
Next fly to the second point where the second edge of the zone should be and enter sm_setzone again.
Now fly to the thirt point and enter again. The fourth point will automatically calculated so that it become a cuboid.
At least the minimum and maximum height for the cuboid, the Reason and the Escape Time have to be specified if you enter sm_setzone 4 more times.

"dz_savezone_ct"
Save the current cooridinates for Death Zone that will slay the CT team.

"dz_savezone_t"
Save the current cooridinates for Death Zone that will slay the T team.

"dz_savezone_all"
Save the current cooridinates for Death Zone that will slay everybody.

"dz_delzone_ct"

Delete the last saved Death Zone that will slay the CT team.

"dz_delzone_t"

Delete the last saved Death Zone that will slay the T team.

"dz_delzone_all"
Delete the last saved Death Zone that will slay everybody.

"dz_testzones"
Test the Death Zones by your current position.
Cvars:
"dz_verbose" "2" Sets when/where output is sent and to whom
- 0 : No output
- 1 : Show only to the user involved
- 2 : Show to admins and user involved
- 3 : Show to admins only
- 4 : Show to everyone

"dz_immunity" "1"
- 0 : Admins get killed in a DeathZone.
- 1 : Admins don't get killed in a DeathZone.

"dz_time" "0" DeactivationTime:
- 0: Zones are never disabled.
- x: Time for deactivation.

"dz_botimmunity" "0"
- 1: Bots don't get killed in a DeathZone,
- 0: Bots get killed in a DeathZone.
Setup (SourceMod):
Install the smx file to addons\sourcemod\plugins.
(Re)Load Plugin or change Map.
TO DO:
Nothing make a request.
Modifications:

MOD_DeathZone bomb-hostage css.zip:
by kicia

Zones will be disabled after the bomb has been planted or after the hostages have been rescued.

MOD_Translations_warmup_alert.zip:
by axon_pl

-added translations
-added cvar for enabling or disabling logging
-added cvar for mani admin warmup compatibility (this disables/enables zones during mani warmup, tested for Mani 1.2 beta R)
-added cvar for alert time (so thas beep sound doesn't play all the time you're in zone just for x last seconds - default 10)

MOD_Bomb_De_and_Re_activate.zip:
by foohey

-added events for disable zones when bomb is dropped, and reactivate zones when picked up.
Copyright:
Everybody can edit this plugin and copy this plugin.
Thanks to:
lamdacore
GODJonez for helping with the is-player-in-zone calculating.
Bailopan for timebomb
Carn for bugreporting
SWAT for annoying the fuck out of me ;) damn perfectionist
Testservers:
[KH] www.kh-clan.com #2
Please Feedback!
HAVE FUN!!!
Attached Files
File Type: zip MOD_DeathZone bomb-hostage css.zip (22.8 KB, 1278 views)
File Type: sp Get Plugin or Get Source (DeathZone.sp - 2793 views - 29.9 KB)
File Type: zip MOD_Translations_warmup_alert.zip (23.3 KB, 1072 views)
File Type: zip MOD_Bomb_De_and_Re_activate.zip (23.2 KB, 925 views)
File Type: smx DeathZone.smx (15.6 KB, 855 views)
__________________

Last edited by [KH] Royal CS; 09-23-2012 at 15:37. Reason: uploaded working compiled version from 9.23.12
[KH] Royal CS is offline