Metamod: Healing Armory Plugin
voogru
Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
<div class="IPBDescription">The ORIGINAL Healing Armory plugin! :P</div> Finally fixed this in linux, works perfect <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->. Anyways, now it has a new toy "resources mode" which is on by default, when the armory is built it starts full of resources, as players use it it takes it from the armory, when the armory runs out of health it must be "reloaded" by the commander. (he has to drop medpacks on this).
The commander can see how much res it has by simply moving the mouse over the medpack. (medpack has a ring).
Screenshot: <a href='http://www.voogru.com/images/Screenshots/ns_nothing0006.jpg' target='_blank'>http://www.voogru.com/images/Screenshots/n...nothing0006.jpg</a> (this is from players view).
The amount of resources that the armory can hold are set by nsa_armory_maxhealth, when the armory gives out health it will show a -2 or -4 health over the medpack (Depends if its advanced or normal armory, advanced heals 2 times faster and with 2 times as much health than normal armory.). Showing that its using up resources. When the armory runs out of health, it will no longer give out health. The commander must "refill" it by giving it medpacks, armory holds 1200 health by default, adding medpacks to it will give it 50 resources at a time per medpack.
On top of that, it also fixes small animation bug I encounted, when the armory gets attacked by a player or enemy, its sequence gets changed and if its a normal armory, the bottom boxes extend out and make it look like a advanced armory even tho its a normal armory. This plugin will fix that small bug as well.
Cvars:
nsa_armory_giveshp 1/0 default 1 = toggles healing armory.
nsa_armory_resources 1/0 default 1 = toggles if armory uses resources or not.
nsa_armory_maxhealth 150-5000 default 1200 = amount of health armory can store.
Linux & Windows & Source (Both Tested and working)
Download: <a href='http://www.voogru.com/files/ArmoryHeal.zip' target='_blank'>http://www.voogru.com/files/ArmoryHeal.zip</a>
Enjoy.
- voogru
The commander can see how much res it has by simply moving the mouse over the medpack. (medpack has a ring).
Screenshot: <a href='http://www.voogru.com/images/Screenshots/ns_nothing0006.jpg' target='_blank'>http://www.voogru.com/images/Screenshots/n...nothing0006.jpg</a> (this is from players view).
The amount of resources that the armory can hold are set by nsa_armory_maxhealth, when the armory gives out health it will show a -2 or -4 health over the medpack (Depends if its advanced or normal armory, advanced heals 2 times faster and with 2 times as much health than normal armory.). Showing that its using up resources. When the armory runs out of health, it will no longer give out health. The commander must "refill" it by giving it medpacks, armory holds 1200 health by default, adding medpacks to it will give it 50 resources at a time per medpack.
On top of that, it also fixes small animation bug I encounted, when the armory gets attacked by a player or enemy, its sequence gets changed and if its a normal armory, the bottom boxes extend out and make it look like a advanced armory even tho its a normal armory. This plugin will fix that small bug as well.
Cvars:
nsa_armory_giveshp 1/0 default 1 = toggles healing armory.
nsa_armory_resources 1/0 default 1 = toggles if armory uses resources or not.
nsa_armory_maxhealth 150-5000 default 1200 = amount of health armory can store.
Linux & Windows & Source (Both Tested and working)
Download: <a href='http://www.voogru.com/files/ArmoryHeal.zip' target='_blank'>http://www.voogru.com/files/ArmoryHeal.zip</a>
Enjoy.
- voogru
Comments
downloading
but after the server chanegd map it stopped working <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo-->
but after the server chanegd map it stopped working <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' valign='absmiddle' alt='sad.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Fixed now. (simply re-download)
Me and forgetting to reset timers on map change... dumb dumb me.
but after the server chanegd map it stopped working <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Fixed now. (simply re-download)
Me and forgetting to reset timers on map change... dumb dumb me. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
cheers