View Single Post
Author Message
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-30-2012 , 14:52   [CS:GO] Zeus Round
Reply With Quote #1

DESCRIPTION:
GameType should be Casual
This plugin allows server admins to set the next round to be a Zeus (taser) round. At the end of the round prior to the zeus round, all alive player's weapons will be remembered so they will get them back at the conclusion of the zeus round.

During the Zeus Round, players cannot buy any weapons. They will be given a knife and a zeus. If they get a frag with the zeus, they will get another zeus. If they fire the zeus and miss, they'll have only their knife to try and get a kill. If they get a knife kill, they'll get a zeus.

At the start of the round after the Zeus Round, they'll get their weapons back if they had any from the round before the zeus round. Their money will also be reset back to what it was prior to the Zeus Round (if you set the plugin to do that with the CVar sm_zeusround_savemoney which was introduced in 0.0.1.3).

This plugin was a request from here.

CVars


Admin Commands


REQUIREMENTS:
SDKHooks - Version 2.2 (or better) for CS:GO
Updater - optional

Compiling Required Includes:
cstrike
sdkhooks
colors
updater
autoexecconfig (https://forums.alliedmods.net/showthread.php?t=204254)

NOTES:
If, on the round prior to the Zeus round a player takes control of a bot and survives, the weapons that bot had will be saved as the weapons to give the player on the round after the zeus round. If this is an issue, I'll put in code to keep this from happening. FIXED as of 0.0.1.1

KNOWN ISSUES
If you start the Zeus Round during the warmup round, the round after the warmup will not be a Zeus Round - I'll continue to work on a solution for this.

For Zeus Last Round, you must have mp_timelimit 0, mp_fraglimit 0, mp_match_can_clinch 0 in order for the last round CVar to make the last round a zeus round automagically.

To Do List:
Requested to add removal of hostages - added in 0.0.1.3

Change Log


INSTALLATION:
Copy the zeusround.smx file to your addons/sourcemod/plugins folder and the zeusround.phrases.txt translation file to your addons/sourcemod/translations folder.

You'll have to download the .smx attached file because the online compiler won't work due to the includes.

The first time you run the plugin, it will create its config file in your cfg/sourcemod folder.

Upgrading?
If you're manually upgrading, make sure you grab a fresh copy of the translation file because as of 0.0.1.8 it was updated. If you use Updater, then it will automatically be updated.

Updated translation file as of 0.0.1.8
New CVar as of 0.0.2.0
Attached Files
File Type: txt zeusround.phrases.txt (680 Bytes, 3773 views)
File Type: sp Get Plugin or Get Source (zeusround.sp - 2623 views - 31.7 KB)
File Type: smx zeusround.smx (16.8 KB, 3653 views)
__________________
View my Plugins | Donate

Last edited by TnTSCS; 01-15-2015 at 16:23. Reason: Update from 0.0.2.3 to 0.0.2.4
TnTSCS is offline