View Single Post
Author Message
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 07-02-2009 , 13:50   [L4D2] Hidden Ability Hints - Alerts players to enabled abilities with hint text 1.6b
Reply With Quote #1

If you have crawling, hunter release, smoker release, jockey dismount, or charger release enabled, this will inform players when they can use that ability, when the time is right. It uses the hint text to display the message. This also detects if the cvars have changed and disables/enables the text as needed.

Notes
If you're using L4D1, use version 1.4.
L4D2 should be using the latest version.

Features that you can enable on your server:
Smoker Pull Release: sm_cvar tongue_allow_voluntary_release 1
Survivors Crawl: sm_cvar survivor_allow_crawling 1

(L4D2 Only - Current Version - Available from plugin located here: http://forums.alliedmods.net/showthread.php?t=109715)
Jockey: l4d2_jockey_dismount_on 1
Hunter: l4d2_hunter_release_on 1
Charger: l4d2_charger_release_on 1

(L4D1 Only - Version 1.4)
Hunter: sm_cvar z_lunge_release 1

Todo
  • Move text to translation files.

Version History
1.6b
  • Fixed integration with the infected release plugin. Now it delays the loading of those cvars by 10 seconds. This way, if this plugin loads first, it will grab the cvars after the other loads.

1.6
  • Support for infected release plugin, which alerts players to being able to release jockey, hunter, or charger.
  • Fixed possible bug where players would get crawl notification even though crawling was turned off.

1.5
  • Fixed loading issue from Hunter cvar being removed from L4D2
  • Added integration with the jockey dismount plugin (see above for link)

1.4 - L4D1 Only
  • Adjusted event hooking to fix a bug that has appeared. Thanks GezwiZ

1.3
  • Added check in SurvivorLetGo event to fix log errors...

1.2
  • Fixed a typo.
  • Tank no longer gets the crawl message when he dies.
  • Correctly detects when is released and is incapacitated.

1.1
  • Added hunter release.
  • Notify survivors that they can crawl after they have been released (or attackee was killed)
  • Fixed text typo.

1.0
  • Initial release.

CVARs
l4d_ability_hint_ver - Version of this plugin.
Attached Files
File Type: sp Get Plugin or Get Source (l4d_HiddenAbilityHints-1.4.sp - 4213 views - 4.9 KB)
File Type: sp Get Plugin or Get Source (l4d2_HiddenAbilityHints.sp - 6249 views - 10.7 KB)

Last edited by Thraka; 12-20-2009 at 22:26.
Thraka is offline