##########################################
# Module:	head_shot_CONF.py
# Author:	Dean Peternelj, dean.peternelj@gmail.com
# Date:	2008/25/03
# Version:	1.35 Beta

'''
Script is written by permission of "Scouty", a member of Wookie Clan (http://www.wookie-clan.co.uk/),
who wrote the original script.
Thanks also to e-Gor, a member of Project Reality team (http://www.realitymod.com/) and other guys
from "battlefield 2 editor" forums (http://www.bfeditor.org/forums/),
BF2 Technical Information Wiki (http://bf2.fun-o-matic.org/index.php/Main_Page ),
and to Alan Gauld for his python tutorial (http://www.freenetpages.co.uk/hp/alan.gauld/).

This script is made for Battlefield 2 game and it's intention is to inform player,
if he hit the head of the killed enemy character. When head-shot happens,
message is displayed.
'''
##########################################
#CHANGE LOG
#1.35 Beta - 2008/25/03
#-head-shot info for M95 weapon
#-hs message will now only appear when both victim and attacker are on foot

#1.30 Beta - 2008/25/01
#-fixed head-shot messages on some stationary weapons

#1.25 Beta - 2008/23/01
#-fixed head-shot messages

#1.2 Beta - 2008/22/1
#added option "one bullet for head-shot"
#fixed "head-shot message on artillery kill" bug

#1.1 Beta - 2008/21/01
#added option "can be revived after head-shot"
#bullet damage is set back to original
#server performance improved

#1.0 Beta - 2008/17/01
#first version of script released

##########################################


#CUSTOM CONFIGURATION FOR SERVER ADMINS:
"""
================================================
c_msgStyle:
Defines the headshot message style, where "Player_A [HEADSHOT] Player_B"
will be displayed:

0 - centered to screen
1 - full left
(default 0)
================================================
c_canBeRevived:
Defines if player, who was head-shoted, can be revived by medic:

0 - player can not be revived
1 - player can be revived
(default 1)

Note:
If 0 is selected, c_oneBulletForHS automatically becomes 1
================================================
c_oneBulletForHS:
Defines how many bullets is needed for head-shot:

0 - one bullet if sniper rifle/AK..., two bullets if M16/Pistol...; like vanilla Bf2
1 - one bullet causes head-shot, for all weapons!
(default 0)
================================================
"""
#\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\
#MODIFY VARIABLES HERE:
c_msgStyle=1	 
c_canBeRevived=1 
c_oneBulletForHS=0
#\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\