BF2Statistics constants-py

Eine Aktualisiert constants.py

Das Herzstück eines jeden BF2-Servers, der mit einer eigenen Statistik ausgerüstet ist, die constants.py

Zuerst eine Auflistung aller Veränderungen.

constants.py 2021-03-29
Neue Mods eingefügt.
- AIX2 - NWM
- AIX 2.1
- BomSF

constants.py 2011-09-19
Neue Neue Maps fürden Mod NEM2 eingefügt.

constants.py 2011-03-03
Neue Fahrzeuge für AIX 2.0 TNG 2.0 - Boosterpack eingefügt.

constants.py 2011-03-02
Neue Maps, Waffen, Fahrzeuge und Kits für AIX 2.0 TNG 2.0 - Boosterpack eingefügt.

constants.py 2010-05-07
Nations@War 6.0 hinzugefügt.
Fehler in den AIX TNG Maps behoben

constants.py 2010-03-10
Neue Waffen, Fahrzeuge und Kits für AIX 2.0 TNG und AIX 2.0 TNG 2.0 eingefügt.

constants.py 2009-12-04
Neue Maps von AIX 2.0 TNG und AIX 2.0 TNG 2.0 eingefügt.

constants.py 2009-11-05
Neue Waffen und Fahrzeuge für Hard Justice hinzugefügt.

constants.py 2009-11-02
Hard Justice hinzugefügt.

constants.py 2009-06-24
Umlaute in den Kommentaren ersetzt

constants.py 2009-04-30
Doppelte Maps wurden auskommentiert, bei bedarf ändern!!

constants.py 2009-01-12
Zwei Einträge geändert, laut Thinners Post
"gbrif_hk21" wurde zu "eurif_hk21"
"usrif_g36c" : WEAPON_TYPE_ASSAULT wurde zu "usrif_g36c" : WEAPON_TYPE_CARBINE

constants.py 2008-12-23
Neue Kits eingefügt.
   # Pickup Kits
   "engineer_tavor-inf"        : KIT_TYPE_ENGINEER,
   "sniper_m109-inf"           : KIT_TYPE_SNIPER,
   "specops_sg552-inf"         : KIT_TYPE_SPECOPS,

constants.py 2008-12-22
Der erste Eintrag mit der Original Datei aus dem Packet BF2Statistics Update v1.4.2
Dubletten entfernt.
Die Armee "UN" von AIX eingeführt.
Special maps "highway_tampa" eingefügt.
Der Inhalt von AIX 1.0 und AIX 2.0 wurde mit und hauptsächlich durch Thinner erstellt.
Für AIX 1.0 neuen Inhalt bei vehicleTypeMap eingefügt.
Für AIX 1.0 neuen Inhalt bei weaponTypeMap eingefügt.
Für AIX 1.0 neuen Inhalt bei kitTypeMap eingefügt.
Für AIX 2.0 neuen Inhalt bei vehicleTypeMap eingefügt.
Für AIX 2.0 neuen Inhalt bei weaponTypeMap eingefügt.
Für AIX 2.0 neuen Inhalt bei kitTypeMap eingefügt.
Mapliste für AIX 1.0 und den Mappacks von ITTH 1-3 eingefügt.
Mapliste für AIX 2.0 und dem Mappack von ITTH eingefügt.
##########################################################################################
#
# constants.py 2021-03-29
# von https://www.sgiersch.de/bf2statistics-constants-py/
#
# Erstellt von
# ++ Thinner - http://www.bf2statistics.com/user.php?id.2900 ++
# ++ Leon_tbk - http://www.bf2statistics.com/user.php?id.4870 ++
#
# Informationen ueber die Veraenderungen gibts hier:
# https://www.sgiersch.de/bf2statistics-constants-py/
#
##########################################################################################
# Basiert auf:
# stats keys
# aus der Original Datei von dem Packet BF2Statistics Update v1.4.2
##########################################################################################


import host
import string
from bf2 import g_debug
from bf2.BF2StatisticsConfig import dump_enable, dump_log_path, dump_interval


VEHICLE_TYPE_ARMOR          = 0
VEHICLE_TYPE_AVIATOR        = 1
VEHICLE_TYPE_AIRDEFENSE     = 2
VEHICLE_TYPE_HELICOPTER     = 3
VEHICLE_TYPE_TRANSPORT      = 4
VEHICLE_TYPE_ARTILLERY      = 5
VEHICLE_TYPE_GRNDDEFENSE    = 6
VEHICLE_TYPE_PARACHUTE      = 7
VEHICLE_TYPE_SOLDIER        = 8
VEHICLE_TYPE_NIGHTVISION    = 9
VEHICLE_TYPE_GASMASK        = 10
NUM_VEHICLE_TYPES           = 11
VEHICLE_TYPE_UNKNOWN        = NUM_VEHICLE_TYPES


WEAPON_TYPE_ASSAULT         = 0
WEAPON_TYPE_ASSAULTGRN      = 1
WEAPON_TYPE_CARBINE         = 2
WEAPON_TYPE_LMG             = 3
WEAPON_TYPE_SNIPER          = 4
WEAPON_TYPE_PISTOL          = 5
WEAPON_TYPE_ATAA            = 6
WEAPON_TYPE_SMG             = 7
WEAPON_TYPE_SHOTGUN         = 8
WEAPON_TYPE_KNIFE           = 10
WEAPON_TYPE_C4              = 11
WEAPON_TYPE_CLAYMORE        = 12
WEAPON_TYPE_HANDGRENADE     = 13
WEAPON_TYPE_SHOCKPAD        = 14
WEAPON_TYPE_ATMINE          = 15
WEAPON_TYPE_TARGETING       = 16
WEAPON_TYPE_GRAPPLINGHOOK   = 17
WEAPON_TYPE_ZIPLINE         = 18
WEAPON_TYPE_TACTICAL        = 19
# Hard Justice
#WEAPON_TYPE_APMINE         = 20
#WEAPON_TYPE_AIRDEFENSE     = 21
#WEAPON_TYPE_POISIONGAS     = 22
NUM_WEAPON_TYPES            = 20
WEAPON_TYPE_UNKNOWN         = NUM_WEAPON_TYPES


KIT_TYPE_AT             = 0
KIT_TYPE_ASSAULT        = 1
KIT_TYPE_ENGINEER       = 2
KIT_TYPE_MEDIC          = 3
KIT_TYPE_SPECOPS        = 4
KIT_TYPE_SUPPORT        = 5
KIT_TYPE_SNIPER         = 6
NUM_KIT_TYPES           = 7
KIT_TYPE_UNKNOWN        = NUM_KIT_TYPES


# Battlefield2
ARMY_USA            = 0
ARMY_MEC            = 1
ARMY_CHINESE        = 2
# xpack1 - SpecialForces
ARMY_SEALS          = 3
ARMY_SAS            = 4
ARMY_SPETZNAS       = 5
ARMY_MECSF          = 6
ARMY_REBELS         = 7
ARMY_INSURGENTS     = 8
# booster pack 1 - Euroforces
ARMY_EURO           = 9
# POE
ARMY_GER            = 10
ARMY_UKR            = 11
# AIX
ARMY_UN             = 12
# Hard Justice 1.3
ARMY_CANADIAN       = 13
NUM_ARMIES          = 14
ARMY_UNKNOWN        = NUM_ARMIES


vehicleTypeMap = {
# Battlefield2
    "usapc_lav25"                   : VEHICLE_TYPE_ARMOR,
    "apc_btr90"                     : VEHICLE_TYPE_ARMOR,
    "apc_wz551"                     : VEHICLE_TYPE_ARMOR,
    "ustnk_m1a2"                    : VEHICLE_TYPE_ARMOR,
    "rutnk_t90"                     : VEHICLE_TYPE_ARMOR,
    "tnk_type98"                    : VEHICLE_TYPE_ARMOR,
    "usair_f18"                     : VEHICLE_TYPE_AVIATOR,
    "ruair_mig29"                   : VEHICLE_TYPE_AVIATOR,
    "air_j10"                       : VEHICLE_TYPE_AVIATOR,
    "usair_f15"                     : VEHICLE_TYPE_AVIATOR,
    "ruair_su34"                    : VEHICLE_TYPE_AVIATOR,
    "air_su30mkk"                   : VEHICLE_TYPE_AVIATOR,
    "air_f35b"                      : VEHICLE_TYPE_AVIATOR,
    "usaav_m6"                      : VEHICLE_TYPE_AIRDEFENSE,
    "aav_tunguska"                  : VEHICLE_TYPE_AIRDEFENSE,
    "aav_type95"                    : VEHICLE_TYPE_AIRDEFENSE,
    "usaas_stinger"                 : VEHICLE_TYPE_AIRDEFENSE,
    "igla_djigit"                   : VEHICLE_TYPE_AIRDEFENSE,
    "wasp_defence_front"            : VEHICLE_TYPE_AIRDEFENSE,
    "wasp_defence_back"             : VEHICLE_TYPE_AIRDEFENSE,
    "usthe_uh60"                    : VEHICLE_TYPE_HELICOPTER,
    "the_mi17"                      : VEHICLE_TYPE_HELICOPTER,
    "chthe_z8"                      : VEHICLE_TYPE_HELICOPTER,
    "ahe_ah1z"                      : VEHICLE_TYPE_HELICOPTER,
    "ahe_havoc"                     : VEHICLE_TYPE_HELICOPTER,
    "ahe_z10"                       : VEHICLE_TYPE_HELICOPTER,
    "jeep_faav"                     : VEHICLE_TYPE_TRANSPORT,
    "usjep_hmmwv"                   : VEHICLE_TYPE_TRANSPORT,
    "jep_paratrooper"               : VEHICLE_TYPE_TRANSPORT,
    "jep_mec_paratrooper"           : VEHICLE_TYPE_TRANSPORT,
    "jep_vodnik"                    : VEHICLE_TYPE_TRANSPORT,
    "jep_nanjing"                   : VEHICLE_TYPE_TRANSPORT,
    "uslcr_lcac"                    : VEHICLE_TYPE_TRANSPORT,
    "boat_rib"                      : VEHICLE_TYPE_TRANSPORT,
    "usart_lw155"                   : VEHICLE_TYPE_ARTILLERY,
    "ars_d30"                       : VEHICLE_TYPE_ARTILLERY,
    "ats_tow"                       : VEHICLE_TYPE_GRNDDEFENSE,
    "ats_hj8"                       : VEHICLE_TYPE_GRNDDEFENSE,
    "hmg_m2hb"                      : VEHICLE_TYPE_GRNDDEFENSE,
    "chhmg_kord"                    : VEHICLE_TYPE_GRNDDEFENSE,
    "mec_bipod"                     : VEHICLE_TYPE_GRNDDEFENSE,
    "us_bipod"                      : VEHICLE_TYPE_GRNDDEFENSE,
    "ch_bipod"                      : VEHICLE_TYPE_GRNDDEFENSE,
    "us_soldier"                    : VEHICLE_TYPE_SOLDIER,
    "us_heavy_soldier"              : VEHICLE_TYPE_SOLDIER,
    "us_light_soldier"              : VEHICLE_TYPE_SOLDIER,
    "mec_soldier"                   : VEHICLE_TYPE_SOLDIER,
    "mec_light_soldier"             : VEHICLE_TYPE_SOLDIER,
    "mec_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "ch_soldier"                    : VEHICLE_TYPE_SOLDIER,
    "ch_light_soldier"              : VEHICLE_TYPE_SOLDIER,
    "ch_heavy_soldier"              : VEHICLE_TYPE_SOLDIER,
    "parachute"                     : VEHICLE_TYPE_PARACHUTE,
# xpack1 - SpecialForces
    "seal_soldier"                  : VEHICLE_TYPE_SOLDIER,
    "seal_heavy_soldier"            : VEHICLE_TYPE_SOLDIER,
    "sas_soldier"                   : VEHICLE_TYPE_SOLDIER,
    "sas_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "spetz_soldier"                 : VEHICLE_TYPE_SOLDIER,
    "spetz_heavy_soldier"           : VEHICLE_TYPE_SOLDIER,
    "mecsf_soldier"                 : VEHICLE_TYPE_SOLDIER,
    "mecsf_heavy_soldier"           : VEHICLE_TYPE_SOLDIER,
    "chinsurgent_soldier"           : VEHICLE_TYPE_SOLDIER,
    "chinsurgent_heavy_soldier"     : VEHICLE_TYPE_SOLDIER,
    "meinsurgent_soldier"           : VEHICLE_TYPE_SOLDIER,
    "meinsurgent_heavy_soldier"     : VEHICLE_TYPE_SOLDIER,
    "xpak_bmp3"                     : VEHICLE_TYPE_ARMOR,
    "xpak_forklift"                 : VEHICLE_TYPE_TRANSPORT,
    "xpak_atv"                      : VEHICLE_TYPE_TRANSPORT,
    "xpak_civ1"                     : VEHICLE_TYPE_TRANSPORT,
    "xpak_civ2"                     : VEHICLE_TYPE_TRANSPORT,
    "xpak_jetski"                   : VEHICLE_TYPE_TRANSPORT,
    "xpak_ailraider"                : VEHICLE_TYPE_TRANSPORT,
    "xpak_apache"                   : VEHICLE_TYPE_HELICOPTER,
    "xpak_hind"                     : VEHICLE_TYPE_HELICOPTER,
    "xpak_hummertow"                : VEHICLE_TYPE_TRANSPORT,
# booster pack 1 - Euroforces
    "xpak2_vbl"                     : VEHICLE_TYPE_TRANSPORT,
    "xpak2_tnkl2a6"                 : VEHICLE_TYPE_ARMOR,
    "xpak2_tnkc2"                   : VEHICLE_TYPE_ARMOR,
    "xpak2_tiger"                   : VEHICLE_TYPE_HELICOPTER,
    "xpak2_lynx"                    : VEHICLE_TYPE_HELICOPTER,
    "xpak2_eurofighter"             : VEHICLE_TYPE_AVIATOR,
    "xpak2_harrier"                 : VEHICLE_TYPE_AVIATOR,
    "eu_soldier"                    : VEHICLE_TYPE_SOLDIER,
    "eu_heavy_soldier"              : VEHICLE_TYPE_SOLDIER,
# booster pack 2 - ArmoredFury
    "air_a10"                       : VEHICLE_TYPE_AVIATOR,
    "air_su39"                      : VEHICLE_TYPE_AVIATOR,
    "xpak2_fantan"                  : VEHICLE_TYPE_AVIATOR,
    "che_wz11"                      : VEHICLE_TYPE_HELICOPTER,
    "she_ec635"                     : VEHICLE_TYPE_HELICOPTER,
    "she_littlebird"                : VEHICLE_TYPE_HELICOPTER,
    "xpak2_musclecar"               : VEHICLE_TYPE_TRANSPORT,
    "xpak2_semi"                    : VEHICLE_TYPE_TRANSPORT,
# POE2
    "gerair_ef2000"                 : VEHICLE_TYPE_AVIATOR,
    "gerair_tornado"                : VEHICLE_TYPE_AVIATOR,
    "gerhe_eurotigerarh"            : VEHICLE_TYPE_HELICOPTER,
    "gerhe_nh90"                    : VEHICLE_TYPE_TRANSPORT,
    "ufo"                           : VEHICLE_TYPE_HELICOPTER,
    "ukrair_mig25"                  : VEHICLE_TYPE_AVIATOR,
    "ukrair_su24"                   : VEHICLE_TYPE_AVIATOR,
    "ukrair_su25"                   : VEHICLE_TYPE_AVIATOR,
    "ukrhe_mi24p"                   : VEHICLE_TYPE_HELICOPTER,
    "civsctr"                       : VEHICLE_TYPE_ARMOR,
    "geraav_gepard"                 : VEHICLE_TYPE_AIRDEFENSE,
    "gerapc_boxerGTK"               : VEHICLE_TYPE_TRANSPORT,
    "gerapc_marder1a5"              : VEHICLE_TYPE_ARMOR,
    "gerartil_pzh2000"              : VEHICLE_TYPE_ARTILLERY,
    "gerjeep_dingo"                 : VEHICLE_TYPE_TRANSPORT,
    "gerjeep_wolf"                  : VEHICLE_TYPE_TRANSPORT,
    "gerjeep_wolfsoft"              : VEHICLE_TYPE_TRANSPORT,
    "gertnk_leopard"                : VEHICLE_TYPE_ARMOR,
    "snowmobile"                    : VEHICLE_TYPE_TRANSPORT,
    "ukraav_mtlb_sa13_v2"           : VEHICLE_TYPE_ARMOR,
    "ukraav_shilka"                 : VEHICLE_TYPE_AIRDEFENSE,
    "ukrapc_bmp2"                   : VEHICLE_TYPE_TRANSPORT,
    "ukrapc_mtlb"                   : VEHICLE_TYPE_TRANSPORT,
    "ukrartil_m1974"                : VEHICLE_TYPE_ARTILLERY,
    "ukrartil_msta"                 : VEHICLE_TYPE_ARTILLERY,
    "ukrjeep_dozer"                 : VEHICLE_TYPE_TRANSPORT,
    "ukrjeep_uaz"                   : VEHICLE_TYPE_TRANSPORT,
    "ukrtnk_oplot"                  : VEHICLE_TYPE_ARMOR,
    "ukrtnk_t55"                    : VEHICLE_TYPE_ARMOR,
    "ger_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "ger_light_soldier"             : VEHICLE_TYPE_SOLDIER,
    "ukr_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "ukr_light_soldier"             : VEHICLE_TYPE_SOLDIER,
    "aa_zu23"                       : VEHICLE_TYPE_GRNDDEFENSE,
    "gerartil_fh70"                 : VEHICLE_TYPE_GRNDDEFENSE,
    "mg3_coax"                      : VEHICLE_TYPE_GRNDDEFENSE,
    "remote_kord"                   : VEHICLE_TYPE_GRNDDEFENSE,
    "remote_mg3"                    : VEHICLE_TYPE_GRNDDEFENSE,
#AIX 1.0
    "ahe_ah1x"                      : VEHICLE_TYPE_HELICOPTER,
    "ahe_ghost"                     : VEHICLE_TYPE_HELICOPTER,
    "ahe_roc"                       : VEHICLE_TYPE_HELICOPTER,
    "ahe_storm"                     : VEHICLE_TYPE_HELICOPTER,
    "ahe_v10"                       : VEHICLE_TYPE_HELICOPTER,
    "aix_ah64"                      : VEHICLE_TYPE_HELICOPTER,
    "aix_ah64gunship"               : VEHICLE_TYPE_HELICOPTER,
    "aix_ka50"                      : VEHICLE_TYPE_HELICOPTER,
    "aix_notar_littlebird"          : VEHICLE_TYPE_HELICOPTER,
    "aix_notar_littlebird_trans"    : VEHICLE_TYPE_HELICOPTER,
    "blizzard"                      : VEHICLE_TYPE_HELICOPTER,
    "chahe_a8"                      : VEHICLE_TYPE_HELICOPTER,
    "usahe_ah60"                    : VEHICLE_TYPE_HELICOPTER,
    "aix_a10"                       : VEHICLE_TYPE_AVIATOR,
    "aix_a10b"                      : VEHICLE_TYPE_AVIATOR,
    "aix_av8b"                      : VEHICLE_TYPE_AVIATOR,
    "aix_draken"                    : VEHICLE_TYPE_AVIATOR,
    "aix_f117a"                     : VEHICLE_TYPE_AVIATOR,
    "aix_f16"                       : VEHICLE_TYPE_AVIATOR,
    "aix_f16lg"                     : VEHICLE_TYPE_AVIATOR,
    "aix_f5tiger"                   : VEHICLE_TYPE_AVIATOR,
    "aix_gr7"                       : VEHICLE_TYPE_AVIATOR,
    "aix_mig19"                     : VEHICLE_TYPE_AVIATOR,
    "aix_mig21"                     : VEHICLE_TYPE_AVIATOR,
    "aix_mig23"                     : VEHICLE_TYPE_AVIATOR,
    "aix_mirage2k"                  : VEHICLE_TYPE_AVIATOR,
    "aix_mirage_iii"                : VEHICLE_TYPE_AVIATOR,
    "aix_su21"                      : VEHICLE_TYPE_AVIATOR,
    "albatros_diii"                 : VEHICLE_TYPE_AVIATOR,
    "fokker_dr1"                    : VEHICLE_TYPE_AVIATOR,
    "fokker_eiii"                   : VEHICLE_TYPE_AVIATOR,
    "mig21m"                        : VEHICLE_TYPE_AVIATOR,
    "spad_xiii"                     : VEHICLE_TYPE_AVIATOR,
    "aix_atv"                       : VEHICLE_TYPE_TRANSPORT,
    "asset_pco"                     : VEHICLE_TYPE_ARMOR,
    "bradley"                       : VEHICLE_TYPE_ARMOR,
    "maws"                          : VEHICLE_TYPE_ARMOR,
    "rms"                           : VEHICLE_TYPE_ARMOR,
    "usaas_stinger_no_exit"         : VEHICLE_TYPE_AIRDEFENSE,
    "ch_hmg"                        : VEHICLE_TYPE_GRNDDEFENSE,
    "mec_hmg"                       : VEHICLE_TYPE_GRNDDEFENSE,
    "us_hmg"                        : VEHICLE_TYPE_GRNDDEFENSE,
    "m224_mortar"                   : VEHICLE_TYPE_ARTILLERY,
    "art_fieldcannon"               : VEHICLE_TYPE_ARTILLERY,
    "art_truckcannon"               : VEHICLE_TYPE_ARTILLERY,
    "ch_assault_soldier"            : VEHICLE_TYPE_SOLDIER,
    "ch_at_soldier"                 : VEHICLE_TYPE_SOLDIER,
    "ch_engineer_soldier"           : VEHICLE_TYPE_SOLDIER,
    "ch_medic_soldier"              : VEHICLE_TYPE_SOLDIER,
    "ch_sniper_soldier"             : VEHICLE_TYPE_SOLDIER,
    "ch_specops_soldier"            : VEHICLE_TYPE_SOLDIER,
    "ch_support_soldier"            : VEHICLE_TYPE_SOLDIER,
    "mec_assault_soldier"           : VEHICLE_TYPE_SOLDIER,
    "mec_at_soldier"                : VEHICLE_TYPE_SOLDIER,
    "mec_engineer_soldier"          : VEHICLE_TYPE_SOLDIER,
    "mec_medic_soldier"             : VEHICLE_TYPE_SOLDIER,
    "mec_sniper_soldier"            : VEHICLE_TYPE_SOLDIER,
    "mec_specops_soldier"           : VEHICLE_TYPE_SOLDIER,
    "mec_support_soldier"           : VEHICLE_TYPE_SOLDIER,
    "un_assault_soldier"            : VEHICLE_TYPE_SOLDIER,
    "un_at_soldier"                 : VEHICLE_TYPE_SOLDIER,
    "un_engineer_soldier"           : VEHICLE_TYPE_SOLDIER,
    "un_medic_soldier"              : VEHICLE_TYPE_SOLDIER,
    "un_sniper_soldier"             : VEHICLE_TYPE_SOLDIER,
    "un_specops_soldier"            : VEHICLE_TYPE_SOLDIER,
    "un_support_soldier"            : VEHICLE_TYPE_SOLDIER,
    "us_assault_soldier"            : VEHICLE_TYPE_SOLDIER,
    "us_at_soldier"                 : VEHICLE_TYPE_SOLDIER,
    "us_engineer_soldier"           : VEHICLE_TYPE_SOLDIER,
    "us_medic_soldier"              : VEHICLE_TYPE_SOLDIER,
    "us_sniper_soldier"             : VEHICLE_TYPE_SOLDIER,
    "us_specops_soldier"            : VEHICLE_TYPE_SOLDIER,
    "us_support_soldier"            : VEHICLE_TYPE_SOLDIER,
#AIX 2.0
    "aix_f16-ns"                    : VEHICLE_TYPE_AVIATOR,
    "hawkextras"                    : VEHICLE_TYPE_AVIATOR,
    "aix_be12"                      : VEHICLE_TYPE_AVIATOR,
    "aix_su47"                      : VEHICLE_TYPE_AVIATOR,
    "aix_su47-ns"                   : VEHICLE_TYPE_AVIATOR,
    "aix_yak38"                     : VEHICLE_TYPE_AVIATOR,
    "aix_mig19-ns"                  : VEHICLE_TYPE_AVIATOR,
    "aix_a10-ns"                    : VEHICLE_TYPE_AVIATOR,
    "mig21"                         : VEHICLE_TYPE_AVIATOR,
    "mirage"                        : VEHICLE_TYPE_AVIATOR,
    "aix_viggen"                    : VEHICLE_TYPE_AVIATOR,
    "aix_firefox"                   : VEHICLE_TYPE_AVIATOR,
    "aix_f12x"                      : VEHICLE_TYPE_AVIATOR,
    "a8_extras"                     : VEHICLE_TYPE_HELICOPTER,
    "blizzardextras"                : VEHICLE_TYPE_HELICOPTER,
    "blizzardextras"                : VEHICLE_TYPE_HELICOPTER,
    "aix_mh53j"                     : VEHICLE_TYPE_HELICOPTER,
    "aix_mi24"                      : VEHICLE_TYPE_HELICOPTER,
    "jeep_faav_hf"                  : VEHICLE_TYPE_TRANSPORT,
    "aix_atv2"                      : VEHICLE_TYPE_TRANSPORT,
    "jeep_technical"                : VEHICLE_TYPE_TRANSPORT,
    "us_minigun"                    : VEHICLE_TYPE_GRNDDEFENSE,
#Hard Justice 1.3
    "us2_soldier"                   : VEHICLE_TYPE_SOLDIER,
    "us2_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "us2_light_soldier"             : VEHICLE_TYPE_SOLDIER,
    "mec2_soldier"                  : VEHICLE_TYPE_SOLDIER,
    "mec2_light_soldier"            : VEHICLE_TYPE_SOLDIER,
    "mec2_heavy_soldier"            : VEHICLE_TYPE_SOLDIER,
    "ch2_soldier"                   : VEHICLE_TYPE_SOLDIER,
    "ch2_light_soldier"             : VEHICLE_TYPE_SOLDIER,
    "ch2_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "us3_soldier"                   : VEHICLE_TYPE_SOLDIER,
    "us3_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "us3_light_soldier"             : VEHICLE_TYPE_SOLDIER,
    "mec3_soldier"                  : VEHICLE_TYPE_SOLDIER,
    "mec3_light_soldier"            : VEHICLE_TYPE_SOLDIER,
    "mec3_heavy_soldier"            : VEHICLE_TYPE_SOLDIER,
    "ch3_soldier"                   : VEHICLE_TYPE_SOLDIER,
    "ch3_light_soldier"             : VEHICLE_TYPE_SOLDIER,
    "ch3_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "ca_soldier"                    : VEHICLE_TYPE_SOLDIER,
    "ca_heavy_soldier"              : VEHICLE_TYPE_SOLDIER,
    "rah66a"                        : VEHICLE_TYPE_HELICOPTER,
    "ah6c"                          : VEHICLE_TYPE_HELICOPTER,
    "ah6j"                          : VEHICLE_TYPE_HELICOPTER,
    "sa342f"                        : VEHICLE_TYPE_HELICOPTER,
    "sa342a"                        : VEHICLE_TYPE_HELICOPTER,
    "m270"                          : VEHICLE_TYPE_ARTILLERY,
    "tos1"                          : VEHICLE_TYPE_ARTILLERY,
    "f22a"                          : VEHICLE_TYPE_AVIATOR,
    "bradly"                        : VEHICLE_TYPE_ARMOR,
    "m270_m109h"                    : VEHICLE_TYPE_ARTILLERY,
    "apc_cobra"                     : VEHICLE_TYPE_ARMOR,
    "apc_cobraat"                   : VEHICLE_TYPE_ARMOR,
    "a10w"                          : VEHICLE_TYPE_AVIATOR,
    "a10w1"                         : VEHICLE_TYPE_AVIATOR,
    "a10w2"                         : VEHICLE_TYPE_AVIATOR,
    "oelikonaa"                     : VEHICLE_TYPE_AIRDEFENSE,
    "rh202_aa"                      : VEHICLE_TYPE_AIRDEFENSE,
    "humvee_aaag"                   : VEHICLE_TYPE_TRANSPORT,
    "dirtbike"                      : VEHICLE_TYPE_TRANSPORT,
    "naw_apache"                    : VEHICLE_TYPE_HELICOPTER,
    "su25"                          : VEHICLE_TYPE_AVIATOR,
    "su25sc"                        : VEHICLE_TYPE_AVIATOR,
    "baja_bug"                      : VEHICLE_TYPE_TRANSPORT,
    "challenger"                    : VEHICLE_TYPE_TRANSPORT,
    "zero_quad"                     : VEHICLE_TYPE_TRANSPORT,
    "zero_quad125cc"                : VEHICLE_TYPE_TRANSPORT,
    "zero_quad250cc"                : VEHICLE_TYPE_TRANSPORT,
    "aa_technical"                  : VEHICLE_TYPE_TRANSPORT,
    "tow_technical"                 : VEHICLE_TYPE_TRANSPORT,
    "usjep_amrpr"                   : VEHICLE_TYPE_TRANSPORT,
    "woodyswagon"                   : VEHICLE_TYPE_ARTILLERY,
    "defense_gun"                   : VEHICLE_TYPE_ARTILLERY,
    "humvee_aa_ag"                  : VEHICLE_TYPE_ARMOR,
    "civ2_tow"                      : VEHICLE_TYPE_GRNDDEFENSE,
# AIX 2.0 TNG Maps
    "aix_su22"                      : VEHICLE_TYPE_AVIATOR,
    "aix_phantom_ii_v2_un_wso"      : VEHICLE_TYPE_AVIATOR,
    "aix_mirage2k_v2"               : VEHICLE_TYPE_AVIATOR,
    "aix_draken_v2"                 : VEHICLE_TYPE_AVIATOR,
    "aix_av8b_un"                   : VEHICLE_TYPE_AVIATOR,
    "aix_a7"                        : VEHICLE_TYPE_AVIATOR,
    "aix_a10_v2"                    : VEHICLE_TYPE_AVIATOR,
    "aix_a10b_v2"                   : VEHICLE_TYPE_AVIATOR,
    "aix_av8b_v2"                   : VEHICLE_TYPE_AVIATOR,
    "aix_f14"                       : VEHICLE_TYPE_AVIATOR,
    "aix_f14_rio"                   : VEHICLE_TYPE_AVIATOR,
    "aix_f16_v2"                    : VEHICLE_TYPE_AVIATOR,
    "aix_f16lg_v2"                  : VEHICLE_TYPE_AVIATOR,
    "aix_f5tiger_v2"                : VEHICLE_TYPE_AVIATOR,
    "aix_mig23_v2"                  : VEHICLE_TYPE_AVIATOR,
    "aix_mirage_iii_v2"             : VEHICLE_TYPE_AVIATOR,
    "aix_phantom_ii_v2_un"          : VEHICLE_TYPE_AVIATOR,
    "aix_su21_v2"                   : VEHICLE_TYPE_AVIATOR,
    "aix_su47_v2"                   : VEHICLE_TYPE_AVIATOR,
    "aix_mig21_v2"                  : VEHICLE_TYPE_AVIATOR,
    "aix_f117a_v2"                  : VEHICLE_TYPE_AVIATOR,
    "aix_mig19_v2"                  : VEHICLE_TYPE_AVIATOR,
    "aix_viggen_v2"                 : VEHICLE_TYPE_AVIATOR,
    "rh202_aa"                      : VEHICLE_TYPE_AIRDEFENSE,
# AIX 2.0 TNG 2.0
    "dirtbike_un"                   : VEHICLE_TYPE_TRANSPORT,
    "unthe_uh60"                    : VEHICLE_TYPE_HELICOPTER,
    "aix_notar_lb_un"               : VEHICLE_TYPE_HELICOPTER,
    "untnk_m1a2"                    : VEHICLE_TYPE_ARMOR,
    "unjep_hmmwv"                   : VEHICLE_TYPE_TRANSPORT,
    "unapc_lav25"                   : VEHICLE_TYPE_ARMOR,
    "aav_type95_v2"                 : VEHICLE_TYPE_AIRDEFENSE,
    "unaav_m6"                      : VEHICLE_TYPE_AIRDEFENSE,
    "aix_be12_v2"                   : VEHICLE_TYPE_AVIATOR,
    "aix_ah64_v2"                   : VEHICLE_TYPE_HELICOPTER,
    "aix_ah64gunship_v2"            : VEHICLE_TYPE_HELICOPTER,
    "m1a2_v2"                       : VEHICLE_TYPE_ARMOR,
# NAV - Nations@War 6.0
    "iran_light_soldier"            : VEHICLE_TYPE_SOLDIER,
    "Iraq_light_soldier"            : VEHICLE_TYPE_SOLDIER,
    "czh_soldier"                   : VEHICLE_TYPE_SOLDIER,
    "kor_light_soldier"             : VEHICLE_TYPE_SOLDIER,
    "uk_soldier"                    : VEHICLE_TYPE_SOLDIER,
    "jap_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "nor_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "ch_light_soldier"              : VEHICLE_TYPE_SOLDIER,
    "ger_soldier"                   : VEHICLE_TYPE_SOLDIER,
    "pak_light_soldier"             : VEHICLE_TYPE_SOLDIER,
    "den_soldier"                   : VEHICLE_TYPE_SOLDIER,
    "syr_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "can_heavy_soldier"             : VEHICLE_TYPE_SOLDIER,
    "a10"                           : VEHICLE_TYPE_AVIATOR,
    "a10_ap"                        : VEHICLE_TYPE_AVIATOR,
    "ahe_ah1z"                      : VEHICLE_TYPE_HELICOPTER,
    "ahe_helln"                     : VEHICLE_TYPE_HELICOPTER,
    "ahe_naw"                       : VEHICLE_TYPE_HELICOPTER,
    "air_su30nuk"                   : VEHICLE_TYPE_AVIATOR,
    "ch_medthe"                     : VEHICLE_TYPE_HELICOPTER,
    "f22a"                          : VEHICLE_TYPE_AVIATOR,
    "kaw_oh6"                       : VEHICLE_TYPE_HELICOPTER,
    "kaw_oh6i"                      : VEHICLE_TYPE_HELICOPTER,
    "mh6_so"                        : VEHICLE_TYPE_HELICOPTER,
    "mh6_tr"                        : VEHICLE_TYPE_HELICOPTER,
    "naw_apache"                    : VEHICLE_TYPE_HELICOPTER,
    "rah66a"                        : VEHICLE_TYPE_HELICOPTER,
    "sa342a"                        : VEHICLE_TYPE_HELICOPTER,
    "sa342f"                        : VEHICLE_TYPE_HELICOPTER,
    "su25"                          : VEHICLE_TYPE_AVIATOR,
    "su25sc"                        : VEHICLE_TYPE_AVIATOR,
    "the_mi17a"                     : VEHICLE_TYPE_HELICOPTER,
    "us_medthe"                     : VEHICLE_TYPE_HELICOPTER,
    "usair_f15n"                    : VEHICLE_TYPE_AVIATOR,
    "usthe_uh606"                   : VEHICLE_TYPE_HELICOPTER,
    "civ_buggy"                     : VEHICLE_TYPE_TRANSPORT,
    "civ_charger"                   : VEHICLE_TYPE_TRANSPORT,
    "civ_cobra"                     : VEHICLE_TYPE_TRANSPORT,
    "civ_digger"                    : VEHICLE_TYPE_TRANSPORT,
    "civ_mustang"                   : VEHICLE_TYPE_TRANSPORT,
    "civ_police"                    : VEHICLE_TYPE_TRANSPORT,
    "mil_cruiser"                   : VEHICLE_TYPE_TRANSPORT,
    "reb_defender"                  : VEHICLE_TYPE_TRANSPORT,
    "reb_hotRod"                    : VEHICLE_TYPE_TRANSPORT,
    "reb_van_01"                    : VEHICLE_TYPE_TRANSPORT,
    "truck1"                        : VEHICLE_TYPE_TRANSPORT,
    "aa_technical"                  : VEHICLE_TYPE_AIRDEFENSE,
    "usaav_m163"                    : VEHICLE_TYPE_AIRDEFENSE,
    "dirtbike"                      : VEHICLE_TYPE_TRANSPORT,
    "humvee_aaag"                   : VEHICLE_TYPE_ARTILLERY,
    "jeep_technical"                : VEHICLE_TYPE_TRANSPORT,
    "iraqtrk_ural4320"              : VEHICLE_TYPE_TRANSPORT,
    "ustrk_m35"                     : VEHICLE_TYPE_TRANSPORT,
    "m270"                          : VEHICLE_TYPE_ARTILLERY,
    "nanjing_amrpr"                 : VEHICLE_TYPE_TRANSPORT,
    "tos1"                          : VEHICLE_TYPE_ARTILLERY,
    "iraqart_bm21"                  : VEHICLE_TYPE_ARTILLERY,
    "iraqart_2s1"                   : VEHICLE_TYPE_ARTILLERY,
    "usart_m109"                    : VEHICLE_TYPE_ARTILLERY,
    "tow_technical"                 : VEHICLE_TYPE_TRANSPORT,
    "usav_brad"                     : VEHICLE_TYPE_ARMOR,
    "usjep_amrpr"                   : VEHICLE_TYPE_TRANSPORT,
    "zero_quad"                     : VEHICLE_TYPE_TRANSPORT,
    "zero_quad125cc"                : VEHICLE_TYPE_TRANSPORT,
    "zero_quad250cc"                : VEHICLE_TYPE_TRANSPORT,
    "apc_cobra"                     : VEHICLE_TYPE_TRANSPORT,
    "challenger"                    : VEHICLE_TYPE_TRANSPORT,
    "baja_bug"                      : VEHICLE_TYPE_TRANSPORT,
    "apc_cobraat"                   : VEHICLE_TYPE_TRANSPORT,
    "ssn_688i"                      : VEHICLE_TYPE_TRANSPORT,
    "lss"                           : VEHICLE_TYPE_TRANSPORT,
    "air_a10"                       : VEHICLE_TYPE_AVIATOR,
    "air_su39"                      : VEHICLE_TYPE_AVIATOR,
    "xpak2_fantan"                  : VEHICLE_TYPE_AVIATOR,
    "che_wz11"                      : VEHICLE_TYPE_HELICOPTER,
    "xpak2_tnkc2"                   : VEHICLE_TYPE_ARMOR,
    "ustnk_m1a1"                    : VEHICLE_TYPE_ARMOR,
    "she_ec635"                     : VEHICLE_TYPE_HELICOPTER,
    "xpak2_musclecar"               : VEHICLE_TYPE_TRANSPORT,
    "xpak2_semi"                    : VEHICLE_TYPE_TRANSPORT,
    "bkc_interceptor"               : VEHICLE_TYPE_TRANSPORT,
    "bkc_pursuit"                   : VEHICLE_TYPE_TRANSPORT,
    "bkc_defender"                  : VEHICLE_TYPE_TRANSPORT,
    "chinook"                       : VEHICLE_TYPE_HELICOPTER,
    "chinookassault"                : VEHICLE_TYPE_HELICOPTER,
    "aix_av8b"                      : VEHICLE_TYPE_AVIATOR,
    "aix_be12"                      : VEHICLE_TYPE_AVIATOR,
    "aix_draken"                    : VEHICLE_TYPE_AVIATOR,
    "aix_f117a"                     : VEHICLE_TYPE_AVIATOR,
    "aix_gr7"                       : VEHICLE_TYPE_AVIATOR,
    "aix_su47"                      : VEHICLE_TYPE_AVIATOR,
    "aix_yak38"                     : VEHICLE_TYPE_AVIATOR,
    "aix_su22"                      : VEHICLE_TYPE_AVIATOR,
    "aix_spitfire_v"                : VEHICLE_TYPE_AVIATOR,
    "aix_spitfire_ix"               : VEHICLE_TYPE_AVIATOR,
    "aix_phantom_ii"                : VEHICLE_TYPE_AVIATOR,
    "aix_phantom_fgr2"              : VEHICLE_TYPE_AVIATOR,
    "aix_p51d"                      : VEHICLE_TYPE_AVIATOR,
    "aix_ju87b"                     : VEHICLE_TYPE_AVIATOR,
    "aix_f14"                       : VEHICLE_TYPE_AVIATOR,
    "aix_bf109e"                    : VEHICLE_TYPE_AVIATOR,
    "aix_a7"                        : VEHICLE_TYPE_AVIATOR,
    "boat_markv"                    : VEHICLE_TYPE_TRANSPORT,
# AIX 2.0 TNG2.0 - Boosterpack
    "aix_ah64un"                    : VEHICLE_TYPE_HELICOPTER,
    "aix_rooivalk_un"               : VEHICLE_TYPE_HELICOPTER,
    "aix_rooivalk"                  : VEHICLE_TYPE_HELICOPTER,
    "aix_f14_mec"                   : VEHICLE_TYPE_AVIATOR,
    "aix_f14_mec_rio"               : VEHICLE_TYPE_AVIATOR,
    "aix_mi24_v2"                   : VEHICLE_TYPE_AVIATOR,
    "aix_a7_v2"                     : VEHICLE_TYPE_AVIATOR,
    "aix_yak38_ch"                  : VEHICLE_TYPE_AVIATOR,
    "aix_yak38_v2"                  : VEHICLE_TYPE_AVIATOR,
    "jeep_faav_un"                  : VEHICLE_TYPE_TRANSPORT,
    "jeep_technical_un"             : VEHICLE_TYPE_TRANSPORT,
    "bradley_un"                    : VEHICLE_TYPE_ARMOR,
    "bradley_v2"                    : VEHICLE_TYPE_ARMOR,
    "maws_v2"                       : VEHICLE_TYPE_ARMOR,
    "t90_v2"                        : VEHICLE_TYPE_ARMOR,
    "type98_v2"                     : VEHICLE_TYPE_ARMOR,
    "rms_v2"                        : VEHICLE_TYPE_ARMOR,
    "aav_tunguska_v2"               : VEHICLE_TYPE_AIRDEFENSE,
    "usaav_m6_v2"                   : VEHICLE_TYPE_AIRDEFENSE,
# AIX2 - NWM
    "dcon_ac130"                    : VEHICLE_TYPE_AVIATOR,
    "dcon_ac130b"                   : VEHICLE_TYPE_AVIATOR,
    "dcon_ah6"                      : VEHICLE_TYPE_HELICOPTER,
    "old_fishing_boat"              : VEHICLE_TYPE_TRANSPORT,
    "air_su30mkk1"                  : VEHICLE_TYPE_AVIATOR,
    "AIX_F16_white"                 : VEHICLE_TYPE_AVIATOR,
    "AIX_F5Tiger_Canada"            : VEHICLE_TYPE_AVIATOR,
    "AIX_Firefox_highway"           : VEHICLE_TYPE_AVIATOR,
    "aix_Notar_LittleBird_buddy"    : VEHICLE_TYPE_HELICOPTER,
    "aix_Notar_LittleBird_Spidey"   : VEHICLE_TYPE_HELICOPTER,
    "AIX_P51D"                      : VEHICLE_TYPE_AVIATOR,
    "AIX_Spitfire_IX"               : VEHICLE_TYPE_AVIATOR,
    "AIX_Spitfire_V"                : VEHICLE_TYPE_AVIATOR,
    "AIX_Su47_Black"                : VEHICLE_TYPE_AVIATOR,
    "AIX_Su47_grey"                 : VEHICLE_TYPE_AVIATOR,
    "iceman_aix_f14"                : VEHICLE_TYPE_AVIATOR,
    "maverick_aix_f14_lg"           : VEHICLE_TYPE_AVIATOR,
    "NWM_A10_II"                    : VEHICLE_TYPE_AVIATOR,
    "NWM_Be12"                      : VEHICLE_TYPE_AVIATOR,
    "nwm_commanche"                 : VEHICLE_TYPE_HELICOPTER,
    "nwm_f35b"                      : VEHICLE_TYPE_AVIATOR,
    "nwm_j10"                       : VEHICLE_TYPE_AVIATOR,
    "nwm_mig35"                     : VEHICLE_TYPE_AVIATOR,
    "nwm_su_35bm"                   : VEHICLE_TYPE_AVIATOR,
    "ruair_mig29a"                  : VEHICLE_TYPE_AVIATOR,
    "Tinybobs_Buzzard"              : VEHICLE_TYPE_HELICOPTER,
    "USAIR_F15b"                    : VEHICLE_TYPE_AVIATOR,
    "USAIR_F15c"                    : VEHICLE_TYPE_AVIATOR,
    "usair_f15_brown"               : VEHICLE_TYPE_AVIATOR,
    "usair_f18_blue_angel"          : VEHICLE_TYPE_AVIATOR,
    "KGB_lav25_terminator"          : VEHICLE_TYPE_TRANSPORT,
    "KGB_lav25_terminator2"         : VEHICLE_TYPE_TRANSPORT,
    "KGB_lav25_terminator3"         : VEHICLE_TYPE_TRANSPORT,
    "nwm_charger"                   : VEHICLE_TYPE_TRANSPORT,
    "NWM_Death_Bike"                : VEHICLE_TYPE_TRANSPORT,
    "RUTNK_T90_v1"                  : VEHICLE_TYPE_ARMOR,
    "RUTNK_T90_v2"                  : VEHICLE_TYPE_ARMOR,
    "USTNK_M1A2_v1"                 : VEHICLE_TYPE_ARMOR,
    "USTNK_M1A2_v2"                 : VEHICLE_TYPE_ARMOR,
    "uh-1d"                         : VEHICLE_TYPE_HELICOPTER,
    "nwm_uh-1d_gunship"             : VEHICLE_TYPE_HELICOPTER,
    "nwm_ah1a"                      : VEHICLE_TYPE_HELICOPTER,
    "aix_notar_littlebird_stevoooos84": VEHICLE_TYPE_HELICOPTER,
    "aix_ah64gunship_terminator"    : VEHICLE_TYPE_HELICOPTER,
    "BKC_302"                       : VEHICLE_TYPE_AVIATOR,
    "x_wing"                        : VEHICLE_TYPE_AVIATOR,
    "jupiter2"                      : VEHICLE_TYPE_AVIATOR,
    "nwm_a10c"                      : VEHICLE_TYPE_AVIATOR,
    "nwm_air_j20"                   : VEHICLE_TYPE_AVIATOR,
    "nwm_j15"                       : VEHICLE_TYPE_AVIATOR,
# AIX 2.1
    "ustnk_abrams"                  : VEHICLE_TYPE_ARMOR,
    "ustnk_m551"                    : VEHICLE_TYPE_ARMOR,
    "vctnk_pt76"                    : VEHICLE_TYPE_ARMOR,
    "AH64"                          : VEHICLE_TYPE_HELICOPTER,
    "dcon_f15"                      : VEHICLE_TYPE_AVIATOR,
    "dcon_f18"                      : VEHICLE_TYPE_AVIATOR,
    "dcon_f35b"                     : VEHICLE_TYPE_AVIATOR,
    "usthe_uhgl"                    : VEHICLE_TYPE_HELICOPTER,
    "V22"                           : VEHICLE_TYPE_TRANSPORT,
    "Hs129"                         : VEHICLE_TYPE_AVIATOR,
    "xpak2_tiger"                   : VEHICLE_TYPE_HELICOPTER,
    "xpak2_eurofighter"             : VEHICLE_TYPE_AVIATOR,
    "xpak2_tnkl2a6"                 : VEHICLE_TYPE_ARMOR,
    "ATV2"                          : VEHICLE_TYPE_TRANSPORT,
    "boat_rip"                      : VEHICLE_TYPE_TRANSPORT,
    "chaho"                         : VEHICLE_TYPE_TRANSPORT,
    "us_ptboat"                     : VEHICLE_TYPE_TRANSPORT,
    "interceptor"                   : VEHICLE_TYPE_TRANSPORT,
    "Humvee_AA_AG"                  : VEHICLE_TYPE_ARTILLERY,
# BomSF
    "she_falconbird"                : VEHICLE_TYPE_HELICOPTER,
    "she_ah1z"                      : VEHICLE_TYPE_HELICOPTER,
    "usthe_uh60"                    : VEHICLE_TYPE_HELICOPTER,
    "sav_pred"                      : VEHICLE_TYPE_AVIATOR,
    "usair_f16"                     : VEHICLE_TYPE_AVIATOR,
    "usair_f19"                     : VEHICLE_TYPE_AVIATOR,
    "black_blazer"                  : VEHICLE_TYPE_TRANSPORT,
    "atv2"                          : VEHICLE_TYPE_TRANSPORT,
    "truck"                         : VEHICLE_TYPE_TRANSPORT,
    "red_blazer"                    : VEHICLE_TYPE_TRANSPORT,
    "jeep"                          : VEHICLE_TYPE_TRANSPORT,
    "usthe_mstx"                    : VEHICLE_TYPE_HELICOPTER,
    "bigcat"                        : VEHICLE_TYPE_TRANSPORT,
    "Black_Blazer"                  : VEHICLE_TYPE_TRANSPORT,
    "BTR152"                        : VEHICLE_TYPE_TRANSPORT,
    "Cobra"                         : VEHICLE_TYPE_TRANSPORT,
    "gt40"                          : VEHICLE_TYPE_TRANSPORT,
    "xpak2_faav"                    : VEHICLE_TYPE_TRANSPORT,
    "xpak2_hmmwv"                   : VEHICLE_TYPE_TRANSPORT,
    "xpak2_lav25"                   : VEHICLE_TYPE_TRANSPORT,
    "vette"                         : VEHICLE_TYPE_TRANSPORT,
    "USJEP_HMMWV"                   : VEHICLE_TYPE_TRANSPORT,
    "jeep_FAAV"                     : VEHICLE_TYPE_TRANSPORT,
    "RUTNK_T90"                     : VEHICLE_TYPE_ARMOR,
    "usthk_m1a2"                    : VEHICLE_TYPE_ARMOR,
    "bs3"                           : VEHICLE_TYPE_ARTILLERY
}

weaponTypeMap = {
# Battlefield2
    "usrif_m16a2"                   : WEAPON_TYPE_ASSAULT,
    "rurif_ak101"                   : WEAPON_TYPE_ASSAULT,
    "rurif_ak47"                    : WEAPON_TYPE_ASSAULT,
    "usrif_sa80"                    : WEAPON_TYPE_ASSAULT,
    "usrif_g3a3"                    : WEAPON_TYPE_ASSAULT,
    "usrif_m203"                    : WEAPON_TYPE_ASSAULT,
    "rurif_gp30"                    : WEAPON_TYPE_ASSAULT,
    "rurif_gp25"                    : WEAPON_TYPE_ASSAULT,
    "usrgl_m203"                    : WEAPON_TYPE_ASSAULTGRN,
    "rurgl_gp30"                    : WEAPON_TYPE_ASSAULTGRN,
    "rurgl_gp25"                    : WEAPON_TYPE_ASSAULTGRN,
    "rurrif_ak74u"                  : WEAPON_TYPE_CARBINE,
    "usrif_m4"                      : WEAPON_TYPE_CARBINE,
    "rurif_ak74u"                   : WEAPON_TYPE_CARBINE,
    "chrif_type95"                  : WEAPON_TYPE_CARBINE,
    "usrif_g36c"                    : WEAPON_TYPE_CARBINE,
    "uslmg_m249saw"                 : WEAPON_TYPE_LMG,
    "rulmg_rpk74"                   : WEAPON_TYPE_LMG,
    "chlmg_type95"                  : WEAPON_TYPE_LMG,
    "rulmg_pkm"                     : WEAPON_TYPE_LMG,
    "usrif_m24"                     : WEAPON_TYPE_SNIPER,
    "rurif_dragunov"                : WEAPON_TYPE_SNIPER,
    "chsni_type88"                  : WEAPON_TYPE_SNIPER,
    "ussni_m82a1"                   : WEAPON_TYPE_SNIPER,
    "ussni_m95_barret"              : WEAPON_TYPE_SNIPER,
    "uspis_92fs"                    : WEAPON_TYPE_PISTOL,
    "uspis_92fs_silencer"           : WEAPON_TYPE_PISTOL,
    "rupis_baghira"                 : WEAPON_TYPE_PISTOL,
    "rupis_baghira_silencer"        : WEAPON_TYPE_PISTOL,
    "chpis_qsz92"                   : WEAPON_TYPE_PISTOL,
    "chpis_qsz92_silencer"          : WEAPON_TYPE_PISTOL,
    "usatp_predator"                : WEAPON_TYPE_ATAA,
    "chat_eryx"                     : WEAPON_TYPE_ATAA,
    "usrif_mp5_a3"                  : WEAPON_TYPE_SMG,
    "rurif_bizon"                   : WEAPON_TYPE_SMG,
    "chrif_type85"                  : WEAPON_TYPE_SMG,
    "usrif_remington11-87"          : WEAPON_TYPE_SHOTGUN,
    "rusht_saiga12"                 : WEAPON_TYPE_SHOTGUN,
    "chsht_norinco982"              : WEAPON_TYPE_SHOTGUN,
    "chsht_protecta"                : WEAPON_TYPE_SHOTGUN,
    "ussht_jackhammer"              : WEAPON_TYPE_SHOTGUN,
    "kni_knife"                     : WEAPON_TYPE_KNIFE,
    "c4_explosives"                 : WEAPON_TYPE_C4,
    "ushgr_m67"                     : WEAPON_TYPE_HANDGRENADE,
    "usmin_claymore"                : WEAPON_TYPE_CLAYMORE,
    "defibrillator"                 : WEAPON_TYPE_SHOCKPAD,
    "at_mine"                       : WEAPON_TYPE_ATMINE,
    "simrad"                        : WEAPON_TYPE_TARGETING,
# xpack1 - SpecialForces
    "nshgr_flashbang"               : WEAPON_TYPE_TACTICAL,
    "sasrif_teargas"                : WEAPON_TYPE_TACTICAL,
    "insgr_rpg"                     : WEAPON_TYPE_ATAA,
    "nsrif_crossbow"                : WEAPON_TYPE_ZIPLINE,
    "rurif_oc14"                    : WEAPON_TYPE_ASSAULT,
    "sasrif_fn2000"                 : WEAPON_TYPE_ASSAULT,
    "sasgr_fn2000"                  : WEAPON_TYPE_ASSAULTGRN,
    "sasrif_g36e"                   : WEAPON_TYPE_ASSAULT,
    "sasrif_g36k"                   : WEAPON_TYPE_ASSAULT,
    "sasrif_mg36"                   : WEAPON_TYPE_LMG,
    "sasrif_mp7"                    : WEAPON_TYPE_SMG,
    "spzrif_aps"                    : WEAPON_TYPE_ASSAULT,
    "usrif_fnscarh"                 : WEAPON_TYPE_ASSAULT,
    "usrif_fnscarl"                 : WEAPON_TYPE_CARBINE,
# booster pack 1 - Euroforces
    "eurif_fnp90"                   : WEAPON_TYPE_SMG,
    "eurif_hk53a3"                  : WEAPON_TYPE_CARBINE,
    "gbrif_benelli_m4"              : WEAPON_TYPE_SHOTGUN,
    "gbrif_l96a1"                   : WEAPON_TYPE_SNIPER,
    "eurif_famas"                   : WEAPON_TYPE_ASSAULT,
    "gbrif_sa80a2_l85"              : WEAPON_TYPE_ASSAULT,
    "gbgr_sa80a2_l85"               : WEAPON_TYPE_ASSAULTGRN,
    "eurif_hk21"                    : WEAPON_TYPE_LMG,
# POE2
    "at_mine2"                      : WEAPON_TYPE_ATMINE,
    "gergre_dm61"                   : WEAPON_TYPE_HANDGRENADE,
    "gergrl_ag36"                   : WEAPON_TYPE_ASSAULTGRN,
    "gerkni_km2000"                 : WEAPON_TYPE_KNIFE,
    "gerlmg_mg3"                    : WEAPON_TYPE_LMG,
    "gerlmg_mg36"                   : WEAPON_TYPE_LMG,
    "gerpis_p8"                     : WEAPON_TYPE_PISTOL,
    "gerrif_g36"                    : WEAPON_TYPE_ASSAULT,
    "gerrif_g36c"                   : WEAPON_TYPE_CARBINE ,
    "gerrif_g36k"                   : WEAPON_TYPE_ASSAULT,
    "gerrif_msg90"                  : WEAPON_TYPE_SNIPER,
    "gerroc_bunkerfaust"            : WEAPON_TYPE_ATAA,
    "gerroc_fliegerfaust2"          : WEAPON_TYPE_ATAA,
    "gerroc_panzerfaust3"           : WEAPON_TYPE_ATAA,
    "gerroc_panzerfaust3t"          : WEAPON_TYPE_ATAA,
    "gersni_g82"                    : WEAPON_TYPE_CARBINE,
    "gergre_smoke"                  : WEAPON_TYPE_TACTICAL,
    "gergre_smoke2"                 : WEAPON_TYPE_TACTICAL,
    "katana"                        : WEAPON_TYPE_KNIFE,
    "ruskni_expknife"               : WEAPON_TYPE_KNIFE,
    "ukrgre_rdg2"                   : WEAPON_TYPE_ASSAULTGRN,
    "ukrgre_rdg2_2"                 : WEAPON_TYPE_ASSAULTGRN,
    "ukrgre_rgd5"                   : WEAPON_TYPE_ASSAULTGRN,
    "ukrgrl_gp25"                   : WEAPON_TYPE_ASSAULTGRN,
    "ukrlmg_pkm"                    : WEAPON_TYPE_LMG,
    "ukrlmg_rpk74"                  : WEAPON_TYPE_LMG,
    "ukrpis_fort12"                 : WEAPON_TYPE_PISTOL,
    "ukrpis_pb6p9"                  : WEAPON_TYPE_PISTOL,
    "ukrrif_aks74u"                 : WEAPON_TYPE_CARBINE,
    "ukrrif_pp2000"                 : WEAPON_TYPE_SMG,
    "ukrrif_pp2000_2"               : WEAPON_TYPE_SMG,
    "ukrrif_svd"                    : WEAPON_TYPE_SNIPER,
    "ukrrif_skorpion"               : WEAPON_TYPE_SNIPER,
    "ukrrif_vepr"                   : WEAPON_TYPE_ASSAULT,
    "ukrrif_vintorez"               : WEAPON_TYPE_SNIPER,
    "ukrroc_rpgfrag"                : WEAPON_TYPE_ATAA,
    "ukrroc_rpgheat"                : WEAPON_TYPE_ATAA,
    "ukrroc_rpgtandem"              : WEAPON_TYPE_ATAA,
    "ukrroc_rpgthermo"              : WEAPON_TYPE_ATAA,
    "ukrroc_sa7"                    : WEAPON_TYPE_ATAA,
    "ukrsht_toz194"                 : WEAPON_TYPE_SHOTGUN,
    "ukrsmg_asval"                  : WEAPON_TYPE_ASSAULT,
    "ukrsni_ntw20"                  : WEAPON_TYPE_ASSAULT,
    "usasht_m1014"                  : WEAPON_TYPE_SHOTGUN,
    "usasmg_mp7"                    : WEAPON_TYPE_SMG,
    "usasmg_mp7_2"                  : WEAPON_TYPE_SMG,
    "usasmg_mp7_scoped"             : WEAPON_TYPE_SMG,
    "usasmg_mp7_silenced"           : WEAPON_TYPE_SMG,
    "usmin_claymore2"               : WEAPON_TYPE_CLAYMORE,
    "usrif_g36c"                    : WEAPON_TYPE_ASSAULT,
#AIX 1.0
    "aix_ak5_tactical"              : WEAPON_TYPE_ASSAULT,
    "aix_famas"                     : WEAPON_TYPE_ASSAULT,
    "aix_fs2000"                    : WEAPON_TYPE_ASSAULT,
    "aix_g36k_rif"                  : WEAPON_TYPE_ASSAULT,
    "aix_m41a"                      : WEAPON_TYPE_ASSAULT,
    "aix_mk14ebr"                   : WEAPON_TYPE_ASSAULT,
    "aix_scarl_rif"                 : WEAPON_TYPE_ASSAULT,
    "aix_steyr_aug"                 : WEAPON_TYPE_ASSAULT,
    "chrif_type95_b"                : WEAPON_TYPE_ASSAULT,
    "rurif_ak47_b"                  : WEAPON_TYPE_ASSAULT,
    "aix_g36k_gl"                   : WEAPON_TYPE_ASSAULTGRN,
    "aix_mgl140"                    : WEAPON_TYPE_ASSAULTGRN,
    "aix_scarl_gl"                  : WEAPON_TYPE_ASSAULTGRN,
    "aix_as50"                      : WEAPON_TYPE_SNIPER,
    "aix_barrett_m109"              : WEAPON_TYPE_SNIPER,
    "aix_dsr"                       : WEAPON_TYPE_SNIPER,
    "aix_beretta"                   : WEAPON_TYPE_PISTOL,
    "aix_beretta_silencer"          : WEAPON_TYPE_PISTOL,
    "aix_glock19"                   : WEAPON_TYPE_PISTOL,
    "aix_glock19_silencer"          : WEAPON_TYPE_PISTOL,
    "aix_gsh"                       : WEAPON_TYPE_PISTOL,
    "aix_gsh_silencer"              : WEAPON_TYPE_PISTOL,
    "aix_uspmatch"                  : WEAPON_TYPE_PISTOL,
    "aix_uspmatch_silencer"         : WEAPON_TYPE_PISTOL,
    "aix_fim92a"                    : WEAPON_TYPE_ATAA,
    "aix_rpg7"                      : WEAPON_TYPE_ATAA,
    "aix_strela2"                   : WEAPON_TYPE_ATAA,
    "chat_eryx_lt"                  : WEAPON_TYPE_ATAA,
    "rurpg_rpg7"                    : WEAPON_TYPE_ATAA,
    "mortar_deployable"             : WEAPON_TYPE_ATAA,
    "aix_g36v"                      : WEAPON_TYPE_CARBINE,
    "aix_hk416"                     : WEAPON_TYPE_CARBINE,
    "aix_sig552"                    : WEAPON_TYPE_CARBINE,
    "aix_xm8"                       : WEAPON_TYPE_CARBINE,
    "rurif_ak47u_b"                 : WEAPON_TYPE_CARBINE,
    "tavor"                         : WEAPON_TYPE_CARBINE,
    "aix_grenade1"                  : WEAPON_TYPE_HANDGRENADE,
    "aix_m41a_shot"                 : WEAPON_TYPE_SHOTGUN,
    "aix_mac11"                     : WEAPON_TYPE_SMG,
    "rurif_ak101_b"                 : WEAPON_TYPE_SMG,
    "aix_portableminigun"           : WEAPON_TYPE_LMG,
    "aix_portableminigun_mec"       : WEAPON_TYPE_LMG,
    "aix_stg58"                     : WEAPON_TYPE_LMG,
    "aix_tpg1"                      : WEAPON_TYPE_SNIPER,
    "at4_mine"                      : WEAPON_TYPE_ATMINE,
    "binoculars_mec_ch"             : WEAPON_TYPE_TARGETING,
    "us_binocular"                  : WEAPON_TYPE_TACTICAL,
    "us_flaretrap"                  : WEAPON_TYPE_TACTICAL,
    "c4_timebomb"                   : WEAPON_TYPE_C4,
    "hgr_flashbang"                 : WEAPON_TYPE_TACTICAL,
    "ch_flaretrap"                  : WEAPON_TYPE_TACTICAL,
    "hgr_incendiary"                : WEAPON_TYPE_TACTICAL,
    "hgr_incendiary_sticky"         : WEAPON_TYPE_TACTICAL,
    "hgr_smoke_orange"              : WEAPON_TYPE_TACTICAL,
    "hgr_smoke_purple"              : WEAPON_TYPE_TACTICAL,
    "hgr_smoke_yellow"              : WEAPON_TYPE_TACTICAL,
    "hgr_teargas"                   : WEAPON_TYPE_TACTICAL,
    "mec_flaretrap"                 : WEAPON_TYPE_TACTICAL,
    "grapplinghook"                 : WEAPON_TYPE_GRAPPLINGHOOK,
    "throwknife"                    : WEAPON_TYPE_KNIFE,
#AIX 2.0
    "aix_flaretrap"                 : WEAPON_TYPE_TACTICAL,
    "aix_kimber"                    : WEAPON_TYPE_PISTOL,
    "aix_kimber_silencer"           : WEAPON_TYPE_PISTOL,
    "aix_magpul"                    : WEAPON_TYPE_ASSAULT,
    "aix_tavor"                     : WEAPON_TYPE_ASSAULT,
    "aix_sig552specops"             : WEAPON_TYPE_CARBINE,
    "aix_type97"                    : WEAPON_TYPE_CARBINE,
    "aix_type97_mg"                 : WEAPON_TYPE_LMG,
    "aix_p90"                       : WEAPON_TYPE_SMG,
    "aix_vintorez"                  : WEAPON_TYPE_SNIPER,
#Hard Justice 1.3
    #"sa7"                          : WEAPON_TYPE_AIRDEFENSE,
    "m14lm"                         : WEAPON_TYPE_CLAYMORE,
    #"hgr_gas"                      : WEAPON_TYPE_POISIONGAS,
    "deserteagal"                   : WEAPON_TYPE_PISTOL,
    "sasrif_fn20001"                : WEAPON_TYPE_ASSAULT,
    "sasgr_fn20001"                 : WEAPON_TYPE_ASSAULTGRN,
    "gbrif_sa80a21_l85"             : WEAPON_TYPE_ASSAULT,
    "gbgr_sa80a21_l85"              : WEAPON_TYPE_ASSAULTGRN,
    "m95_barret"                    : WEAPON_TYPE_SNIPER,
    "designator"                    : WEAPON_TYPE_TARGETING,
    "javelin"                       : WEAPON_TYPE_ATAA,
    "javelin_direct"                : WEAPON_TYPE_ATAA,
    "hgr_smoke2"                    : WEAPON_TYPE_TACTICAL,
    "mk19"                          : WEAPON_TYPE_LMG,
    "usatp_predator2"               : WEAPON_TYPE_ATAA,
    "chhmg_type85"                  : WEAPON_TYPE_SMG,
    "usrif_mp5_a3_2"                : WEAPON_TYPE_SMG,
# AIX 2.0 TNG Maps
    "aix_portableminigun_v2"        : WEAPON_TYPE_LMG,
    "aix_portableminigun_mec_v2"    : WEAPON_TYPE_LMG,
    "aix_type97_v2"                 : WEAPON_TYPE_CARBINE,
    "aix_type97_mg_v2"              : WEAPON_TYPE_LMG,
    "aix_tavor_v2"                  : WEAPON_TYPE_CARBINE,
    "aix_g36k_rif_v2"               : WEAPON_TYPE_ASSAULT,
    "aix_fs2000_v2"                 : WEAPON_TYPE_ASSAULT,
    "aix_dsr_v2"                    : WEAPON_TYPE_SNIPER,
# AIX 2.0 TNG 2.0
    "aix_scarl_rif_v2"              : WEAPON_TYPE_ASSAULT,
    "sasrif_g36e_v2"                : WEAPON_TYPE_ASSAULT,
    "aix_ak5_tactical_v2"           : WEAPON_TYPE_ASSAULT,
# NAV - Nations@War 6.0
    "t2_1887_shotgun"               : WEAPON_TYPE_SHOTGUN,
    "Rambo_3_knife"                 : WEAPON_TYPE_KNIFE,
    "nsrif_crossbow"                : WEAPON_TYPE_SNIPER,
    "m14lm"                         : WEAPON_TYPE_ATMINE,
    "ap_mine"                       : WEAPON_TYPE_ATMINE,
    "deserteagle"                   : WEAPON_TYPE_PISTOL,
    "dual_deserteagles"             : WEAPON_TYPE_PISTOL,
    "dual_uzi"                      : WEAPON_TYPE_SMG,
    "iraq_scorpion"                 : WEAPON_TYPE_SMG,
    "galil"                         : WEAPON_TYPE_CARBINE,
    "grail"                         : WEAPON_TYPE_ATAA,
    "ied"                           : WEAPON_TYPE_C4,
    "javelin"                       : WEAPON_TYPE_ATAA,
    "ksvk"                          : WEAPON_TYPE_SNIPER,
    "m72law"                        : WEAPON_TYPE_ATAA,
    "m40A3_silenced"                : WEAPON_TYPE_SNIPER,
    "m40A3"                         : WEAPON_TYPE_SNIPER,
    "psg1"                          : WEAPON_TYPE_SNIPER,
    "rpg7"                          : WEAPON_TYPE_ATAA,
    "sigp226"                       : WEAPON_TYPE_PISTOL,
    "steyr_aug"                     : WEAPON_TYPE_CARBINE,
    "steyr_aug_m203"                : WEAPON_TYPE_CARBINE,
    "steyr_aug_m203_gl"             : WEAPON_TYPE_ASSAULTGRN,
    "steyr_specops"                 : WEAPON_TYPE_CARBINE,
    "stinger"                       : WEAPON_TYPE_ATAA,
    "svds"                          : WEAPON_TYPE_SNIPER,
    "ump45"                         : WEAPON_TYPE_PISTOL,
    "uzi"                           : WEAPON_TYPE_SMG,
    "mk19"                          : WEAPON_TYPE_ASSAULTGRN,
    "oerlikonaa"                    : WEAPON_TYPE_ATAA,
    "iraqat_rpg7"                   : WEAPON_TYPE_ATAA,
    "usat_smaw"                     : WEAPON_TYPE_ATAA,
    "iraqaa_sa7"                    : WEAPON_TYPE_ATAA,
    "usaa_fm92a"                    : WEAPON_TYPE_ATAA,
    "mim23"                         : WEAPON_TYPE_ATAA,
    "sa-3"                          : WEAPON_TYPE_ATAA,
    "rh202_aa"                      : WEAPON_TYPE_ATAA,
    "Igla_tech"                     : WEAPON_TYPE_ATAA,
    "civ2_tow"                      : WEAPON_TYPE_ATAA,
    "tos1_missile"                  : WEAPON_TYPE_ATAA,
    "tomahawk_bgm109"               : WEAPON_TYPE_ATAA,
    "mk48_torpedo"                  : WEAPON_TYPE_ATAA,
    "m270_missile"                  : WEAPON_TYPE_ATAA,
    "hh_stinger"                    : WEAPON_TYPE_ATAA,
    "brad_missile"                  : WEAPON_TYPE_ATAA,
    "b57_nuke"                      : WEAPON_TYPE_ATAA,
    "zigs_hellfire"                 : WEAPON_TYPE_ATAA,
    "minigun"                       : WEAPON_TYPE_SMG,
    "hgr_smoke_1"                   : WEAPON_TYPE_HANDGRENADE,
    "hgr_smoke_2"                   : WEAPON_TYPE_HANDGRENADE,
# AIX 2.0 TNG2.0 - Boosterpack
    "chrif_type85_v2"               : WEAPON_TYPE_SMG,
    "hmg_m2hb"                      : WEAPON_TYPE_LMG,
    "chhmg_kord"                    : WEAPON_TYPE_LMG,
# AIX2 - NWM
    "nwm_mad_dawg"                  : WEAPON_TYPE_ASSAULTGRN,
    "nwm_as50"                      : WEAPON_TYPE_SNIPER,
    "as50"                          : WEAPON_TYPE_SNIPER,
    "NWMGL_M203"                    : WEAPON_TYPE_ASSAULTGRN,
    "NWMRIF_M203"                   : WEAPON_TYPE_ASSAULT,
    "NWM_AS50"                      : WEAPON_TYPE_SNIPER,
    "AS50"                          : WEAPON_TYPE_SNIPER,
    "NWM_FIM92A"                    : WEAPON_TYPE_ATAA,
    "NWM_hk21"                      : WEAPON_TYPE_LMG,
    "nwm_m41a"                      : WEAPON_TYPE_ASSAULT,
    "nwm_MGL140"                    : WEAPON_TYPE_ASSAULTGRN,
    "NWM_PortableMiniGun"           : WEAPON_TYPE_LMG,
    "NWM_predator"                  : WEAPON_TYPE_ATAA,
    "nwm_scarL_GL"                  : WEAPON_TYPE_ASSAULTGRN,
    "nwm_scarL_rif"                 : WEAPON_TYPE_ASSAULT,
    "Sterling"                      : WEAPON_TYPE_SMG,
    "stg44"                         : WEAPON_TYPE_ASSAULT,
    "Thompson"                      : WEAPON_TYPE_SMG,
# AIX 2.1
    "car15"                         : WEAPON_TYPE_ASSAULT,
    "car15gl"                       : WEAPON_TYPE_ASSAULTGRN,
    "bazooka"                       : WEAPON_TYPE_ATAA,
    "chsni_50cal"                   : WEAPON_TYPE_SNIPER,
    "hk416"                         : WEAPON_TYPE_CARBINE,
    "spas12"                        : WEAPON_TYPE_SHOTGUN,
    "rambo3_knife"                  : WEAPON_TYPE_KNIFE,
    "ushgr_m67_i6"                  : WEAPON_TYPE_HANDGRENADE,
    "recon_empblast"                : WEAPON_TYPE_HANDGRENADE,
    "usalmg_m249"                   : WEAPON_TYPE_LMG,
    "duel_deserteagles"             : WEAPON_TYPE_PISTOL,
    "germort_m224"                  : WEAPON_TYPE_TACTICAL,
# BomSF
    "USPIS_92FS"                    : WEAPON_TYPE_PISTOL,
    "USPIS_92FS_silencer"           : WEAPON_TYPE_PISTOL,
    "pizatto"                       : WEAPON_TYPE_PISTOL,
    "USHGR_M67"                     : WEAPON_TYPE_HANDGRENADE,
    "c4_detonator"                  : WEAPON_TYPE_C4,
    "decoy_flare_launcher"          : WEAPON_TYPE_ASSAULT,
    "suprad"                        : WEAPON_TYPE_C4,
    "DAO-12"                        : WEAPON_TYPE_SHOTGUN
}


kitTypeMap = {
# Battlefield2
    "us_at"                         : KIT_TYPE_AT,
    "us_assault"                    : KIT_TYPE_ASSAULT,
    "us_engineer"                   : KIT_TYPE_ENGINEER,
    "us_medic"                      : KIT_TYPE_MEDIC,
    "us_specops"                    : KIT_TYPE_SPECOPS,
    "us_support"                    : KIT_TYPE_SUPPORT,
    "us_sniper"                     : KIT_TYPE_SNIPER,
    "mec_at"                        : KIT_TYPE_AT,
    "mec_assault"                   : KIT_TYPE_ASSAULT,
    "mec_engineer"                  : KIT_TYPE_ENGINEER,
    "mec_medic"                     : KIT_TYPE_MEDIC,
    "mec_specops"                   : KIT_TYPE_SPECOPS,
    "mec_support"                   : KIT_TYPE_SUPPORT,
    "mec_sniper"                    : KIT_TYPE_SNIPER,
    "ch_at"                         : KIT_TYPE_AT,
    "ch_assault"                    : KIT_TYPE_ASSAULT,
    "ch_engineer"                   : KIT_TYPE_ENGINEER,
    "ch_medic"                      : KIT_TYPE_MEDIC,
    "ch_specops"                    : KIT_TYPE_SPECOPS,
    "ch_support"                    : KIT_TYPE_SUPPORT,
    "ch_sniper"                     : KIT_TYPE_SNIPER,
# xpack1 - SpecialForces
    "seal_at"                       : KIT_TYPE_AT,
    "seal_assault"                  : KIT_TYPE_ASSAULT,
    "seal_engineer"                 : KIT_TYPE_ENGINEER,
    "seal_medic"                    : KIT_TYPE_MEDIC,
    "seal_specops"                  : KIT_TYPE_SPECOPS,
    "seal_support"                  : KIT_TYPE_SUPPORT,
    "seal_sniper"                   : KIT_TYPE_SNIPER,
    "sas_at"                        : KIT_TYPE_AT,
    "sas_assault"                   : KIT_TYPE_ASSAULT,
    "sas_engineer"                  : KIT_TYPE_ENGINEER,
    "sas_medic"                     : KIT_TYPE_MEDIC,
    "sas_specops"                   : KIT_TYPE_SPECOPS,
    "sas_support"                   : KIT_TYPE_SUPPORT,
    "sas_sniper"                    : KIT_TYPE_SNIPER,
    "spetsnaz_at"                   : KIT_TYPE_AT,
    "spetsnaz_assault"              : KIT_TYPE_ASSAULT,
    "spetsnaz_engineer"             : KIT_TYPE_ENGINEER,
    "spetsnaz_medic"                : KIT_TYPE_MEDIC,
    "spetsnaz_specops"              : KIT_TYPE_SPECOPS,
    "spetsnaz_support"              : KIT_TYPE_SUPPORT,
    "spetsnaz_sniper"               : KIT_TYPE_SNIPER,
    "mecsf_at"                      : KIT_TYPE_AT,
    "mecsf_assault"                 : KIT_TYPE_ASSAULT,
    "mecsf_engineer"                : KIT_TYPE_ENGINEER,
    "mecsf_medic"                   : KIT_TYPE_MEDIC,
    "mecsf_specops"                 : KIT_TYPE_SPECOPS,
    "mecsf_support"                 : KIT_TYPE_SUPPORT,
    "mecsf_sniper"                  : KIT_TYPE_SNIPER,
    "chinsurgent_at"                : KIT_TYPE_AT,
    "chinsurgent_assault"           : KIT_TYPE_ASSAULT,
    "chinsurgent_engineer"          : KIT_TYPE_ENGINEER,
    "chinsurgent_medic"             : KIT_TYPE_MEDIC,
    "chinsurgent_specops"           : KIT_TYPE_SPECOPS,
    "chinsurgent_support"           : KIT_TYPE_SUPPORT,
    "chinsurgent_sniper"            : KIT_TYPE_SNIPER,
    "meinsurgent_at"                : KIT_TYPE_AT,
    "meinsurgent_assault"           : KIT_TYPE_ASSAULT,
    "meinsurgent_engineer"          : KIT_TYPE_ENGINEER,
    "meinsurgent_medic"             : KIT_TYPE_MEDIC,
    "meinsurgent_specops"           : KIT_TYPE_SPECOPS,
    "meinsurgent_support"           : KIT_TYPE_SUPPORT,
    "meinsurgent_sniper"            : KIT_TYPE_SNIPER,
    "mecsf_at_special"              : KIT_TYPE_AT,
    "mecsf_assault_special"         : KIT_TYPE_ASSAULT,
    "mecsf_specops_special"         : KIT_TYPE_SPECOPS,
    "mecsf_sniper_special"          : KIT_TYPE_SNIPER,
    "sas_at_special"                : KIT_TYPE_AT,
    "sas_assault_special"           : KIT_TYPE_ASSAULT,
    "sas_specops_special"           : KIT_TYPE_SPECOPS,
    "sas_sniper_special"            : KIT_TYPE_SNIPER,
# booster pack 1 - Euroforces
    "eu_at"                         : KIT_TYPE_AT,
    "eu_assault"                    : KIT_TYPE_ASSAULT,
    "eu_engineer"                   : KIT_TYPE_ENGINEER,
    "eu_medic"                      : KIT_TYPE_MEDIC,
    "eu_specops"                    : KIT_TYPE_SPECOPS,
    "eu_support"                    : KIT_TYPE_SUPPORT,
    "eu_sniper"                     : KIT_TYPE_SNIPER,
# POE2
    "ger_assault"                   : KIT_TYPE_ASSAULT,
    "ger_at"                        : KIT_TYPE_AT,
    "ger_engineer"                  : KIT_TYPE_ENGINEER,
    "ger_medic"                     : KIT_TYPE_MEDIC,
    "ger_sniper"                    : KIT_TYPE_SNIPER,
    "ger_specops"                   : KIT_TYPE_SPECOPS,
    "ger_support"                   : KIT_TYPE_SUPPORT,
    "ukr_at"                        : KIT_TYPE_AT,
    "ukr_assault"                   : KIT_TYPE_ASSAULT,
    "ukr_engineer"                  : KIT_TYPE_ENGINEER,
    "ukr_medic"                     : KIT_TYPE_MEDIC,
    "ukr_specops"                   : KIT_TYPE_SPECOPS,
    "ukr_support"                   : KIT_TYPE_SUPPORT,
    "ukr_sniper"                    : KIT_TYPE_SNIPER,
# AIX 1.0
    "un_at"                         : KIT_TYPE_AT,
    "un_assault"                    : KIT_TYPE_ASSAULT,
    "un_engineer"                   : KIT_TYPE_ENGINEER,
    "un_medic"                      : KIT_TYPE_MEDIC,
    "un_sniper"                     : KIT_TYPE_SNIPER,
    "un_specops"                    : KIT_TYPE_SPECOPS,
    "un_support"                    : KIT_TYPE_SUPPORT,
    # Pickup Kits
    "assault_ak5"                   : KIT_TYPE_ASSAULT,
    "assault_ak5"                   : KIT_TYPE_ASSAULT,
    "assault_ak5"                   : KIT_TYPE_ASSAULT,
    "assault_fn_fal"                : KIT_TYPE_ASSAULT,
    "assault_g36k"                  : KIT_TYPE_ASSAULT,
    "assault_g3a3"                  : KIT_TYPE_ASSAULT,
    "assault_gp25"                  : KIT_TYPE_ASSAULT,
    "assault_gp30"                  : KIT_TYPE_ASSAULT,
    "assault_m16_m203"              : KIT_TYPE_ASSAULT,
    "assault_m41a"                  : KIT_TYPE_ASSAULT,
    "assault_sa80a2"                : KIT_TYPE_ASSAULT,
    "at_bizon"                      : KIT_TYPE_AT,
    "at_eryx_lt"                    : KIT_TYPE_AT,
    "at_mgl140"                     : KIT_TYPE_AT,
    "at_mp5"                        : KIT_TYPE_AT,
    "at_rpg7"                       : KIT_TYPE_AT,
    "at_stinger"                    : KIT_TYPE_AT,
    "at_strela2"                    : KIT_TYPE_AT,
    "engineer_benelli_m4"           : KIT_TYPE_ENGINEER,
    "engineer_famas"                : KIT_TYPE_ENGINEER,
    "engineer_hk416"                : KIT_TYPE_ENGINEER,
    "engineer_jackhammer"           : KIT_TYPE_ENGINEER,
    "engineer_mk14ebr"              : KIT_TYPE_ENGINEER,
    "engineer_norinco982"           : KIT_TYPE_ENGINEER,
    "engineer_protecta"             : KIT_TYPE_ENGINEER,
    "engineer_remington11-87"       : KIT_TYPE_ENGINEER,
    "engineer_saiga12"              : KIT_TYPE_ENGINEER,
    "engineer_tavor"                : KIT_TYPE_ENGINEER,
    "medic_ak101"                   : KIT_TYPE_MEDIC,
    "medic_ak47"                    : KIT_TYPE_MEDIC,
    "medic_fs2000"                  : KIT_TYPE_MEDIC,
    "medic_g36e"                    : KIT_TYPE_MEDIC,
    "medic_m16a2"                   : KIT_TYPE_MEDIC,
    "medic_sa80"                    : KIT_TYPE_MEDIC,
    "medic_steyr_aug"               : KIT_TYPE_MEDIC,
    "sniper_as50"                   : KIT_TYPE_SNIPER,
    "sniper_dragunov"               : KIT_TYPE_SNIPER,
    "sniper_dsr"                    : KIT_TYPE_SNIPER,
    "sniper_l96a1"                  : KIT_TYPE_SNIPER,
    "sniper_m109"                   : KIT_TYPE_SNIPER,
    "sniper_m24"                    : KIT_TYPE_SNIPER,
    "sniper_m82"                    : KIT_TYPE_SNIPER,
    "sniper_m95_barret"             : KIT_TYPE_SNIPER,
    "sniper_tpg1"                   : KIT_TYPE_SNIPER,
    "sniper_type88"                 : KIT_TYPE_SNIPER,
    "specops_aix_famas"             : KIT_TYPE_SPECOPS,
    "specops_ak74u"                 : KIT_TYPE_SPECOPS,
    "specops_fnscarl"               : KIT_TYPE_SPECOPS,
    "specops_g36c"                  : KIT_TYPE_SPECOPS,
    "specops_hk53a3"                : KIT_TYPE_SPECOPS,
    "specops_m4"                    : KIT_TYPE_SPECOPS,
    "specops_sg552"                 : KIT_TYPE_SPECOPS,
    "specops_type95"                : KIT_TYPE_SPECOPS,
    "specops_xm8"                   : KIT_TYPE_SPECOPS,
    "support_hk21"                  : KIT_TYPE_SUPPORT,
    "support_m249saw"               : KIT_TYPE_SUPPORT,
    "support_mg36"                  : KIT_TYPE_SUPPORT,
    "support_minigun"               : KIT_TYPE_SUPPORT,
    "support_minigun_mec"           : KIT_TYPE_SUPPORT,
    "support_pkm"                   : KIT_TYPE_SUPPORT,
    "support_pkm"                   : KIT_TYPE_SUPPORT,
    "support_stg58"                 : KIT_TYPE_SUPPORT,
    "support_type95"                : KIT_TYPE_SUPPORT,
# AIX 2.0
    "ch_assault-inf"                : KIT_TYPE_ASSAULT,
    "ch_at-inf"                     : KIT_TYPE_AT,
    "ch_engineer-inf"               : KIT_TYPE_ENGINEER,
    "ch_sniper-inf"                 : KIT_TYPE_SNIPER,
    "ch_specops-inf"                : KIT_TYPE_SPECOPS,
    "mec_assault-inf"               : KIT_TYPE_ASSAULT,
    "mec_at-inf"                    : KIT_TYPE_AT,
    "mec_engineer-inf"              : KIT_TYPE_ENGINEER,
    "mec_sniper-inf"                : KIT_TYPE_SNIPER,
    "mec_specops-inf"               : KIT_TYPE_SPECOPS,
    "mec_support_pkm"               : KIT_TYPE_SUPPORT,
    "un_assault-inf"                : KIT_TYPE_ASSAULT,
    "un_at-inf"                     : KIT_TYPE_AT,
    "un_engineer-inf"               : KIT_TYPE_ENGINEER,
    "un_sniper-inf"                 : KIT_TYPE_SNIPER,
    "un_specops-inf"                : KIT_TYPE_SPECOPS,
    "us_assault-inf"                : KIT_TYPE_ASSAULT,
    "us_at-inf"                     : KIT_TYPE_AT,
    "us_engineer-inf"               : KIT_TYPE_ENGINEER,
    "us_sniper-inf"                 : KIT_TYPE_SNIPER,
    "us_specops-inf"                : KIT_TYPE_SPECOPS,
    "us_support_saw"                : KIT_TYPE_SUPPORT,
    # Pickup Kits
    "engineer_tavor-inf"            : KIT_TYPE_ENGINEER,
    "sniper_m109-inf"               : KIT_TYPE_SNIPER,
    "specops_sg552-inf"             : KIT_TYPE_SPECOPS,
#Hard Justice 1.3
    "us2_at"                        : KIT_TYPE_AT,
    "us2_assault"                   : KIT_TYPE_ASSAULT,
    "us2_engineer"                  : KIT_TYPE_ENGINEER,
    "us2_medic"                     : KIT_TYPE_MEDIC,
    "us2_specops"                   : KIT_TYPE_SPECOPS,
    "us2_support"                   : KIT_TYPE_SUPPORT,
    "us2_sniper"                    : KIT_TYPE_SNIPER,
    "mec2_at"                       : KIT_TYPE_AT,
    "mec2_assault"                  : KIT_TYPE_ASSAULT,
    "mec2_engineer"                 : KIT_TYPE_ENGINEER,
    "mec2_medic"                    : KIT_TYPE_MEDIC,
    "mec2_specops"                  : KIT_TYPE_SPECOPS,
    "mec2_support"                  : KIT_TYPE_SUPPORT,
    "mec2_sniper"                   : KIT_TYPE_SNIPER,
    "ch2_at"                        : KIT_TYPE_AT,
    "ch2_assault"                   : KIT_TYPE_ASSAULT,
    "ch2_engineer"                  : KIT_TYPE_ENGINEER,
    "ch2_medic2"                    : KIT_TYPE_MEDIC,
    "ch2_specops"                   : KIT_TYPE_SPECOPS,
    "ch2_support"                   : KIT_TYPE_SUPPORT,
    "ch2_sniper"                    : KIT_TYPE_SNIPER,
    "us3_at"                        : KIT_TYPE_AT,
    "us3_assault"                   : KIT_TYPE_ASSAULT,
    "us3_engineer"                  : KIT_TYPE_ENGINEER,
    "us3_medic"                     : KIT_TYPE_MEDIC,
    "us3_specops"                   : KIT_TYPE_SPECOPS,
    "us3_support"                   : KIT_TYPE_SUPPORT,
    "us3_sniper"                    : KIT_TYPE_SNIPER,
    "mec3_at"                       : KIT_TYPE_AT,
    "mec3_assault"                  : KIT_TYPE_ASSAULT,
    "mec3_engineer"                 : KIT_TYPE_ENGINEER,
    "mec3_medic"                    : KIT_TYPE_MEDIC,
    "mec3_specops"                  : KIT_TYPE_SPECOPS,
    "mec3_support"                  : KIT_TYPE_SUPPORT,
    "mec3_sniper"                   : KIT_TYPE_SNIPER,
    "ch3_at"                        : KIT_TYPE_AT,
    "ch3_assault"                   : KIT_TYPE_ASSAULT,
    "ch3_engineer"                  : KIT_TYPE_ENGINEER,
    "ch3_medic"                     : KIT_TYPE_MEDIC,
    "ch3_specops"                   : KIT_TYPE_SPECOPS,
    "ch3_support"                   : KIT_TYPE_SUPPORT,
    "ch3_sniper"                    : KIT_TYPE_SNIPER,
    "ca_at"                         : KIT_TYPE_AT,
    "ca_assault"                    : KIT_TYPE_ASSAULT,
    "ca_engineer"                   : KIT_TYPE_ENGINEER,
    "ca_medic"                      : KIT_TYPE_MEDIC,
    "ca_specops"                    : KIT_TYPE_SPECOPS,
    "ca_support"                    : KIT_TYPE_SUPPORT,
    "ca_sniper"                     : KIT_TYPE_SNIPER,
# AIX 2.0 TNG Maps
    "ch_assault_v2"                 : KIT_TYPE_ASSAULT,
    "ch_at_v2"                      : KIT_TYPE_AT,
    "ch_engineer_v2"                : KIT_TYPE_ENGINEER,
    "ch_medic_v2"                   : KIT_TYPE_MEDIC,
    "ch_sniper_v2"                  : KIT_TYPE_SNIPER,
    "ch_specops_v2"                 : KIT_TYPE_SPECOPS,
    "ch_support_v2"                 : KIT_TYPE_SUPPORT,
    "mec_support_v2"                : KIT_TYPE_SUPPORT,
    "us_support_v2"                 : KIT_TYPE_SUPPORT,
# AIX 2.0 TNG 2.0
    "ch_assault_v2"                 : KIT_TYPE_ASSAULT,
    "ch_at_v2"                      : KIT_TYPE_AT,
    "ch_engineer_v2"                : KIT_TYPE_ENGINEER,
    "ch_medic_v2"                   : KIT_TYPE_MEDIC,
    "ch_medic_v3"                   : KIT_TYPE_MEDIC,
    "ch_sniper_v2"                  : KIT_TYPE_SNIPER,
    "ch_specops_v2"                 : KIT_TYPE_SPECOPS,
    "ch_support_v2"                 : KIT_TYPE_SUPPORT,
    "ch_support_v3"                 : KIT_TYPE_SUPPORT,
    "un_assault_v2"                 : KIT_TYPE_ASSAULT,
    "un_at_v2"                      : KIT_TYPE_AT,
    "un_engineer_v2"                : KIT_TYPE_ENGINEER,
    "un_medic_v2"                   : KIT_TYPE_MEDIC,
    "un_medic_v3"                   : KIT_TYPE_MEDIC,
    "un_specops_v2"                 : KIT_TYPE_SPECOPS,
    "un_support_v2"                 : KIT_TYPE_SUPPORT,
    "un_support_v3"                 : KIT_TYPE_SUPPORT,
    "un_sniper_v2"                  : KIT_TYPE_SNIPER,
    "mec_assault_v2"                : KIT_TYPE_ASSAULT,
    "mec_medic_v2"                  : KIT_TYPE_MEDIC,
    "mec_medic_v3"                  : KIT_TYPE_MEDIC,
    "mec_sniper_v2"                 : KIT_TYPE_SNIPER,
    "mec_specops_v2"                : KIT_TYPE_SPECOPS,
    "mec_support_v3"                : KIT_TYPE_SUPPORT,
    "us_assault_v2"                 : KIT_TYPE_ASSAULT,
    "us_at_v2"                      : KIT_TYPE_AT,
    "us_engineer_v2"                : KIT_TYPE_ENGINEER,
    "us_medic_v2"                   : KIT_TYPE_MEDIC,
    "us_sniper_v2"                  : KIT_TYPE_SNIPER,
    "us_specops_v2"                 : KIT_TYPE_SPECOPS,
# NAV - Nations@War 6.0
    "iran_specops"                  : KIT_TYPE_SPECOPS,
    "iraq_sniper"                   : KIT_TYPE_SNIPER,
    "czh_sniper"                    : KIT_TYPE_SNIPER,
    "kor_assault"                   : KIT_TYPE_ASSAULT,
    "uk_assault"                    : KIT_TYPE_ASSAULT,
    "jap_support"                   : KIT_TYPE_SUPPORT,
    "nor_support"                   : KIT_TYPE_SUPPORT,
    "ch_engineer"                   : KIT_TYPE_ENGINEER,
    "ger_engineer"                  : KIT_TYPE_ENGINEER,
    "pak_medic"                     : KIT_TYPE_MEDIC,
    "den_medic"                     : KIT_TYPE_MEDIC,
    "syr_at"                        : KIT_TYPE_AT,
    "can_at"                        : KIT_TYPE_AT,
    "us_support_super"              : KIT_TYPE_SUPPORT,
    "us_sniper_super"               : KIT_TYPE_SNIPER,
    "us_engineer_super"             : KIT_TYPE_ENGINEER,
    "us_antiair"                    : KIT_TYPE_AT,
    "ch_engineer_super"             : KIT_TYPE_ENGINEER,
    "ch_antiair"                    : KIT_TYPE_AT,
    "ch_support_super"              : KIT_TYPE_SUPPORT,
    "ch_sniper_super"               : KIT_TYPE_SNIPER,
# AIX 2.0 TNG2.0 - Boosterpack
    "mec_at_v2"                     : KIT_TYPE_AT,
    "mec_engineer_v2"               : KIT_TYPE_ENGINEER,
    "us_medic_v3"                   : KIT_TYPE_MEDIC,
    "us_support_v3"                 : KIT_TYPE_SUPPORT,
# AIX2 - NWM
    "nwm_at"                        : KIT_TYPE_AT,
    "nwm_assault"                   : KIT_TYPE_ASSAULT,
    "nwm_engineer"                  : KIT_TYPE_ENGINEER,
    "nwm_medic"                     : KIT_TYPE_MEDIC,
    "nwm_specops"                   : KIT_TYPE_SPECOPS,
    "nwm_support"                   : KIT_TYPE_SUPPORT,
    "nwm_sniper"                    : KIT_TYPE_SNIPER,
}


armyMap = {
# Battlefield2
    "us"             : ARMY_USA,
    "mec"            : ARMY_MEC,
    "ch"             : ARMY_CHINESE,
# xpack1 - SpecialForces
    "seal"           : ARMY_SEALS,
    "sas"            : ARMY_SAS,
    "spetz"          : ARMY_SPETZNAS,
    "mecsf"          : ARMY_MECSF,
    "chinsurgent"    : ARMY_REBELS,
    "meinsurgent"    : ARMY_INSURGENTS,
# booster pack 1 - Euroforces
    "eu"             : ARMY_EURO,
# POE2
    "ger"            : ARMY_GER,
    "ukr"            : ARMY_UKR,
# AIX
    "un"             : ARMY_UN,
# Hard Justice
    "us2"            : ARMY_USA,
    "us3"            : ARMY_USA,
    "mec2"           : ARMY_MEC,
    "mec3"           : ARMY_MEC,
    "ch2"            : ARMY_CHINESE,
    "ch3"            : ARMY_CHINESE,
    "ca"             : ARMY_CANADIAN
}


mapMap = {
# !! Doppelte Maps sind auskommentiert, bei bedarf aendern!!
# Battlefield2
    # middle eastern theater
    "kubra_dam"                     : "0",
    "mashtuur_city"                 : "1",
    "operation_clean_sweep"         : "2",
    "zatar_wetlands"                : "3",
    "strike_at_karkand"             : "4",
    "sharqi_peninsula"              : "5",
    "gulf_of_oman"                  : "6",
    "operationsmokescreen"          : "10",
    "taraba_quarry"                 : "11",
    "road_to_jalalabad"             : "12",
    # Asian Theater
    "daqing_oilfields"              : "100",
    "dalian_plant"                  : "101",
    "dragon_valley"                 : "102",
    "fushe_pass"                    : "103",
    "hingan_hills"                  : "104",
    "songhua_stalemate"             : "105",
    "greatwall"                     : "110",
    # US Theatre
    "midnight_sun"                  : "200",
    "operationroadrage"             : "201",
    "operationharvest"              : "202",
    # xpack1 - SpecialForces
    "devils_perch"                  : "300",
    "iron_gator"                    : "301",
    "night_flight"                  : "302",
    "warlord"                       : "303",
    "leviathan"                     : "304",
    "mass_destruction"              : "305",
    "surge"                         : "306",
    "ghost_town"                    : "307",
    # Special maps
    "wake_island_2007"              : "601",
    "highway_tampa"                 : "602",
    "operation_blue_pearl"          : "603",
# POE2
    "battle_of_sambir"              : "1001",
    "carpathian_mountains"          : "1002",
    "dnipro_sunrise"                : "1003",
    "dnister_river_valley"          : "1004",
    "fallen"                        : "1005",
    "first_snow"                    : "1006",
    "guardian"                      : "1007",
    "highway_to_hell"               : "1008",
    "lutsk"                         : "1009",
    "orel"                          : "1010",
    "rivne"                         : "1011",
    "rolling_thunder"               : "1012",
    "zhytomyr"                      : "1013",
    "spies_like_us"                 : "1014",
# AIX 1.0
    "aix_archipelago"               : "3000",
    "aix_damocles"                  : "3001",
    "daqing_dawn"                   : "3002",
    "dragon_valley_moon"            : "3003",
    "falklands"                     : "3004",
    #"gulf_of_oman"                 : "3005", #In Battlefield 2 vorhanden
    "karkand_stormfront"            : "3006",
    "processing_plant"              : "3007",
    "aix_refinery"                  : "3008",
    "aix_runningman"                : "3009",
    #"sharqi_peninsula"             : "3010", #In Battlefield 2 vorhanden
    "the_push_day"                  : "3011",
    "urban_jungle"                  : "3012",
    "wake_twilight"                 : "3013",
    "zatar_wetlands_ii"             : "3014",
    "zzz_easter_island"             : "3015",
# AIX 1.0 ITTH MapPack 1
    "end_of_the_line"               : "3020",
    "kursk"                         : "3021",
    "marauders_at_midnight"         : "3022",
    "midway"                        : "3023",
    "snowy_park"                    : "3024",
    "snowy_park_day"                : "3025",
    "snowy_park_summer"             : "3026",
    "solomon_showdown"              : "3027",
# AIX 1.0 ITTH MapPack 2
    "battle_of_kirkuk_oilfields"    : "3030",
    "husky"                         : "3031",
    "invasion_of_the_philippines"   : "3032",
    "iron_thunder"                  : "3033",
    "operation_fox"                 : "3034",
# AIX 1.0 ITTH MapPack 3
    "eagles_nest"                   : "3040",
    "iwo_jima"                      : "3041",
    "manamoc_island"                : "3042",
    "rebellion"                     : "3043",
    "red_dawn"                      : "3044",
    "tobruk"                        : "3045",
# AIX 2.0
    #"aix_archipelago"              : "3100", #In AIX 1.0 vorhanden
    #"aix_damocles"                 : "3101", #In AIX 1.0 vorhanden
    "aix_greasy_mullet"             : "3102",
    "aix_hammer_down"               : "3103",
    "aix_operation_static"          : "3104",
    #"aix_refinery"                 : "3105", #In AIX 1.0 vorhanden
    #"aix_runningman"               : "3106", #In AIX 1.0 vorhanden
    "aix_trident"                   : "3107",
    "aix_wake_island_2007"          : "3108",
    "city_district"                 : "3109",
    #"dalian_plant"                 : "3110", #In Battlefield 2 vorhanden
    #"daqing_dawn"                  : "3111", #In AIX 1.0 vorhanden
    #"dragon_valley"                : "3112", #In Battlefield 2 vorhanden
    #"dragon_valley_moon"           : "3113", #In AIX 1.0 vorhanden
    #"falklands"                    : "3114", #In AIX 1.0 vorhanden
    #"gulf_of_oman"                 : "3115", #In AIX 1.0 vorhanden
    #"karkand_stormfront"           : "3116", #In AIX 1.0 vorhanden
    #"processing_plant"             : "3117", #In AIX 1.0 vorhanden
    #"sharqi_peninsula"             : "3118", #In AIX 1.0 vorhanden
    #"the_push_day"                 : "3119", #In AIX 1.0 vorhanden
    #"urban_jungle"                 : "3120", #In AIX 1.0 vorhanden
    #"wake_twilight"                : "3121", #In AIX 1.0 vorhanden
    #"zatar_wetlands_ii"            : "3122", #In AIX 1.0 vorhanden
    #"zzz_easter_island"            : "3123", #In AIX 1.0 vorhanden
# AIX 2.0 ITTH MapPack
    "aberdeen"                      : "3150",
    "bataan"                        : "3151",
    #"battle_of_kirkuk_oilfields"   : "3152", # In AIX 1.0 ITTH MapPack 2 vorhanden
    "battleaxe"                     : "3153",
    "bizerte"                       : "3154",
    "city_park"                     : "3155",
    "city_park_night"               : "3156",
    #"eagles_nest"                  : "3157", # In AIX 1.0 ITTH MapPack 3 vorhanden
    #"end_of_the_line"              : "3158", # In AIX 1.0 ITTH MapPack 1 vorhanden
    "guadalcanal"                   : "3159",
    #"husky"                        : "3160", # In AIX 1.0 ITTH MapPack 2 vorhanden
    "invasion_of_the_coral_sea"     : "3161",
    #"invasion_of_the_philippines"  : "3162", # In AIX 1.0 ITTH MapPack 2 vorhanden
    #"iron_thunder"                 : "3163", # In AIX 1.0 ITTH MapPack 2 vorhanden
    #"iwo_jima"                     : "3164", # In AIX 1.0 ITTH MapPack 3 vorhanden
    "kasserine_pass_2008"           : "3165",
    #"kursk"                        : "3166", # In AIX 1.0 ITTH MapPack 1 vorhanden
    #"manamoc_island"               : "3167", # In AIX 1.0 ITTH MapPack 3 vorhanden
    #"marauders_at_midnight"        : "3168", # In AIX 1.0 ITTH MapPack 1 vorhanden
    #"midway"                       : "3169", # In AIX 1.0 ITTH MapPack 1 vorhanden
    #"operation_fox"                : "3170", # In AIX 1.0 ITTH MapPack 2 vorhanden
    "raid_on_agheila"               : "3171",
    #"rebellion"                    : "3172", # In AIX 1.0 ITTH MapPack 3 vorhanden
    #"red_dawn"                     : "3173", # In AIX 1.0 ITTH MapPack 3 vorhanden
    #"snowy_park"                   : "3174", # In AIX 1.0 ITTH MapPack 1 vorhanden
    #"snowy_park_day"               : "3175", # In AIX 1.0 ITTH MapPack 1 vorhanden
    #"snowy_park_summer"            : "3176", # In AIX 1.0 ITTH MapPack 1 vorhanden
    #"solomon_showdown"             : "3177", # In AIX 1.0 ITTH MapPack 1 vorhanden
    #"tobruk"                       : "3178", # In AIX 1.0 ITTH MapPack 3 vorhanden
    "urban_decay"                   : "3179",
# AIX 2 TNG
    "tng_archipelago"               : "3300",
    "tng_clean_sweep_ii"            : "3301",
    "tng_dalian_plant"              : "3302",
    "tng_daqing_dawn"               : "3303",
    "tng_dragon_valley_moon"        : "3304",
    "tng_frostbite"                 : "3305",
    "tng_fushe_pass"                : "3306",
    "tng_gazala_v2"                 : "3307",
    "tng_archipelago_moon"          : "3308",
    "tng_gulf_of_oman"              : "3309",
    "tng_highway_tampa"             : "3310",
    "tng_iwo_jima"                  : "3311",
    "tng_kirkuk_basin"              : "3312",
    "tng_kubra_dam"                 : "3313",
    "tng_the_dam_flood"             : "3314",
    "tng_the_push_day"              : "3315",
    "tng_town_strike"               : "3316",
    "tng_trident"                   : "3317",
    "tng_trident_moon"              : "3318",
    "tng_wake_island"               : "3319",
    "tng_zatar_wetlands_ii"         : "3320",
# AIX 2 TNG 2.0
    "tng_airport"                   : "3350",
    #"tng_archipelago"              : "3351", # In AIX 2 TNG schon vorhanden
    #"tng_archipelago_moon"         : "3352", # In AIX 2 TNG schon vorhanden
    #"tng_clean_sweep_ii"           : "3353", # In AIX 2 TNG schon vorhanden
    "tng_course_of_the_river"       : "3354",
    #"tng_dalian_plant"             : "3355", # In AIX 2 TNG schon vorhanden
    #"tng_daqing_dawn"              : "3356", # In AIX 2 TNG schon vorhanden
    "tng_dragon_valley"             : "3357",
    #"tng_dragon_valley_moon"       : "3358", # In AIX 2 TNG schon vorhanden
    #"tng_frostbite"                : "3359", # In AIX 2 TNG schon vorhanden
    #"tng_fushe_pass"               : "3360", # In AIX 2 TNG schon vorhanden
    #"tng_gazala_v2"                : "3361", # In AIX 2 TNG schon vorhanden
    #"tng_gulf_of_oman"             : "3362", # In AIX 2 TNG schon vorhanden
    #"tng_highway_tampa"            : "3363", # In AIX 2 TNG schon vorhanden
    "tng_kandahar_river_valley"     : "3364",
    #"tng_kirkuk_basin"             : "3365", # In AIX 2 TNG schon vorhanden
    #"tng_kubra_dam"                : "3366", # In AIX 2 TNG schon vorhanden
    "tng_oasis_revisited"           : "3367",
    "tng_op_yellow_dragon"          : "3368",
    "tng_road_to_jalalabad"         : "3369",
    "tng_sands_of_sinai"            : "3370",
    "tng_street"                    : "3371",
    #"tng_the_dam_flood"            : "3372", # In AIX 2 TNG schon vorhanden
    #"tng_the_push_day"             : "3373", # In AIX 2 TNG schon vorhanden
    "tng_the_sniper_day"            : "3374",
    #"tng_town_strike"              : "3375", # In AIX 2 TNG schon vorhanden
    #"tng_trident"                  : "3376", # In AIX 2 TNG schon vorhanden
    #"tng_trident_moon"             : "3377", # In AIX 2 TNG schon vorhanden
    #"tng_wake_island"              : "3378", # In AIX 2 TNG schon vorhanden
    "tng_wake_twilight"             : "3379",
    #"tng_zatar_wetlands_ii"        : "3380", # In AIX 2 TNG schon vorhanden
# AIX 2.1
    "abandoned_uranium_rip"         : "3400",
# Hard Justice 1.3
    "basrah"                        : "4000",
    #"dalian_plant"                 : "4001", #In Battlefield 2 vorhanden
    #"daqing_oilfields"             : "4002", #In Battlefield 2 vorhanden
    "desert_shield_advanced"        : "4003",
    #"dragon_valley"                : "4004", #In Battlefield 2 vorhanden
    #"fuShe_pass"                   : "4005", #In Battlefield 2 vorhanden
    #"gulf_of_oman"                 : "4006", #In Battlefield 2 vorhanden
    #"highway_tampa"                : "4007", #In Battlefield 2 vorhanden
    "island_city"                   : "4008",
    "juno_beach"                    : "4009",
    "kandaharpatrol"                : "4010",
    #"kubra_dam"                    : "4011", #In Battlefield 2 vorhanden
    "lost_island"                   : "4012",
    #"mashtuur_city"                : "4013", #In Battlefield 2 vorhanden
    "omaha_beach_2008"              : "4014",
    #"operation_clean_sweep"        : "4015", #In Battlefield 2 vorhanden
    "remagen_bridge"                : "4016",
    #"road_to_jalalabad"            : "4017", #In Battlefield 2 vorhanden
    "road_to_karkand"               : "4018",
    #"sharqi_peninsula"             : "4019", #In Battlefield 2 vorhanden
    #"songhua_stalemate"            : "4020", #In Battlefield 2 vorhanden
    #"strike_at_karkand"            : "4021", #In Battlefield 2 vorhanden
    "the_harbor"                    : "4022",
    "the_middle_ground"             : "4023",
    #"wake_island_2007"             : "4024", #In Battlefield 2 vorhanden
    "weapon_bunker"                 : "4025",
    #"zatar_wetlands"               : "4026", #In Battlefield 2 vorhanden
# Hard Justice Mappack 1
    # "battle_of_kirkuk_oilfields"  : "4030", #In AIX 1.0 ITTH MapPack 2 vorhanden
    "bl_bridge2b"                   : "4031",
    "course_of_the_river"           : "4032",
    "cult_site"                     : "4033",
    "desert_storm"                  : "4034",
    "divided_city"                  : "4035",
    "el_alamein_day1"               : "4036",
    "gulf_of_aqaba_bfsp"            : "4037",
    "jammed"                        : "4038",
    "kyzyl_kum"                     : "4039",
    "requiem"                       : "4040",
# Hard Justice Mappack 2
    "insurgency_on_alcatraz_island" : "4050",
    "nantari_crossing"              : "4051",
    "operation_amos"                : "4052",
    "operation_compton"             : "4053",
    "operation_frog"                : "4054",
    "operation_nightshift"          : "4055",
    "operation_power_failure_bfsp"  : "4056",
    "street"                        : "4057",
    #"tobruk"                       : "4058", #In AIX 1.0 ITTH MapPack 3 vorhanden
    "vulcan_island"                 : "4059",
    "zhanjiang_security_area"       : "4060",
# Hard Justice Mappack 3
    "heli_attack"                   : "4070",
    "imprisoned"                    : "4071",
    "jibbel_city"                   : "4072",
    "last_stand"                    : "4073",
    #"red_dawn"                     : "4074", #In AIX 1.0 ITTH MapPack 3 vorhanden
    "sands_of_sinai_v1_1"           : "4075",
    "snow_soldier"                  : "4076",
    "steel_thunder"                 : "4077",
    "volgograd_2010"                : "4078",
# Nation@War 6.0
    "adh_oasis_revisited"           : "4200",
    "al_khafji_docks"               : "4201",
    "a_bad_surprise"                : "4202",
    "back_to_the_suribachi"         : "4203",
    "basrahs_edge_bfds"             : "4204",
    "berlin"                        : "4205",
    #"bl_bridge2b"                  : "4206",  #In Hard Justice vorhanden
    "cat_island"                    : "4207",
    "christmas_hill"                : "4208",
    "dalian_2"                      : "4209",
    #"daqing_oilfields"             : "4210",  #In Battlefield 2 vorhanden
    #"dragon_valley"                : "4211",  #In  Battlefield 2 vorhanden
    #"eagles_nest"                  : "4212",  #In AIX 1.0 ITTH MapPack 3 vorhanden
    "el_alamein_bfds_sp"            : "4213",
    #"end_of_the_line"              : "4214",  #In AIX 1.0 ITTH MapPack 1 vorhanden
    "forest_railway"                : "4215",
    #"frostbite"                    : "4216",  #In AIX 2 TNG vorhanden
    "frostbite_night"               : "4217",
    #"fushe_pass"                   : "4218",  #In Battlefield 2 vorhanden
    "gazala_bfds_v2"                : "4219",
    #"greatwall"                    : "4220",  #In Battlefield 2 vorhanden
    #"gulf_of_oman"                 : "4221",  #In Battlefield 2 vorhanden
    "heaven_and_hell"               : "4222",
    #"highway_tampa"                : "4223",  #In Battlefield 2 vorhanden
    #"invasion_of_the_coral_sea"    : "4224",  #In AIX 2.0 ITTH MapPack vorhanden
    #"invasion_of_the_philippines"  : "4225",  #In AIX 1.0 ITTH MapPack 2 vorhanden
    "iraq_oilfields"                : "4226",
    #"iwo_jima"                     : "4227",  #In AIX 1.0 ITTH MapPack 3 vorhanden
    #"jibbel_city"                  : "4228",  #In Hard Justice Mappack 3 vorhanden
    #"kasserine_pass"               : "4229",  #In AIX 2.0 ITTH MapPack vorhanden
    #"kubra_dam"                    : "4230",  #In Battlefield 2 vorhanden
    "last_stand_snipers"            : "4231",
    #"mashtuur_city"                : "4232",  #In Battlefield 2 vorhanden
    #"midnight_sun"                 : "4233",  #In Battlefield 2 vorhanden
    #"midway"                       : "4234",  #In AIX 1.0 ITTH MapPack 1 vorhanden
    "none_but_the_brave"            : "4235",
    #"operationharvest"             : "4236",  #In Battlefield 2 vorhanden
    #"operationroadrage"            : "4237",  #In Battlefield 2 vorhanden
    #"operationsmokescreen"         : "4238",  #In Battlefield 2 vorhanden
    "operation_black_hawk_down"     : "4239",
    #"operation_blue_pearl"         : "4240",  #In Battlefield 2 vorhanden
    #"operation_clean_sweep"        : "4241",  #In Battlefield 2 vorhanden
    "operation_gatecrasher"         : "4242",
    "philippine_sea"                : "4243",
    "pripiyat"                      : "4244",
    "prologue"                      : "4245",
    #"road_to_jalalabad"            : "4246",  #In Battlefield 2 vorhanden
    #"sharqi_peninsula"             : "4247",  #In Battlefield 2 vorhanden
    #"songhua_stalemate"            : "4248",  #In Battlefield 2 vorhanden
    "stalingrad"                    : "4249",
    #"strike_at_karkand"            : "4250",  #In Battlefield 2 vorhanden
    "strike_at_karkand_2"           : "4251",
    "sunset_in_tunisia"             : "4252",
    #"taraba_quarry"                : "4253",  #In Battlefield 2 vorhanden
    "terminus"                      : "4254",
    #"tobruk"                       : "4255",  #In AIX 1.0 ITTH MapPack 3 vorhanden
    "urban_raid"                    : "4256",
    "village_lost"                  : "4257",
    #"vulcan_island"                : "4258",  #In Hard Justice Mappack 2 vorhanden
    #"wake_island_2007"             : "4259",  #In Battlefield 2 vorhanden
    "warbirds_ii"                   : "4260",
    "waterfront"                    : "4261",
    "waylaid"                       : "4262",
    #"zatar_wetlands"               : "4263",  #In Battlefield 2 vorhanden
    "zblankmap"                     : "4264",
# AIX 2.0 TNG2.0 - Boosterpack
    "tng_greatwall"                 : "4270",
    "tng_midnight_sun"              : "4271",
    "tng_op_harvest"                : "4272",
    "tng_op_roadrage"               : "4273",
    "tng_operation_smoke_screen"    : "4274",
    "tng_taraba_quarry"             : "4275",
# NEM2 Network Entertaiment Mod 2
    "nem2_go"                       : "4300",
    "nem2_gor"                      : "4301",
    "nem2_ht"                       : "4302",
    "nem2_htr"                      : "4303",
    "nem2_kd"                       : "4304",
    "nem2_kdr"                      : "4305",
    "nem2_mc"                       : "4306",
    "nem2_mcr"                      : "4307",
    "nem2_ocs"                      : "4308",
    "nem2_ocsr"                     : "4309",
    "nem2_rtj"                      : "4310",
    "nem2_rtjd"                     : "4311",
    "nem2_rtjn"                     : "4312",
    "nem2_rtjr"                     : "4313",
    "nem2_sak"                      : "4314",
    "nem2_sakr"                     : "4315",
    "nem2_sp"                       : "4316",
    "nem2_spr"                      : "4317",
    "nem2_custom_dw"                : "4318",
    "nem2_custom_e"                 : "4319",
    "nem2_custom_h"                 : "4320",
    "nem2_custom_hahr"              : "4321",
    "nem2_custom_jc"                : "4322",
    "nem2_custom_ocb"               : "4323",
    "nem2_custom_sp"                : "4324",
    "nem2_custom_uj"                : "4325",
    "nem2_custom_ujd"               : "4326",
    "nem2_extra_ig"                 : "4327",
    "nem2_extra_gt"                 : "4328",
    "nem2_extra_md"                 : "4329",
    "nem2_extra_s"                  : "4330",
    "nem2_extra_w"                  : "4331",
    "nem2_bonus_f"                  : "4332",
    "nem2_bonus_fn"                 : "4333",
    "nem2_bonus_1"                  : "4334",
    "nem2_bonus_2"                  : "4335",
    "nem2_bonus_3"                  : "4336",
    "nem2_inf_1"                    : "4337",
    "nem2_inf_2"                    : "4338",
    "nem2_inf_3"                    : "4339",
    "nem2_inf_4"                    : "4340",
    "nem2_inf_5"                    : "4341",
    "nem2_tank_aj"                  : "4342",
    "nem2_tank_av"                  : "4343",
    "nem2_tank_b"                   : "4344",
    "nem2_tank_ko"                  : "4345",
    "nem2_tank_og"                  : "4346",
# Sonstige Maps
    "ohne_namen"                    : "9999"

}
UNKNOWN_MAP = 99



def getVehicleType(templateName):
    return vehicleTypeMap.get(templateName.lower(), VEHICLE_TYPE_UNKNOWN)


def getWeaponType(templateName):
    return weaponTypeMap.get(templateName.lower(), WEAPON_TYPE_UNKNOWN)


def getKitType(templateName):    
    return kitTypeMap.get(templateName.lower(), KIT_TYPE_UNKNOWN)


def getArmy(templateName):
    return armyMap.get(templateName.lower(), ARMY_UNKNOWN)


def getMapId(mapName):
    return mapMap.get(mapName.lower(), UNKNOWN_MAP)


def getGameModeId(gameMode):
    return gameModeMap.get(gameMode.lower(), UNKNOWN_GAMEMODE)


def getRootParent(obj):
    parent = obj.getParent()
    
    if parent == None:
        return obj
    
    return getRootParent(parent)


if g_debug: print "Stat constants loaded"
Dieser Beitrag wurde unter BF2 - Server abgelegt und mit verschlagwortet. Setze ein Lesezeichen auf den Permalink.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.