Logistics Issue?

  1. 7 years ago

    Hey everyone!

    Im using the Iraq Syrian Conflict mod that already works with ALiVE out of the box but Im unsure if it has airtransport, transport, supports, and supplies defined so I made a staticData.sqf with

    if (!isServer) exitWith {};

    waitUntil {!isNil "ALiVE_STATIC_DATA_LOADED"};

    ALIVE_factionDefaultTransport = [] call ALIVE_fnc_hashCreate;
    [ALIVE_factionDefaultTransport, "ISC_SAA_O", ["isc_saa_Ural_o","isc_saa_BMP2_o","isc_saa_BMP1P_o","isc_saa_BMP1_o","isc_saa_BTR80a_cup_o","isc_saa_BMP1_cup_o","isc_saa_BMP1P_cup_o","isc_saa_BMP2_cup_o","isc_saa_BTR40_MG_cup_o","isc_saa_BTR60_o","isc_saa_BTR60_cup_o"]] call ALIVE_fnc_hashSet;
    [ALIVE_factionDefaultTransport, "ISC_IS_I", ["isc_is_BMP1_cup_i","isc_is_BMP1_cup_flag_i","isc_is_BMP1P_cup_i","isc_is_BMP1P_cup_flag_i","isc_is_BMP2_cup_i","isc_is_BMP2_PKM_cup_i","isc_is_BMP2_PKM_cup_flag_i","isc_is_BMP2_ZU_cup_i","isc_is_BTR40_MG_cup_i","isc_is_BTR40_MG_cup_flag_i","isc_is_M113_cup_i","isc_is_m113d_i","isc_is_M113_cup_flag_i","isc_is_m113d_flag_i","isc_is_hilux_Unarmed_i","isc_is_hmmwv_ags_cup_i","isc_is_hmmwv_dshkm_cup_i","isc_is_LR_Unarmed_i","isc_is_LR_Unarmed_cup_i","isc_is_LR_M2_i","isc_is_LR_M2_cup_i","isc_is_LR_Mk19_i","isc_is_LR_SPG9_cup_i","isc_is_LR_SPG9_i","isc_is_LR_TOW_i","isc_is_offroad_i","isc_is_offroad_flag_i","isc_is_UAZ_Unarmed_i","isc_is_UAZ_Open_cup_i","isc_is_Ural_cup_i","isc_is_BMP1_i","isc_is_BMP1P_i","isc_is_BMP2_i"]] call ALIVE_fnc_hashSet;

    ALIVE_factionDefaultAirTransport = [] call ALIVE_fnc_hashCreate;
    [ALIVE_factionDefaultAirTransport, "ISC_SAA_O", ["CUP_O_Mi24_D_TK","CUP_O_Mi17_VIV_TK","CUP_O_Mi17_TK","CUP_O_MI6T_TKA"]] call ALIVE_fnc_hashSet;

    ALIVE_factionDefaultSupports = [] call ALIVE_fnc_hashCreate;
    [ALIVE_factionDefaultSupports, "ISC_SAA_O", ["isc_saa_Ural_o","isc_saa_BMP2_o","isc_saa_BMP1P_o","isc_saa_BMP1_o","isc_saa_BTR80a_cup_o","isc_saa_BMP1_cup_o","isc_saa_BMP1P_cup_o","isc_saa_BMP2_cup_o","isc_saa_BTR40_MG_cup_o","isc_saa_BTR60_o","isc_saa_BTR60_cup_o","isc_saa_ZSU_o","isc_saa_Ural_ZU23_o","isc_saa_T55_o","isc_saa_T72_o","isc_saa_T72M_o"]] call ALIVE_fnc_hashSet;
    [ALIVE_factionDefaultSupports, "ISC_IS_I", ["isc_is_BMP1_cup_i","isc_is_BMP1_cup_flag_i","isc_is_BMP1P_cup_i","isc_is_BMP1P_cup_flag_i","isc_is_BMP2_cup_i","isc_is_BMP2_PKM_cup_i","isc_is_BMP2_PKM_cup_flag_i","isc_is_BMP2_ZU_cup_i","isc_is_BTR40_MG_cup_i","isc_is_BTR40_MG_cup_flag_i","isc_is_M113_cup_i","isc_is_m113d_i","isc_is_M113_cup_flag_i","isc_is_m113d_flag_i","isc_is_hmmwv_ags_cup_i","isc_is_hmmwv_dshkm_cup_i","isc_is_LR_M2_i","isc_is_LR_M2_cup_i","isc_is_LR_Mk19_i","isc_is_LR_SPG9_cup_i","isc_is_LR_SPG9_i","isc_is_LR_TOW_i","isc_is_BMP1_i","isc_is_BMP1P_i","isc_is_BMP2_i","isc_is_hilux_AGS30_i","isc_is_hilux_M2_i","isc_is_hilux_MG_i","isc_is_hilux_RKTS_i","isc_is_hilux_SPG9_i","isc_is_offroad_M2_i","isc_is_offroad_M2_flag_i","isc_is_pickup_PK_cup_i","isc_is_pickup_PK_cup_flag_i","isc_is_UAZ_AGS30_cup_i","isc_is_UAZ_AGS30_i","isc_is_UAZ_M2_i","isc_is_UAZ_METIS_cup_i","isc_is_UAZ_MG_i","isc_is_UAZ_MG_cup_i","isc_is_UAZ_SPG9_i","isc_is_UAZ_SPG9_cup_i","isc_is_T34_i","isc_is_T34_cup_i","isc_is_T34_cup_flag_i","isc_is_T55_i","isc_is_T55_cup_i","isc_is_T55_cup_flag_i","isc_is_T72_cup_i","isc_is_T72_i","isc_is_T72_cup_flag_i","isc_is_T72e_i","isc_is_T72B_i","isc_is_T72BM_i","isc_is_ZSU_i"]] call ALIVE_fnc_hashSet;

    ALIVE_factionDefaultSupplies = [] call ALIVE_fnc_hashCreate;
    [ALIVE_factionDefaultSupplies, "ISC_SAA_O", ["rhs_3Ya40_1_single","rhs_7ya37_1_single","rhs_gear_crate","rhs_mags_crate","rhs_weapon_crate","rhs_launcher_crate","rhs_spec_weapons_crate","rhs_7ya37_1_single"]] call ALIVE_fnc_hashSet;
    [ALIVE_factionDefaultSupplies, "ISC_IS_I", ["rhs_3Ya40_1_single","rhs_7ya37_1_single","rhs_gear_crate","rhs_mags_crate","rhs_weapon_crate","rhs_launcher_crate","rhs_spec_weapons_crate","rhs_7ya37_1_single","rhsusf_mags_crate","rhsusf_gear_crate","rhsusf_launcher_crate"]] call ALIVE_fnc_hashSet;

    then in the ALiVE required modules init I have

    0 = [] spawn {
    if (isServer) then {
    waitUntil {!isNil "ALiVE_STATIC_DATA_LOADED"};
    call compile (preprocessFileLineNumbers "staticData.sqf");
    };
    };

    I have military logistcs module synced to the AI Commander which is set on occupation (The enemy faction is set on asymmetric so its my understanding that it doesnt need/use a logistics module) with an infinite pool and dynamic reinforcement type. The odd thing has been that I havent seen that pop up I usually see with the remaining reinforcement pool when reinforcements are deployed. I have a different faction setup for players which is the same side at the ISC_SAA_O so maybe thats why I dont see the remaining reinforcement pool pop up. Im sort of concerned that reinforcements are being used as the numbers seem to dwindle pretty low and I have yet to see a helicopter or something I can identify as motorize reinforcement. Am I doing something wrong?

  2. Try removing your hashCreate function calls

  3. Thanks Ill give it a try after work! SO it should look like

    if (!isServer) exitWith {};

    waitUntil {!isNil "ALiVE_STATIC_DATA_LOADED"};

    ALIVE_factionDefaultTransport = []
    [ALIVE_factionDefaultTransport, "ISC_SAA_O", ["isc_saa_Ural_o","isc_saa_BMP2_o","isc_saa_BMP1P_o","isc_saa_BMP1_o","isc_saa_BTR80a_cup_o","isc_saa_BMP1_cup_o","isc_saa_BMP1P_cup_o","isc_saa_BMP2_cup_o","isc_saa_BTR40_MG_cup_o","isc_saa_BTR60_o","isc_saa_BTR60_cup_o"]]
    [ALIVE_factionDefaultTransport, "ISC_IS_I", ["isc_is_BMP1_cup_i","isc_is_BMP1_cup_flag_i","isc_is_BMP1P_cup_i","isc_is_BMP1P_cup_flag_i","isc_is_BMP2_cup_i","isc_is_BMP2_PKM_cup_i","isc_is_BMP2_PKM_cup_flag_i","isc_is_BMP2_ZU_cup_i","isc_is_BTR40_MG_cup_i","isc_is_BTR40_MG_cup_flag_i","isc_is_M113_cup_i","isc_is_m113d_i","isc_is_M113_cup_flag_i","isc_is_m113d_flag_i","isc_is_hilux_Unarmed_i","isc_is_hmmwv_ags_cup_i","isc_is_hmmwv_dshkm_cup_i","isc_is_LR_Unarmed_i","isc_is_LR_Unarmed_cup_i","isc_is_LR_M2_i","isc_is_LR_M2_cup_i","isc_is_LR_Mk19_i","isc_is_LR_SPG9_cup_i","isc_is_LR_SPG9_i","isc_is_LR_TOW_i","isc_is_offroad_i","isc_is_offroad_flag_i","isc_is_UAZ_Unarmed_i","isc_is_UAZ_Open_cup_i","isc_is_Ural_cup_i","isc_is_BMP1_i","isc_is_BMP1P_i","isc_is_BMP2_i"]]

    ALIVE_factionDefaultAirTransport = []
    [ALIVE_factionDefaultAirTransport, "ISC_SAA_O", ["CUP_O_Mi24_D_TK","CUP_O_Mi17_VIV_TK","CUP_O_Mi17_TK","CUP_O_MI6T_TKA"]] call ALIVE_fnc_hashSet;

    ALIVE_factionDefaultSupports = []
    [ALIVE_factionDefaultSupports, "ISC_SAA_O", ["isc_saa_Ural_o","isc_saa_BMP2_o","isc_saa_BMP1P_o","isc_saa_BMP1_o","isc_saa_BTR80a_cup_o","isc_saa_BMP1_cup_o","isc_saa_BMP1P_cup_o","isc_saa_BMP2_cup_o","isc_saa_BTR40_MG_cup_o","isc_saa_BTR60_o","isc_saa_BTR60_cup_o","isc_saa_ZSU_o","isc_saa_Ural_ZU23_o","isc_saa_T55_o","isc_saa_T72_o","isc_saa_T72M_o"]]
    [ALIVE_factionDefaultSupports, "ISC_IS_I", ["isc_is_BMP1_cup_i","isc_is_BMP1_cup_flag_i","isc_is_BMP1P_cup_i","isc_is_BMP1P_cup_flag_i","isc_is_BMP2_cup_i","isc_is_BMP2_PKM_cup_i","isc_is_BMP2_PKM_cup_flag_i","isc_is_BMP2_ZU_cup_i","isc_is_BTR40_MG_cup_i","isc_is_BTR40_MG_cup_flag_i","isc_is_M113_cup_i","isc_is_m113d_i","isc_is_M113_cup_flag_i","isc_is_m113d_flag_i","isc_is_hmmwv_ags_cup_i","isc_is_hmmwv_dshkm_cup_i","isc_is_LR_M2_i","isc_is_LR_M2_cup_i","isc_is_LR_Mk19_i","isc_is_LR_SPG9_cup_i","isc_is_LR_SPG9_i","isc_is_LR_TOW_i","isc_is_BMP1_i","isc_is_BMP1P_i","isc_is_BMP2_i","isc_is_hilux_AGS30_i","isc_is_hilux_M2_i","isc_is_hilux_MG_i","isc_is_hilux_RKTS_i","isc_is_hilux_SPG9_i","isc_is_offroad_M2_i","isc_is_offroad_M2_flag_i","isc_is_pickup_PK_cup_i","isc_is_pickup_PK_cup_flag_i","isc_is_UAZ_AGS30_cup_i","isc_is_UAZ_AGS30_i","isc_is_UAZ_M2_i","isc_is_UAZ_METIS_cup_i","isc_is_UAZ_MG_i","isc_is_UAZ_MG_cup_i","isc_is_UAZ_SPG9_i","isc_is_UAZ_SPG9_cup_i","isc_is_T34_i","isc_is_T34_cup_i","isc_is_T34_cup_flag_i","isc_is_T55_i","isc_is_T55_cup_i","isc_is_T55_cup_flag_i","isc_is_T72_cup_i","isc_is_T72_i","isc_is_T72_cup_flag_i","isc_is_T72e_i","isc_is_T72B_i","isc_is_T72BM_i","isc_is_ZSU_i"]]

    ALIVE_factionDefaultSupplies = []
    [ALIVE_factionDefaultSupplies, "ISC_SAA_O", ["rhs_3Ya40_1_single","rhs_7ya37_1_single","rhs_gear_crate","rhs_mags_crate","rhs_weapon_crate","rhs_launcher_crate","rhs_spec_weapons_crate","rhs_7ya37_1_single"]] call ALIVE_fnc_hashSet;
    [ALIVE_factionDefaultSupplies, "ISC_IS_I", ["rhs_3Ya40_1_single","rhs_7ya37_1_single","rhs_gear_crate","rhs_mags_crate","rhs_weapon_crate","rhs_launcher_crate","rhs_spec_weapons_crate","rhs_7ya37_1_single","rhsusf_mags_crate","rhsusf_gear_crate","rhsusf_launcher_crate"]]

    ?

  4. Edited 7 years ago by SpyderBlack723

    Remove the entire line, everytime ALiVE_fnc_hashCreate occurs

  5. Ok like

    if (!isServer) exitWith {};

    waitUntil {!isNil "ALiVE_STATIC_DATA_LOADED"};

    [ALIVE_factionDefaultTransport, "ISC_SAA_O", ["isc_saa_Ural_o","isc_saa_BMP2_o","isc_saa_BMP1P_o","isc_saa_BMP1_o","isc_saa_BTR80a_cup_o","isc_saa_BMP1_cup_o","isc_saa_BMP1P_cup_o","isc_saa_BMP2_cup_o","isc_saa_BTR40_MG_cup_o","isc_saa_BTR60_o","isc_saa_BTR60_cup_o"]]
    [ALIVE_factionDefaultTransport, "ISC_IS_I", ["isc_is_BMP1_cup_i","isc_is_BMP1_cup_flag_i","isc_is_BMP1P_cup_i","isc_is_BMP1P_cup_flag_i","isc_is_BMP2_cup_i","isc_is_BMP2_PKM_cup_i","isc_is_BMP2_PKM_cup_flag_i","isc_is_BMP2_ZU_cup_i","isc_is_BTR40_MG_cup_i","isc_is_BTR40_MG_cup_flag_i","isc_is_M113_cup_i","isc_is_m113d_i","isc_is_M113_cup_flag_i","isc_is_m113d_flag_i","isc_is_hilux_Unarmed_i","isc_is_hmmwv_ags_cup_i","isc_is_hmmwv_dshkm_cup_i","isc_is_LR_Unarmed_i","isc_is_LR_Unarmed_cup_i","isc_is_LR_M2_i","isc_is_LR_M2_cup_i","isc_is_LR_Mk19_i","isc_is_LR_SPG9_cup_i","isc_is_LR_SPG9_i","isc_is_LR_TOW_i","isc_is_offroad_i","isc_is_offroad_flag_i","isc_is_UAZ_Unarmed_i","isc_is_UAZ_Open_cup_i","isc_is_Ural_cup_i","isc_is_BMP1_i","isc_is_BMP1P_i","isc_is_BMP2_i"]]

    [ALIVE_factionDefaultAirTransport, "ISC_SAA_O", ["CUP_O_Mi24_D_TK","CUP_O_Mi17_VIV_TK","CUP_O_Mi17_TK","CUP_O_MI6T_TKA"]]

    [ALIVE_factionDefaultSupports, "ISC_SAA_O", ["isc_saa_Ural_o","isc_saa_BMP2_o","isc_saa_BMP1P_o","isc_saa_BMP1_o","isc_saa_BTR80a_cup_o","isc_saa_BMP1_cup_o","isc_saa_BMP1P_cup_o","isc_saa_BMP2_cup_o","isc_saa_BTR40_MG_cup_o","isc_saa_BTR60_o","isc_saa_BTR60_cup_o","isc_saa_ZSU_o","isc_saa_Ural_ZU23_o","isc_saa_T55_o","isc_saa_T72_o","isc_saa_T72M_o"]]
    [ALIVE_factionDefaultSupports, "ISC_IS_I", ["isc_is_BMP1_cup_i","isc_is_BMP1_cup_flag_i","isc_is_BMP1P_cup_i","isc_is_BMP1P_cup_flag_i","isc_is_BMP2_cup_i","isc_is_BMP2_PKM_cup_i","isc_is_BMP2_PKM_cup_flag_i","isc_is_BMP2_ZU_cup_i","isc_is_BTR40_MG_cup_i","isc_is_BTR40_MG_cup_flag_i","isc_is_M113_cup_i","isc_is_m113d_i","isc_is_M113_cup_flag_i","isc_is_m113d_flag_i","isc_is_hmmwv_ags_cup_i","isc_is_hmmwv_dshkm_cup_i","isc_is_LR_M2_i","isc_is_LR_M2_cup_i","isc_is_LR_Mk19_i","isc_is_LR_SPG9_cup_i","isc_is_LR_SPG9_i","isc_is_LR_TOW_i","isc_is_BMP1_i","isc_is_BMP1P_i","isc_is_BMP2_i","isc_is_hilux_AGS30_i","isc_is_hilux_M2_i","isc_is_hilux_MG_i","isc_is_hilux_RKTS_i","isc_is_hilux_SPG9_i","isc_is_offroad_M2_i","isc_is_offroad_M2_flag_i","isc_is_pickup_PK_cup_i","isc_is_pickup_PK_cup_flag_i","isc_is_UAZ_AGS30_cup_i","isc_is_UAZ_AGS30_i","isc_is_UAZ_M2_i","isc_is_UAZ_METIS_cup_i","isc_is_UAZ_MG_i","isc_is_UAZ_MG_cup_i","isc_is_UAZ_SPG9_i","isc_is_UAZ_SPG9_cup_i","isc_is_T34_i","isc_is_T34_cup_i","isc_is_T34_cup_flag_i","isc_is_T55_i","isc_is_T55_cup_i","isc_is_T55_cup_flag_i","isc_is_T72_cup_i","isc_is_T72_i","isc_is_T72_cup_flag_i","isc_is_T72e_i","isc_is_T72B_i","isc_is_T72BM_i","isc_is_ZSU_i"]]

    [ALIVE_factionDefaultSupplies, "ISC_SAA_O", ["rhs_3Ya40_1_single","rhs_7ya37_1_single","rhs_gear_crate","rhs_mags_crate","rhs_weapon_crate","rhs_launcher_crate","rhs_spec_weapons_crate","rhs_7ya37_1_single"]]
    [ALIVE_factionDefaultSupplies, "ISC_IS_I", ["rhs_3Ya40_1_single","rhs_7ya37_1_single","rhs_gear_crate","rhs_mags_crate","rhs_weapon_crate","rhs_launcher_crate","rhs_spec_weapons_crate","rhs_7ya37_1_single","rhsusf_mags_crate","rhsusf_gear_crate","rhsusf_launcher_crate"]]

    then?

  6. Yes, that should work.

 

or Sign Up to reply!