CS:S Sniper Control
I just thought I would share this in case anyone finds it useful. It's a simple CSS plugin I wrote for our server to try and keep sniper rifles under control, we didn't want to ban them completetly, but wanted to keep them in check.
Installation: - Save SniperControl_mm.dll to cstrike/addons/snipercontrol/ - Add the line "addons/snipercontrol/SniperControl_mm" to metaplugins.ini Features: - Restricts sniper rifles (AWP, Autos and Scout) if a team is winning by so many rounds or has won so many in a row - Drops weapons from players at round start when restrictions are put in place - Prevents players from picking up restricted weapons - Prevents players from buying restricted weapons (ignores restricted weapons in autobuy - rebuy will still allow players to buy restricted weapons, they will be dropped imediately but the player will have wasted their money) Cvars: sc_enable Enables/Disables the plugin 1 = enabled (default) 0 = disabled sc_wins How many rounds a team must be winning by for restrictions to be enforced Default = 3 sc_streaks How many rounds in a row a team must win before restrictions are enforced Default = 6 sc_awp Whether or not the AWP is considered a sniper rifle 1 = Yes (default) 0 = No sc_auto Whether or not the auto snipers are considered sniper rifles 1 = Yes (default) 0 = No sc_scout Whether or not the scout is considered a sniper rifle 1 = Yes 0 = No (default) sc_verbose How often the plugin informs players about the restrictions 0 = Silent 1 = When restrictions are enforced/removed (default) 2 = at the start of every round Windows binary download Sorry to any Linux users who want to try this, but I don't have a Linux box to compile or test on. I have tried to keep the code compatible with Linux when using offsets and in the code I have copied from other plugins, so feel free to have a go at compilling it for Linux. Source Code download |
Re: CS:S Sniper Control
Good job! This is very close to being the "perfect" sniper control plugin.
I already have a feature request though: how about adding an option to restrict snipers to one or two per team by default? |
Re: CS:S Sniper Control
Same as glittermod :)
|
Re: CS:S Sniper Control
Quote:
So these default restrictions that I suggested would follow the same principle. If you buy a scout and only one sniper rifle is allowed per team, then that's it, assuming scout is considered a sniper rifle. What do you think, TommyV? |
Re: CS:S Sniper Control
uuh Glittermod does the same, you can actually set a maximum per team, limit them OR limit a specific weapon for the winning team.
|
Re: CS:S Sniper Control
Quote:
This is an extract from Glittermod configuration file: Code:
// These are restrictions of count weapons per team |
Re: CS:S Sniper Control
It is similar to Glittermod, but I started it before Glittermod was available(I wouldn't have bothered if Glittermod was released then), just thought I'd share it in case anyone was interested.
It isn't exactly the same, as raaka says, it handles sinper rifles collectively, it is also a much simpler plugin than glittermod if you dont need the other features. I will look into adding your request raaka, I'll add a couple more cvars so you can decide how many snipers are allowed when restrictions are in place, and how many are allowed when they aren't. |
Re: CS:S Sniper Control
Quote:
Too bad I'm running a Linux server, which means I either have to figure out how to compile your plugin on it or wait for someone else to do it... |
Re: CS:S Sniper Control
I'll see if I can get someone to help me with a Linux compile as well, I need get up and running with Linux anyway.
|
Re: CS:S Sniper Control
Good though to see alternatives, keep up the great work mate!
|
All times are GMT -4. The time now is 01:40. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.