Welcome to Tactical Gamer

+ Reply to Thread
Results 1 to 15 of 15
Discussion: Natural Selection / Natural Selection - General Discussion - Odd man (marine) plugin. - Today i decided i finally wanted to get around to coding the odd-man marine plugin,
  1. #1

    blackjackel's Avatar

    Join Date
    Oct 2004
    Posts
    120

    Odd man (marine) plugin.

    Today i decided i finally wanted to get around to coding the odd-man marine plugin, but as many programmers (at least alot of the ones i know) say: "why do it when its already been done?"

    So naturally i went out looking to see if it has already been done to save me the trouble, and found out that it indeed has! (been done that is)

    Didnt take very long to find either:

    http://www.modns.org/forums/index.php?showtopic=22


    This plugin should force the odd man into the (marine/alien) team. It is a metamod plugin, which is very good since metamod plugins would take less resources (particularly CPU stress) when running (and i cant make metamod plugins).

    Check it out wyz, and let me know whats up, i'd love to see this on the server.

  2.  
  3. #2

    Wyzcrak's Avatar

    Join Date
    May 2003
    Location
    Memphis, TN
    Posts
    14,267

    Re: Odd man (marine) plugin.

    We tried this plugin in February.

    Quote Originally Posted by Wyzcrak
    The "mp_limitteams 1" server configuration says that no one can join a team if it puts that team ahead by more than one player. This has been in effect on our server for some time now. This is nothing new.

    "OddMan" is a plugin that forces players joining a game with even teams into the marine team. mp_limitteams + OddMan means players joining a team will always keep things the way we want them.
    It was quickly disabled while we, as a community, and still figuring out 3.0 balance, debated the merit of marines having the extra player. Clearly, we decided that marines having the extra player was best.

    I wonder why I never re-enabled this plugin. I think it prevented the random teams solution from functioning properly, but I'm not sure.

    I'll evaluate this plugin in the near future and see how and where it fits the server today.

    Thank you for the effort, bj. Nice find.
    Steam Community? Add me. | Join #tacticalgamer | Search Results Legend | New Posts Forum Filter | Postbox Toggle | Live Thread Review | One Line Results | Free Remote, Encrypted Backup

    Darkilla: In short, NS is pretty much really fast chess. With guns. Apophis: I haven't seen anyone say that SM's are better than non-SMs. Nordbomber: This is THE first server I've seen where either side can comeback from out of seemingly nowhere with the right teamwork. en4rcment: I have NEVER experienced the type of gameplay that I have found here. Nightly I am amazed at the personalities and gaming talent. Zephyr: Apophis is clearly a highly sophisticated self-aware AI construct that runs on a highly modified toaster oven in Wyzcrak's basement.

  4.  
  5. #3

    Wyzcrak's Avatar

    Join Date
    May 2003
    Location
    Memphis, TN
    Posts
    14,267

    Re: Odd man (marine) plugin.

    I have installed this plugin on the server.

    A player joining a team when teams are even will be required to join the marines.

    It's enabled on CO, too.. not because I care about CO, but because I don't.. not even enough to make special accomodations regarding this plugin.

    The use of this plugin is contingent on it not causing problems in any way.

    Please provide feedback (especially from you folks using amx_random, which I think might be harmed by this).
    Steam Community? Add me. | Join #tacticalgamer | Search Results Legend | New Posts Forum Filter | Postbox Toggle | Live Thread Review | One Line Results | Free Remote, Encrypted Backup

    Darkilla: In short, NS is pretty much really fast chess. With guns. Apophis: I haven't seen anyone say that SM's are better than non-SMs. Nordbomber: This is THE first server I've seen where either side can comeback from out of seemingly nowhere with the right teamwork. en4rcment: I have NEVER experienced the type of gameplay that I have found here. Nightly I am amazed at the personalities and gaming talent. Zephyr: Apophis is clearly a highly sophisticated self-aware AI construct that runs on a highly modified toaster oven in Wyzcrak's basement.

  6.  

     
  7. #4

    _Ender_'s Avatar

    Join Date
    May 2003
    Location
    I am lost, if you know where I am then please feel free to tell me.
    Age
    32
    Posts
    2,053

    Re: Odd man (marine) plugin.

    I dont like this plugin. I want the freedom to choose my own team in the beginning of the game.

    So thumbs down for me

  8.  
  9. #5

    HairyNevus's Avatar

    Join Date
    Mar 2004
    Location
    Minneapolis, MN
    Age
    23
    Posts
    869

    Re: Odd man (marine) plugin.

    I like it, but maybe instead of forcing someone who went for alien to go marine, simply block it? There was one case when marines had the extra so I went alien then a marine left so...I had to go marine . Then, he came back and went alien.

  10.  
  11. #6


    Join Date
    Apr 2004
    Posts
    63

    Re: Odd man (marine) plugin.

    Yeah, not a big fan myself. Hairy's suggestion is good, but I second Ender's complaint.

  12.  

     
  13. #7

    blackjackel's Avatar

    Join Date
    Oct 2004
    Posts
    120

    Re: Odd man (marine) plugin.

    Well i think it goes without saying that i am a fan of the plugin, but i also think hairyNevus's comment was great...

    MAybe ill take a look at the sourcecode and give it a try at reprogramming it to work the way hairynevus suggests... that is if you approve wyz...

    (not gona waste my time doing something not approved on, so wont even start till you give the OK)
    Prejudice sucks:
    Do not judge me by my past, for I have changed.

    DarkHunter == Blackjackel.

  14.  
  15. #8

    Wyzcrak's Avatar

    Join Date
    May 2003
    Location
    Memphis, TN
    Posts
    14,267

    Re: Odd man (marine) plugin.

    Let me give it a shot first. This is a very easy plugin for me to write in Small.
    Steam Community? Add me. | Join #tacticalgamer | Search Results Legend | New Posts Forum Filter | Postbox Toggle | Live Thread Review | One Line Results | Free Remote, Encrypted Backup

    Darkilla: In short, NS is pretty much really fast chess. With guns. Apophis: I haven't seen anyone say that SM's are better than non-SMs. Nordbomber: This is THE first server I've seen where either side can comeback from out of seemingly nowhere with the right teamwork. en4rcment: I have NEVER experienced the type of gameplay that I have found here. Nightly I am amazed at the personalities and gaming talent. Zephyr: Apophis is clearly a highly sophisticated self-aware AI construct that runs on a highly modified toaster oven in Wyzcrak's basement.

  16.  
  17. #9


    Join Date
    Jul 2004
    Posts
    905

    Re: Odd man (marine) plugin.

    The way the current plugin seems to work is as follows:

    Let's call M the number of marine players and A the number of alien players.
    - If a player chooses to join Aliens, and M <= A, the plugin intervenes and the player is automatically added to the marine team.
    Else, if M > A, the plugin passes this through to NS and it handles the join normally.
    - If a player chooses to join Marines, the plugin passes this through to NS and it handles the join normally.

    What this means is that when a player chooses to join Marines and M > A, when NS handles the join normally it blocks the join and informs the player that the selected team is full, etc, etc. Wouldn't it be better for this to also be the behaviour of the balancing plugin when the player chooses Aliens and A >= M?

    I think it would be better this way because:
    - The current method makes it difficult to choose the team you want to play on. It is hard to choose to play on the alien team even if the necessary number of players do want to play rines. Before the match starts, you have to hold up the scoreboard and time your join appropriately. Either that or you repeatedly hit F2, F4, F2, F4, etc.
    - Informing people of the fact that marines get the extra before they join the game will make them aware of the steps that are taken on this server to improve gameplay. Also, if extra rines are needed midgame, players may already be aware of it when they are asked to switch.
    - For someone unaware of the plugin, it's confusing that joining the alien team sometimes causes you to join marines. One wonders if there's a bug in the program, server, map, or whatnot.

    Thoughts?

  18.  

     
  19. #10
    Zek
    Zek is offline

    Zek's Avatar

    Join Date
    Jun 2003
    Age
    25
    Posts
    597

    Re: Odd man (marine) plugin.

    I agree, the way it works now is a real nuisance. It should prevent people from giving aliens the extra man but it should NOT force them to marines.

  20.  
  21. #11

    TheFeniX's Avatar

    Join Date
    Jan 2004
    Location
    Houston, TX
    Age
    29
    Posts
    4,799

    Re: Odd man (marine) plugin.

    The only problem I've seen with this plug-in is that people F4 a lot before a game because they don't want to go marine during a combat game... go figure.

  22.  
  23. #12

    jackel's Avatar

    Join Date
    Jun 2003
    Posts
    821

    Re: Odd man (marine) plugin.

    yeah, its a pain..
    i would prefer to have people ask other people to switch.. most people listen anyways. i cant remember when i last saw someone say no.

  24.  

     
  25. #13

    Wyzcrak's Avatar

    Join Date
    May 2003
    Location
    Memphis, TN
    Posts
    14,267

    Re: Odd man (marine) plugin.

    I've modded the server to enable this 15 seconds after a round begins and disable it when a round ends.

    It doesn't help the problem Zek mentioned, but it does help the problem Fenix mentioned.

    Please continue to provide feedback.
    Steam Community? Add me. | Join #tacticalgamer | Search Results Legend | New Posts Forum Filter | Postbox Toggle | Live Thread Review | One Line Results | Free Remote, Encrypted Backup

    Darkilla: In short, NS is pretty much really fast chess. With guns. Apophis: I haven't seen anyone say that SM's are better than non-SMs. Nordbomber: This is THE first server I've seen where either side can comeback from out of seemingly nowhere with the right teamwork. en4rcment: I have NEVER experienced the type of gameplay that I have found here. Nightly I am amazed at the personalities and gaming talent. Zephyr: Apophis is clearly a highly sophisticated self-aware AI construct that runs on a highly modified toaster oven in Wyzcrak's basement.

  26.  
  27. #14


    Join Date
    Dec 2004
    Location
    Minnesota
    Age
    28
    Posts
    247

    Re: Odd man (marine) plugin.

    Quote Originally Posted by Wyzcrak
    I've modded the server to enable this 15 seconds after a round begins and disable it when a round ends.

    It doesn't help the problem Zek mentioned, but it does help the problem Fenix mentioned.

    Please continue to provide feedback.
    Nice changes to this plug-in, I can live with it now. I still think we can even the teams with out the plug-in.

  28.  
  29. #15

    Wyzcrak's Avatar

    Join Date
    May 2003
    Location
    Memphis, TN
    Posts
    14,267

    Re: Odd man (marine) plugin.

    We can.

    The idea was to make this a convenience.

    As it stands modded, the only problem I have with this plugin is that which Zek mentioned: it's damn confusing to someone who goes to join aliens when marines get the player. Confusion is irritating to a player, much less automated revocation of personal choice.

    But, if the plugin is making a newly-joining player go marines, they're going to have to go marines eventually anyway, so I'm not too worried about that as long as the public outcry doesn't grow too loud.

    As is stands now, the plugin will serve very useful in preventing at all the seemingly countless scenario of someone new joining the server, going aliens, and then getting blasted by countless people to go marines.

    I think I might put a little message on someone's screen every time they join a team that tells them marines get the extra player. Not only does it educate players new to the server as they're joining, but it would give them explanation in those times that they choose aliens and find themselves a marine.
    Steam Community? Add me. | Join #tacticalgamer | Search Results Legend | New Posts Forum Filter | Postbox Toggle | Live Thread Review | One Line Results | Free Remote, Encrypted Backup

    Darkilla: In short, NS is pretty much really fast chess. With guns. Apophis: I haven't seen anyone say that SM's are better than non-SMs. Nordbomber: This is THE first server I've seen where either side can comeback from out of seemingly nowhere with the right teamwork. en4rcment: I have NEVER experienced the type of gameplay that I have found here. Nightly I am amazed at the personalities and gaming talent. Zephyr: Apophis is clearly a highly sophisticated self-aware AI construct that runs on a highly modified toaster oven in Wyzcrak's basement.

  30.  

     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


  
 

Back to top