Metamod: Healing Armory Plugin

voogruvoogru 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

Comments

  • Asylum-SkitzoAsylum-Skitzo Join Date: 2003-02-08 Member: 13254Members
    Nice plugin voogru
  • That_Annoying_KidThat_Annoying_Kid Sire of Titles Join Date: 2003-03-01 Member: 14175Members, Constellation
    good work

    downloading
  • DEADscottDEADscott Join Date: 2003-03-29 Member: 15022Members, Constellation
    Thank you! Very nice.
  • BryBry Join Date: 2003-01-23 Member: 12609Members
    tested it and it appears to work fine.

    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-->
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    <!--QuoteBegin--Bry+May 18 2003, 11:33 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Bry @ May 18 2003, 11:33 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->tested it and it appears to work fine.

    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.
  • BryBry Join Date: 2003-01-23 Member: 12609Members
    <!--QuoteBegin--voogru+May 19 2003, 01:43 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (voogru @ May 19 2003, 01:43 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Bry+May 18 2003, 11:33 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Bry @ May 18 2003, 11:33 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->tested it and it appears to work fine.

    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
  • Asylum-SkitzoAsylum-Skitzo Join Date: 2003-02-08 Member: 13254Members
    Heh yeah I made that mistake too <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Sign In or Register to comment.