AIX2 Reality

Discussion in 'BF2Statistics discussion' started by kjhedges, Mar 15, 2021.

  1. kjhedges

    kjhedges Member

    I found a download of AIX2 Reality online recently. It looks like a mod of Project Reality.

    Well, basically Im looking at adding it to the BF2stats list of mods.

    In its basic setup, bf2stats works, gathering stats ect. But, due to the many differing faction, weapons ect. Alot of information is not shown.

    I know that I have to edit the constants.py file in Battlefield 2 Server\python\bf2\stats

    I am having trouble with the adding of armies

    # 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

    Every time I continue the sequence for the armies the server will crash on load.

    has anyone managed to add more armies to the constants.py that could help

    Thanks
     

Share This Page