[RELEASE] AntiBaseRape v1.0 Admin Script

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SHA-DK

    #1

    [RELEASE] AntiBaseRape v1.0 Admin Script

    AntiBaseRape v1.1 Admin Script

    Module: AntiBaseRape.py
    Author: SHAnders

    Version 1.1

    Description:
    Server side only admin script

    This script will punish players who kill enemy within the area of a safe base (control point that cant be captured)

    The punishment is the following:
    • The victims death score will be lowered by 1
    • The attackers kill score will will be lowered by 1
    • The attackers overall score will be lowered by 2 + number of warnings

    If number of warnings > 3 then
    • The attackers TKs score will be increased by 1
    • If attacker is on foot, he/she's health will be lowered to 0
    • If attacker is in a vehicle, its health will be lowered to 1


    1 warning will be removed from attackers history every 2 minutes

    The radius for a safe base is set to 40 (standard controlpoint capture area is 10)


    Requirements:
    None.

    Installation as Admin script:
    1: Save this script as 'AntiBaseRape.py' in your <bf2>/admin/standard_admin directory.
    2: Add the lines 'import AntiBaseRape' and 'AntiBaseRape.init()' to the file '<bf2>/admin/standard_admin/__init__.py'.

    TODO:
    Since not all maps are alike, the requirements for base rape protiction should be able to be altered individualy for each control point.
  • Omnix

    #2
    That's a great idea :)

    I recommend you add it to this page: http://bf2.fun-o-matic.org/index.php/Scripts

    Comment

    • Tres

      #3
      Originally posted by SHA-DK
      AntiBaseRape v1.0 Admin Script
      Pretty interesting, seems like you've done some pretty fancy stuff, but has anyone seriously found base raping in BF2 to be a huge issue? I know BFV and BF42 had some issues with this, but even on the pubs I've played on, I only very rarely see base raping in BF2.

      Comment

      • imported_Charlie

        #4
        Great, so doesn't that mean that if a Spec-Op blows up Arty or UAV, and comes under attack at one point, and he kills the enemy, he will be punished? I know this accounts for only some maps, but still..

        Comment

        • SHA-DK

          #5
          I spend a few hours last night on what used to be a very good allround server when a 'few' clan members (who spend way too much time playing this game, compared to others) all desided to join the defending team.
          This was done on one of those maps where well you got your defender who start hold all, and you got your attacker who only have 1 uncaptable base.
          Since the tools/vehicles on those uncaptable bases usual are plenty it's no problem ... unless you deal with a well coordinated, and well skilled bunch of people who are looking to get their kill ratio a bit higher no matter how un'fun the games gets for the opposing team, what the server description said about spawn raping and no matter how few points the rest of the casual gamers could earn if there was an actual game with bases to capture and teammembers to support

          2 attack choppers, aircrafts + a contiunuarly rain of artilery gets some what anoying when you average life span drops below to 5 seconds

          However this is not my first experience with this, some maps are purly badly made with no alternative spawn/route for the attacker giving a well coordinated group of people a very good chance for these 'rush them, and keep them down' games. If not allready on the slaughtered team I've tried joining them only to learn what little that will do except bust the rapers kill rate, most of the time it usual end with a few kicks or me leaving the game beeing very anoyed.

          The main idear with this script is not to get people kicked, but to remove the fun element in spawn raping.

          No points and instant death is no fun !

          the script could easily be updated with a timer and a 3 times warning in the same way the TKs system implemment. Perhaps it will be in a later version.

          I recommend you add it to this page: http://bf2.fun-o-matic.org/index.php/Scripts
          Been there and done that

          But yes I know the SpecOps situation might be a problem ... get in fast and leave just as quickly.
          The radius of the no kill zone is no more than 40 from the flag, most maps will be ok with this ! (The normal capture range is about 10)

          Comment

          • SHA-DK

            #6
            Updated to v.1.1

            # Changes:
            # v1.0 -> 1.1
            # Implemted a baseRapeWarning attribute on players to count safe base kills
            # Implemted allowed amount of safe base kills (3)
            # up to this amount player only loses kill points + 1 score pr baseRapeWarning
            # over this amount player is allso killed
            # Implemtes a timer for removing 1 baseRapeWarning every 2 minutes

            Comment

            Working...