Metamod: 2 New Plugins.

voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
edited April 2003 in General Server Discussion
<div class="IPBDescription">"ManualSiege" and "BuildLimit"</div> One plugin is simply a fun plugin, the other a utility.

BuildLimit: (Open source)

This plugin restricts mines/commandchairs/turrets and siegeturrets, limits can be changed thru the following cvars.

turret_limit default 45
siegeturret_limit default 45
commandchair_limit default 3
mines_limit default 25

ManualSiege: (Closed Source <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->)

Simply go up to a build siegeturret, and +use it. This activates "use mode" on the siege and your able to aim it and shoot it like a tank. It settings are modified thru cvars which are:

nsa_siege_damage = How much damage it does, default is 300
nsa_siege_range = How far it auctually shoots
nsa_siege_radius = how far it does damage from the dot.
nsa_siege_delay = delay between when they can fire again, default is 5 seconds.

When you use the siege, there will be a red/green dot. The dot is green when its loaded, red when its reloading.
(reload is set thru nsa_siegedelay )

When the siege is in use, it will not act as a normal siege turret (and doesnt shoot thru walls, damage goes thru walls, but it does damage from the dot out. (set by nsa_siege_radius )

Special note: when you kill a player with siege, it auctually shows up that you killed them with siegeturret <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->


Links:
<a href='http://www.voogru.net/www/plugins/BuildLimit_MM.zip' target='_blank'>http://www.voogru.net/www/plugins/BuildLimit_MM.zip</a>
<a href='http://www.voogru.net/www/plugins/ManualSiege_MM.zip' target='_blank'>http://www.voogru.net/www/plugins/ManualSiege_MM.zip</a>


Both plugins are compiled for windows and linux, Linux compiles have been tested and appear to work (Tested by Eternal Bliss).

Plugins work perfect on windows servers, so fear not windows users.

If you have any problems, or if everything works perfect(rare case in linux, but hey! It could happen!), then reply! <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->


Enjoy.

- voogru.

(Oh yea, Big thanks to hullu for compiling and fixing siege plugin(Linux), and houndawg for suggesting the build limit plugin)
«1

Comments

  • SupernornSupernorn Best. Picture. Ever. Made. Ever. Join Date: 2002-11-07 Member: 7608Members, Constellation
    OMG USEABLE TURRENTS!!?!!11ONEONE

    this should be interesting <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • AlignAlign Remain Calm Join Date: 2002-11-02 Member: 5216Forum Moderators, Constellation
    edited April 2003
    Could we have a pic of the "siege kill" sprite plz <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->

    <span style='color:LIGHTBLUE'>Marineguy</span> <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <span style='color:ORANGE'>Alienfewl</span>

    Or?
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    Yup, it's Marine <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> Alien or Marine if FF is on <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
    works great <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
  • SupernornSupernorn Best. Picture. Ever. Made. Ever. Join Date: 2002-11-07 Member: 7608Members, Constellation
    i've found a bug in the code though. if the siege is placed on tight corners, you cannot manually fire the siege. It just doesnt work. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
    whats great is that the aliens can see the laser sight!

    "whats that green thing?"
    BOOOOOM

    lol, that cracked me up. <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • prodigyprodigy Join Date: 2002-11-01 Member: 3180Members
    Can you please post the source to the Siege plugin?
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    I updated it, now added a new cvar "nsa_siege_radius" is how far it does damage from the dot, nsa_siege_range is how how it auctually shoots.

    <!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Can you please post the source to the Siege plugin? <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    It appears to work fine in linux, So I see no reason to release source, this is something I rather not give source too.
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
  • That_Annoying_KidThat_Annoying_Kid Sire of Titles Join Date: 2003-03-01 Member: 14175Members, Constellation
    *sigh*
    (in reference to the above)
    I would say that there cool plugins, put I can't get metamod to werk
  • Lightning_BlueLightning_Blue Sunny Domination Join Date: 2002-12-11 Member: 10647Members, Constellation, Reinforced - Silver
    Mine limit = mines or mine packs?
  • KenichiKenichi This is not a pie. Join Date: 2002-11-01 Member: 2941Members, NS1 Playtester
    God this is something that should just never be done. Usable seige turrets, what the hell.
  • Eternal_BlissEternal_Bliss Join Date: 2002-11-07 Member: 7633Members, NS1 Playtester, Contributor
    <!--QuoteBegin--Lightning Blue+Apr 14 2003, 11:02 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Lightning Blue @ Apr 14 2003, 11:02 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Mine limit = mines or mine packs? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Mines, if limit is 25 and there are 25 placed all mines you place after that will blow up.
  • HtNickoliHtNickoli Join Date: 2002-11-24 Member: 9786Members
    I like the idea to limit mines. (get so many games with skilless marines who's idea of strategy is to mine spam. But I guess if you can't aim....) Good work on finally releasing linux working plugins voogru!
  • HoundDawgHoundDawg Join Date: 2002-11-01 Member: 3362Members
    While using the manual siege, not all say commands get processed. Also, it seems to have aiming issues at times. For example, on ns_freefall, if skulk is behind the ladder tube glass.... the siege shoots at itself if you try to aim at the skulk.... <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->

    Other than that, great work!
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    I fixed the problem with the say commands (also, it wasnt just say commands, it was any comand. stupid misplaced ")" )

    Just trying to find someone with a box that compiles a working copy in linux, hullu must have some magic box.
  • folkfolk Join Date: 2002-11-14 Member: 8603Banned
    fun for lan, but you can grab more than one siege at once.
  • HoundDawgHoundDawg Join Date: 2002-11-01 Member: 3362Members
    We found another bug with BuildLimit last night. We have the command chair limited to 3. Through the course of the game, marines built 3 command chairs (relocated), which were constantly being destroyed.

    So, the one marines start with would be destroyed as the marines relocated elsewhere. Then, that one would be destroyed as the marines relocated back to main base. But, the commander was unable to create another one. Now, there was only 1 command chair left, but another one couldn't get created.

    Does this mean the count isn't being adjusted for when the command chair is destroyed?
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    <!--QuoteBegin--HoundDawg+Apr 15 2003, 10:20 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (HoundDawg @ Apr 15 2003, 10:20 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> We found another bug with BuildLimit last night. We have the command chair limited to 3. Through the course of the game, marines built 3 command chairs (relocated), which were constantly being destroyed.

    So, the one marines start with would be destroyed as the marines relocated elsewhere. Then, that one would be destroyed as the marines relocated back to main base. But, the commander was unable to create another one. Now, there was only 1 command chair left, but another one couldn't get created.

    Does this mean the count isn't being adjusted for when the command chair is destroyed? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    This is wierd, The count is always updated. What was the limit set to?

    It could only happen if the command chair was still around.
  • HoundDawgHoundDawg Join Date: 2002-11-01 Member: 3362Members
    <!--QuoteBegin--voogru+Apr 15 2003, 07:38 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (voogru @ Apr 15 2003, 07:38 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> This is wierd, The count is always updated. What was the limit set to?

    It could only happen if the command chair was still around. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    The limit was set for 3 and I was in the last command chair and it wouldn't let me build a new one .... and I had 250+ resources. I could build TFs and other things. Just not another CC and I know all of the others were destroyed by fades and Onos, then they destroyed my final one.

    Well, it's possible that one of the other ones were destroyed by OCs.
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    The siege plugin has been updated, fixed bugs where you couldnt do some commands when using the siege. Also fixed a bug that had 1/10000 chance of happening where the siege wouldnt go back to thinking normally. (possible crash fix too).

    I see the buildlimit bug and im gonna look into fixing it now.
  • PRIMERPRIMER Join Date: 2003-03-17 Member: 14634Members
    See voogru's work. This includes the new siege gun.
    <a href='http://forums.voogru.com/showthread.php?threadid=2079' target='_blank'>http://forums.voogru.com/showthread.php?threadid=2079</a>
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    I updated the limiting plugin, Should work perfect now.
  • HoundDawgHoundDawg Join Date: 2002-11-01 Member: 3362Members
    I think there's still a few issues with Manual Siege. When I removed it from metamod's plugins.ini and changed the map, Metamod unloaded other plugins fine but reported this error with the manual siege plugin:
    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->7:37:41 og L 04/16/2003 - 17:39:47: [META] ERROR: dll: Failed detach plugin 'Manual Siege': Error from Meta_Detach(): 0
    17:37:41 og L 04/16/2003 - 17:39:47: [META] ERROR: dll: Failed to detach plugin 'Manual Siege';
    1<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
    Then, it crashed HLDS. <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
  • BioHazardBioHazard Join Date: 2002-11-07 Member: 7495Members
    edited April 2003
    do meta list and it shows the server has to be paused to add or remove it.
    or restart the server.
  • PetitMortePetitMorte Join Date: 2002-11-06 Member: 7232Members
    I really enjoy the manual sieges! They work great, and we had some fantastic fun with em last night.

    One minor problem though, they don't say who's doing the sieging.

    all we get is

    <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <span style='color:orange'> AlienName </span>

    and not

    <span style='color:blue'>MarineName </span> <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <span style='color:orange'>AlienName </span>

    Otherwise, they're great!!!
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    edited April 2003
    <!--QuoteBegin--PetitMorte+Apr 17 2003, 07:36 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (PetitMorte @ Apr 17 2003, 07:36 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I really enjoy the manual sieges! They work great, and we had some fantastic fun with em last night.

    One minor problem though, they don't say who's doing the sieging.

    all we get is 

    <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <span style='color:orange'> AlienName </span>

    and not

    <span style='color:blue'>MarineName </span>  <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo-->  <span style='color:orange'>AlienName </span>

    Otherwise, they're great!!! <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Are the sieges being used? if there not being used, they work as normal.


    However, Im got some new damage code that I will be putting on, should work a bit better.
  • NeroNero Join Date: 2002-12-20 Member: 11236Members
    It's saving me to have lot of crashs with overflow of mines and sentrys, tks voogru.
    Ah, could you put a Turret Factory limit? few days ago a guy just drop over 30-40 TFS over power silo in ns_nothing and crashed my server grrr.... <!--emo&:(--><img src='http://www.unknownworlds.com/forums/html/emoticons/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif'><!--endemo-->
  • PetitMortePetitMorte Join Date: 2002-11-06 Member: 7232Members
    <!--QuoteBegin--voogru+Apr 17 2003, 04:19 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (voogru @ Apr 17 2003, 04:19 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Are the sieges being used? if there not being used, they work as normal.
    <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Yeah, every time someone had the seige under manual control and nuked some aliens all we got was the <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <span style='color:orange'>Alien </span> thing. When the seiges were doing their normal thing that's what they got too..

    Fantastic plugin tho! It's really fun.

    I did in fact see:

    Alien: What the heck is this green dot thing???
    -=BWOMEH=-
    <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <span style='color:orange'>Alien </span>
    Marines: lol hehehehe
  • eRSkillzillaeRSkillzilla Join Date: 2003-02-18 Member: 13715Members
    The link doesn't work for me. It says cannot find server D: Any help? Mabye another link? <3
  • voogruvoogru Naturally Modified (ex. NS programmer) Join Date: 2002-10-31 Member: 1827Members, Retired Developer, NS1 Playtester, Contributor, Constellation
    that site is down, I will have new links up shortly.


    I have a new compile of the siege that should fix the unloading problems with metamod, and also fix the <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <span style='color:orange'> Alien</span> thing.


    Tho, thats really NOT supposed to happen, if you are running C-D, try temporarily removing it and see if it does it without C-D (I have problems with C-D on my own server where the user messages dont work properly, the user messages are hooked in this plugin simply for that <span style='color:blue'>Marine </span><!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <span style='color:orange'> Alien</span> thing to work, the new code I have for siege doesnt need it and it should work perfect.

    Also, to those having the problem with the <!--emo&::siege::--><img src='http://www.unknownworlds.com/forums/html/emoticons/siege.gif' border='0' style='vertical-align:middle' alt='siege.gif'><!--endemo--> <span style='color:orange'> Alien</span> thing, please list the plugins you are running.
  • That_Annoying_KidThat_Annoying_Kid Sire of Titles Join Date: 2003-03-01 Member: 14175Members, Constellation
    metamod is up and running for me, and manuall seige is good stuff
Sign In or Register to comment.