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:
If number of warnings > 3 then
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.
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.

Comment