mapping custom factions advice needed

  1. 8 years ago

    Hi there,

    I read the wiki entry about mapping factions that are not configged for ALiVE, but failed to get it working for someguywhos's Afghan National Army and the BWMOD.

    I believed it to be easy to find out the faction name, but maybe it has changed with EDEN? I hover over the BWMOD or ANA assets and see this:

    http://steamcommunity.com/profiles/76561197976686712/screenshots/

    I tried replacing every line in the custom factions mapping example referring to Massi's Africans with BWA3 as BLUFOR faction name and ANA or SGW_Soldier as INDEP faction name:

    // SGW_ANA
    // ---------------------------------------------------------------------------------------------------------------------
    
    ANA_mappings = [] call ALIVE_fnc_hashCreate;
    [ANA_mappings, "Side", "INDEP"] call ALIVE_fnc_hashSet;
    [ANA_mappings, "GroupSideName", "INDEP"] call ALIVE_fnc_hashSet;
    [ANA_mappings, "FactionName", "ANA"] call ALIVE_fnc_hashSet;
    [ANA_mappings, "GroupFactionName", "ANA"] call ALIVE_fnc_hashSet;
     
    ANA_typeMappings = [] call ALIVE_fnc_hashCreate;
    [ANA_typeMappings, "Air", "Air"] call ALIVE_fnc_hashSet;
    [ANA_typeMappings, "Armored", "Armored"] call ALIVE_fnc_hashSet;
    [ANA_typeMappings, "Infantry", "Infantry"] call ALIVE_fnc_hashSet;
    [ANA_typeMappings, "Mechanized", "Mechanized"] call ALIVE_fnc_hashSet;
    [ANA_typeMappings, "Motorized", "Motorized"] call ALIVE_fnc_hashSet;
    [ANA_typeMappings, "Motorized_MTP", "Motorized_MTP"] call ALIVE_fnc_hashSet;
    [ANA_typeMappings, "SpecOps", "Recon"] call ALIVE_fnc_hashSet;
    [ANA_typeMappings, "Support", "Support"] call ALIVE_fnc_hashSet;
     
    [ANA_mappings, "GroupFactionTypes", ANA_typeMappings] call ALIVE_fnc_hashSet;
    [ALIVE_factionCustomMappings, "ANA", ANA_mappings] call ALIVE_fnc_hashSet;
     
    [ALIVE_factionDefaultSupplies, "ANA", ["Box_mas_us_rifle_Wps_F"]] call ALIVE_fnc_hashSet;
    
    SGW_Soldier_mappings = [] call ALIVE_fnc_hashCreate;
    [SGW_Soldier_mappings, "Side", "INDEP"] call ALIVE_fnc_hashSet;
    [SGW_Soldier_mappings, "GroupSideName", "INDEP"] call ALIVE_fnc_hashSet;
    [SGW_Soldier_mappings, "FactionName", "SGW_Soldier"] call ALIVE_fnc_hashSet;
    [SGW_Soldier_mappings, "GroupFactionName", "SGW_Soldier"] call ALIVE_fnc_hashSet;
     
    SGW_Soldier_typeMappings = [] call ALIVE_fnc_hashCreate;
    [SGW_Soldier_typeMappings, "Air", "Air"] call ALIVE_fnc_hashSet;
    [SGW_Soldier_typeMappings, "Armored", "Armored"] call ALIVE_fnc_hashSet;
    [SGW_Soldier_typeMappings, "Infantry", "Infantry"] call ALIVE_fnc_hashSet;
    [SGW_Soldier_typeMappings, "Mechanized", "Mechanized"] call ALIVE_fnc_hashSet;
    [SGW_Soldier_typeMappings, "Motorized", "Motorized"] call ALIVE_fnc_hashSet;
    [SGW_Soldier_typeMappings, "Motorized_MTP", "Motorized_MTP"] call ALIVE_fnc_hashSet;
    [SGW_Soldier_typeMappings, "SpecOps", "SpecOps"] call ALIVE_fnc_hashSet;
    [SGW_Soldier_typeMappings, "Support", "Support"] call ALIVE_fnc_hashSet;
     
    [SGW_Soldier_mappings, "GroupFactionTypes", SGW_Soldier_typeMappings] call ALIVE_fnc_hashSet;
    [ALIVE_factionCustomMappings, "SGW_Soldier", SGW_Soldier_mappings] call ALIVE_fnc_hashSet;
     
    [ALIVE_factionDefaultSupplies, "SGW_Soldier", ["Box_mas_us_rifle_Wps_F"]] call ALIVE_fnc_hashSet;
     
     
    BWA3_mappings = [] call ALIVE_fnc_hashCreate;
    [BWA3_mappings, "Side", "WEST"] call ALIVE_fnc_hashSet;
    [BWA3_mappings, "GroupSideName", "WEST"] call ALIVE_fnc_hashSet;
    [BWA3_mappings, "FactionName", "BWA3"] call ALIVE_fnc_hashSet;
    [BWA3_mappings, "GroupFactionName", "BLU_BWA3"] call ALIVE_fnc_hashSet;
     
    BWA3_typeMappings = [] call ALIVE_fnc_hashCreate;
    [BWA3_typeMappings, "Air", "Air"] call ALIVE_fnc_hashSet;
    [BWA3_typeMappings, "Armored", "Armored"] call ALIVE_fnc_hashSet;
    [BWA3_typeMappings, "Infantry", "Infantry"] call ALIVE_fnc_hashSet;
    [BWA3_typeMappings, "Mechanized", "Mechanized"] call ALIVE_fnc_hashSet;
    [BWA3_typeMappings, "Motorized", "Motorized"] call ALIVE_fnc_hashSet;
    [BWA3_typeMappings, "Motorized_MTP", "Motorized_MTP"] call ALIVE_fnc_hashSet;
    [BWA3_typeMappings, "SpecOps", "SpecOps"] call ALIVE_fnc_hashSet;
    [BWA3_typeMappings, "Support", "Support"] call ALIVE_fnc_hashSet;
     
    [BWA3_mappings, "GroupFactionTypes", BWA3_typeMappings] call ALIVE_fnc_hashSet;
    [ALIVE_factionCustomMappings, "BWA3", BWA3_mappings] call ALIVE_fnc_hashSet;
     
    [ALIVE_factionDefaultSupplies, "BWA3", ["BWA3_Box_all_Tropen_Net"]] call ALIVE_fnc_hashSet;
    // ---------------------------------------------------------------------------------------------------------------------
     
    // PMC POMI
    // ---------------------------------------------------------------------------------------------------------------------
    PMC_POMI_mappings = [] call ALIVE_fnc_hashCreate;
    [PMC_POMI_mappings, "Side", "INDEP"] call ALIVE_fnc_hashSet;
    [PMC_POMI_mappings, "GroupSideName", "INDEP"] call ALIVE_fnc_hashSet;
    [PMC_POMI_mappings, "FactionName", "PMC_POMI"] call ALIVE_fnc_hashSet;
    [PMC_POMI_mappings, "GroupFactionName", "PMC_POMI"] call ALIVE_fnc_hashSet;
     
    PMC_POMI_typeMappings = [] call ALIVE_fnc_hashCreate;
    [PMC_POMI_typeMappings, "Air", "Air"] call ALIVE_fnc_hashSet;
    [PMC_POMI_typeMappings, "Armored", "Armored"] call ALIVE_fnc_hashSet;
    [PMC_POMI_typeMappings, "Infantry", "Infantry"] call ALIVE_fnc_hashSet;
    [PMC_POMI_typeMappings, "Mechanized", "Mechanized"] call ALIVE_fnc_hashSet;
    [PMC_POMI_typeMappings, "Motorized", "Motorized"] call ALIVE_fnc_hashSet;
    [PMC_POMI_typeMappings, "Motorized_MTP", "Motorized_MTP"] call ALIVE_fnc_hashSet;
    [PMC_POMI_typeMappings, "SpecOps", "SpecOps"] call ALIVE_fnc_hashSet;
    [PMC_POMI_typeMappings, "Support", "Support"] call ALIVE_fnc_hashSet;
     
    [PMC_POMI_mappings, "GroupFactionTypes", PMC_POMI_typeMappings] call ALIVE_fnc_hashSet;
    [ALIVE_factionCustomMappings, "PMC_POMI", PMC_POMI_mappings] call ALIVE_fnc_hashSet;
    // ---------------------------------------------------------------------------------------------------------------------
     
    // SUD RUSSIANS
    // ---------------------------------------------------------------------------------------------------------------------
    SUD_RU_mappings = [] call ALIVE_fnc_hashCreate;
    [SUD_RU_mappings, "Side", "INDEP"] call ALIVE_fnc_hashSet;
    [SUD_RU_mappings, "GroupSideName", "INDEP"] call ALIVE_fnc_hashSet;
    [SUD_RU_mappings, "FactionName", "SUD_RU"] call ALIVE_fnc_hashSet;
    [SUD_RU_mappings, "GroupFactionName", "SUD_RU"] call ALIVE_fnc_hashSet;
     
    SUD_RU_typeMappings = [] call ALIVE_fnc_hashCreate;
    [SUD_RU_typeMappings, "Air", "Air"] call ALIVE_fnc_hashSet;
    [SUD_RU_typeMappings, "Armored", "Armored"] call ALIVE_fnc_hashSet;
    [SUD_RU_typeMappings, "Infantry", "Infantry"] call ALIVE_fnc_hashSet;
    [SUD_RU_typeMappings, "Mechanized", "Mechanized"] call ALIVE_fnc_hashSet;
    [SUD_RU_typeMappings, "Motorized", "Motorized"] call ALIVE_fnc_hashSet;
    [SUD_RU_typeMappings, "Motorized_MTP", "Motorized_MTP"] call ALIVE_fnc_hashSet;
    [SUD_RU_typeMappings, "SpecOps", "SpecOps"] call ALIVE_fnc_hashSet;
    [SUD_RU_typeMappings, "Support", "Support"] call ALIVE_fnc_hashSet;
     
    [SUD_RU_mappings, "GroupFactionTypes", SUD_RU_typeMappings] call ALIVE_fnc_hashSet;
    [ALIVE_factionCustomMappings, "SUD_RU", SUD_RU_mappings] call ALIVE_fnc_hashSet;
    // ---------------------------------------------------------------------------------------------------------------------

    What did I do wrong here? No matter if with this config and the ini.sqf calling it or without, I still get the messages about OPCOMS having no fitting factions.

    In my Assymetric setup on the Kunduz Map I place an Insurgent force following the instructions given in the wiki. Using CUP units for that, everything works fine. As COIN forces I sync editor placed ANA and BWMOD units to the Virtuel AI Module and place one OPCOM (which has the factions ANA and SGW defined as well as SGW_Soldier) for ANA and another OPCOM (which has the factions BWA3 and BWA3_FACTION defined) for BWMOD. Then I place playble BWMOD units and a few vehicles, ALiVE support units (all supports work).

    If ingame in Editor testing, I do get the radio messages saying that no suitable groups are there and also I cannot get contact to the BLUFOR OPCOM when trying to see it's objectives in the commander tablet: "No OPCOM instances found."

    Neither the INDEP OPCOM nor the BWMOD OPCOM use their units to advance to the Military Placement (Civilian) Objektives I have synced said OPCOMS to. But I know there are Civilian Objectives - Kunduz is listed as compatible with ALiVE and I can see the Taliban spawning as well when using Intel or when advancing with my playable/AI subordinate units.

  2. Edited 8 years ago by SpyderBlack723

    If ingame in Editor testing, I do get the radio messages saying that no suitable groups are there and also I cannot get contact to the BLUFOR OPCOM when trying to see it's objectives in the commander tablet: "No OPCOM instances found."

    This is because if an OPCOM instance runs into an error during initialization, it exits, and therefor will not exist.

 

or Sign Up to reply!