View Single Post
Author Message
Pescoxa
Member
Join Date: Dec 2009
Old 02-03-2011 , 13:35   [L4D2] Anti-Runner System - REMAKE
Reply With Quote #1

VERSION - 2.5 - UPDATED ON 05/25/2010

COPIED FROM
https://forums.alliedmods.net/showpo...9&postcount=41


DESCRIPTION

This plugin is intended to prevent from rushing into saferoom without helping other survivors bypassing original rule.

Only the chosen player (called Keyman) can open the saferoom door.

Original plugin
https://forums.alliedmods.net/showthread.php?t=123058


This is a remake. It was recoded just keeping the original idea. This new thread was created to make an easier way for updating.

RULES

- "Keyman" is chosen at random when round has started. Bot will not be Keyman.
- Only Keyman can open saferoom door (means goal side).
- The keyman is one player. If Keyman dies, changes team or disconnect, Keyman is re-selected.
- If Tank is alive, Saferoom door still locked regardless until he dies.

INSTALL

- Put the l4d2_sm_anti-runner.smx in the plugins folder;
- Put the l4d2_sm_anti-runner.phrases.txt in the translations folder.

NOTES

- Translation file is required.

CHANGELOG

2.5
* New modes are supported (all modes that use doors - including realism vs (mutation12));
* CVAR to Enable or Disable plugin;
* Menu to Enable or Disable plugin (changes CVAR);
* Messages are displayed only when plugin is enabled;
* General bug fixes.

2.4
* Lot of issues were made - discontinued.

2.3
* Fixed translation bug that deny selecting KeyMan on the second time;
* Added cvar with the version

2.2.1
* Translation Support: pt-br and us-en;
* Changed how the plugin detects when a player left safe area;
* Changed Timer Variable name - causing StopTimer invalid handle error;

TODO

* Does not allow door closing while there's someone icapped.


Feel free to correct me! But let me know them!

Hope you like!
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_sm_anti-runner.sp - 3277 views - 26.5 KB)
File Type: txt l4d2_sm_anti-runner.phrases.txt (3.8 KB, 1780 views)

Last edited by Pescoxa; 02-03-2011 at 13:44. Reason: Formatting
Pescoxa is offline