This is a simple plugin developed to prevent players from gate exploiting - damaging/killing people during round setup through gates, using jarate/madmilk through gates etc. This plugin makes it so damage inflicted from other players is nullified, while allowing players to damage themselves. Valve attempted to fix the exploit but it's still possible to hit people through gates
WARNING: This will break a scout achievement on cp_well. While this plugin is configured to be disabled on that map, there may be others I don't know about that may break. Be sure to edit setupfix.cfg to configure what maps have this enabled.
REQUIREMENTS
Sourcemod 1.5+
CVARs- oz_setupfix_version - Plugin version.
- oz_setupfix_enabled - (1) 0=disabled,1=enabled. Enable plugin?
- oz_allowDmg - (0) 0=disabled,1=enabled. Allow players to take damage from other players during setup/waiting for players?
- oz_allowCond - (0) 0=disabled,1=enabled. Allow players to get madmilked, jarated etc. during setup/waiting for players?
INSTALLATION INSTRUCTIONS
1. Copy setupfix.smx to the sourcemod/plugins directory.
2. Edit setupfix.cfg and read the comments included on the top of the file. You can use this file to disable parts of the plugin on certain maps.
3. Copy setupfix.cfg to the sourcemod/configs directory.
4. Add the cvars oz_allowDmg and oz_allowCond to the server.cfg with the settings you want. See above for details on each cvar.
5. Restart server, or manually load the plugin with
sm_rcon sm plugins load setupfix.smx
CHANGELOG
Quote:
v1.2.0 12/13/2013- Added config file to allow for map-specific settings.
- Rewrote most of the plugin.
v1.0.0 7/23/2013
|
CREDITS- Afro Priest - testing
- pheadxdll - used RTD plugin as reference for setup detection and file configs
- Powerlord - Information about the scout achievement "Quick Hook"
NOTES/MISC
This plugin is beta, there may be bugs. Report them and I'll try to fix them.