View Single Post
Plugin Info:     Modification:          Category:          Approver:   devicenull (200)
CheesyPeteza
Senior Member
Join Date: Feb 2004
Location: UK
Old 09-21-2004 , 19:05   Hive/CC Health Constant Display
Reply With Quote #1

This plugin shows the hive, command console and armory health at all times to all players in NS Combat. It is displayed at the bottom of the screen like this:



The display starts flashing when the CC/Hive is 33% health. A warning sound will play for the marines. Aliens shouldn't need a sound as they have "The hive is dieing" sound already.

Cvars:
hc_sound Set to 0 to disable the CC less than 33% HP warning siren. 1 to enable. (default 1)

Note:
O The plugin will automatically disable itself in classic mode and if Tournament Mode is enabled.

Requires:
O AMXModX TP5 or newer
O FakeMeta module
O Engine module
O NS module

Known Bugs:
Sometimes the warning sound will not play for the full 5 seconds (I'm working on a fix for this)

Updated: 2.3 (23-Sep-04)
O Fixed require_module() bug

Updated: 2.2 (9-Sep-04)
O Converted to AMXModX engine/ns/fakemeta

Updated: 2.1 (12-May-04)
O Now compatible with ns2amx 1.0
O Plugin automatically disabled on MvM & AvA maps
O Using a new method for playing the CC dieing warning sound.

Updated: 2.00 (14-Mar-04)
O Total rewrite of code to be more efficient.
O Now supports multiple armorys. (Thanks for the idea Floyd)
O When the Hive/CC reaches 33% the text starts flashing, marines receive a warning sound. (Thanks for the idea again Floyd)
O The text is moved when a player dies so that it is still visible.
O Moved the text over to the left a lot more so that it hopefully displays correctly for all resolutions.
Attached Files
File Type: sma Get Plugin or Get Source (hiveccstatus.sma - 6271 views - 5.7 KB)
__________________
YO|Cheesy Peteza

[email protected]

CheesyPeteza is offline