Jump to content
giallustio

[MP] =BTC= Hearts and Minds

Recommended Posts

Hello,

1 hour ago, lukio said:

yet we still sometimes have a "suicide bomber" rabbit shouting "Alluha-Akbar" and blowing everyone up from time to time.  It's good for laughs, I must admit 🤣

Yes, as H&M is persistent, all units inside city will appear the next time you enter the city if you didn't kill them. If civ were rabbit, they will spawn again as rabbit even after changing the param

Good luck!

Cheers

Share this post


Link to post
Share on other sites

Good evening, do I have the possibility in the H&M mission to change the enemy faction's equipment?

Share this post


Link to post
Share on other sites

Hello,

On 5/7/2023 at 1:49 AM, D'Paula said:

do I have the possibility in the H&M mission to change the enemy faction's equipment?

No, H&M save class name of unit in cities, not the loadout

Cheers

Share this post


Link to post
Share on other sites

What about the Door Lock thing in towns?  I have a wirecutter  and a bad reputation,  so they are locked and I cant open them.  Theresa trick?

Share this post


Link to post
Share on other sites
19 hours ago, dvdbrewster said:

I cant open them

Why do you want to enter in a house which is not your home

Share this post


Link to post
Share on other sites
On 5/10/2023 at 2:21 PM, Vdauphin said:

Why do you want to enter in a house which is not your home

  It’s not what u think!!!  I wanted to rescue op

Share this post


Link to post
Share on other sites

Hello!

 

The Hearts and Minds mission 1.23.3 hotfix is here!

Now H&M requires CBA and ACE3 only.

 

Changelog :

  • Mission.sqm/Param.hpp not changed.
  • FIX: Huron Fuel/Ammo Containers resetting to full on server restarts (@Vdauphin).

Have fun!!!

  • Like 1

Share this post


Link to post
Share on other sites

Is it possible to change the vehicle to clear the garbage on the road? (For example: Using a tractor instead of the nemmera)

Share this post


Link to post
Share on other sites
9 hours ago, Cptan.Marcos said:

Is it possible to change the vehicle to clear the garbage on the road? (For example: Using a tractor instead of the nemmera)

Hello,

You can add any type or parent here: https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/core/fnc/ied/deleteLoop.sqf#L31

Cheers

  • Thanks 1

Share this post


Link to post
Share on other sites

Hello, 

I have 2 doubts

1°: Can I change the Tittle and the description that apears in tem main task (Defeat the opilas)? 

2°: How can I change the texture that apears in the leaflet?

Thanks!

Share this post


Link to post
Share on other sites

Hello,

22 hours ago, MacMillan CCT said:

1°: Can I change the Tittle and the description that apears in tem main task (Defeat the opilas)?

Yes, you need to change in stringtable.xml : https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/stringtable.xml#L1123-L1131

 

22 hours ago, MacMillan CCT said:

2°: How can I change the texture that apears in the leaflet?

Take a look here: https://community.bistudio.com/wiki/Arma_3:_Leaflets

You can ask more information in A3 Discord

 

Cheers

Share this post


Link to post
Share on other sites

 

Hello, the first thing I want to say is thank you for this wonderful mission and support for all these years! The second is about giving Bananas to the civ to gain reputation. Is it possible to change to another item? Sometimes it can sound a little offensive lol.

 

Thanks again! Cya

Share this post


Link to post
Share on other sites

Hello and thank you!

 

9 minutes ago, Swat55 said:

Is it possible to change to another item?

Yes you need to change everywhere here: https://github.com/search?q=repo%3AVdauphin%2FHeartsAndMinds ACE_Banana&type=code

 

11 minutes ago, Swat55 said:

Sometimes it can sound a little offensive lol.

It is just a fruit 🤔

 

Cheers

Share this post


Link to post
Share on other sites
5 minutes ago, Vdauphin said:

Hello and thank you!

 

Yes you need to change everywhere here: https://github.com/search?q=repo%3AVdauphin%2FHeartsAndMinds ACE_Banana&type=code

 

It is just a fruit 🤔

 

Cheers

Thanks a lot!
I agree about the fruit, but some people in my group think its is offensive, sensitive people you know...

 

But thanks again i will try it!

Share this post


Link to post
Share on other sites

One more thing @Vdauphin

I'm trying to remove AI to place and use mortars but its not working

 I put this:

switch (_p_en) do {
    /*case "Myfactionexemple" : {
        btc_type_units = btc_type_units - ["Blabla","moreBlabla"];
        btc_type_divers = btc_type_divers + ["Blabla","moreBlabla"];
        btc_type_crewmen = "Blabla";
        btc_type_boats = btc_type_boats;
        btc_type_motorized = btc_type_motorized;
        btc_type_mg = btc_type_mg;
        btc_type_gl = btc_type_gl;
    };*/
    case "UK3CB_ADE_O" : {
        btc_type_units = btc_type_units - ["UK3CB_ADE_O_STATIC_TRI_PODNOS","UK3CB_ADE_O_STATIC_GUN_PODNOS"];
        btc_type_divers = btc_type_divers;
        btc_type_crewmen = btc_type_crewmen;
        btc_type_boats = btc_type_boats;
        btc_type_motorized = btc_type_motorized;
		btc_type_motorized_armed = btc_type_motorized_armed - ["UK3CB_ADE_O_Hilux_Mortar"];
		btc_type_mg = btc_type_mg - ["UK3CB_ADE_O_2b14_82mm","rhs_2b14_82mm_msv","rhs_2b14_82mm_vdv", "rhs_2b14_82mm_vmf","rhs_2b14_82mm_ins","rhs_2b14_82mm_Base"];
        btc_type_gl = btc_type_gl - ["UK3CB_ADE_O_2b14_82mm","rhs_2b14_82mm_msv","rhs_2b14_82mm_vdv", "rhs_2b14_82mm_vmf","rhs_2b14_82mm_ins","rhs_2b14_82mm_Base"];
    };

But it dont work, any tips or i did anything wrong?

Share this post


Link to post
Share on other sites
20 hours ago, Vdauphin said:

Hello,

Yes, you need to change in stringtable.xml : https://github.com/Vdauphin/HeartsAndMinds/blob/master/%3DBTC%3Dco%4030_Hearts_and_Minds.Altis/stringtable.xml#L1123-L1131

 

Take a look here: https://community.bistudio.com/wiki/Arma_3:_Leaflets

You can ask more information in A3 Discord

 

Cheers

Thanks 

Share this post


Link to post
Share on other sites

Hello,

Last night during the game I noticed a stranger situation. Some players were invisible to others while on foot, however, when entering a vehicle they become visible again.

Has anyone had this problem?

Thank you! 

Share this post


Link to post
Share on other sites
15 hours ago, Swat55 said:

But it dont work, any tips or i did anything wrong?

Does btc_type_motorized_armed still contain "UK3CB_ADE_O_Hilux_Mortar" ?

 

 

Share this post


Link to post
Share on other sites
48 minutes ago, Vdauphin said:

Does btc_type_motorized_armed still contain "UK3CB_ADE_O_Hilux_Mortar" ?

 

 

I dont know, how i can check that?

But the real problem is the static one

Share this post


Link to post
Share on other sites
2 hours ago, Vdauphin said:

Use debg console: https://community.bistudio.com/wiki/Arma_3:_Debug_Console

I think it is case-sensitive

Yep, still on btc_type_motorized_armed 

 

But the classname is exactly the same

 

That is the //mil sector

//Mil
btc_hq = objNull;
// Get all faction from mod there are currently running
//copyToClipboard str (["EN"] call btc_fnc_get_class);
private _allfaction = ["BLU_G_F","IND_F","BLU_F","IND_E_F","IND_L_F","SAB_MILAVI_FACTION_RED","SAB_MILAVI_FACTION_GREEN","SAB_MILAVI_FACTION_BLUE","BRITISH_FACTION","CANADIAN_FACTION","CANADIAN_DESERT_FACTION","CFP_B_CAF","CFP_O_IQARMY","CFP_B_ILIDF","CFP_B_NAARMY","CFP_O_SDMILITIA","CFP_O_ABUSAYYAF","CFP_B_AFGPOLICE","CFP_O_ALQAEDA","CFP_I_ALNUSRA","CFP_O_ALSHABAAB","CFP_O_BOKOHARAM","CFP_O_CFREBELS","CFP_O_HAMAS","CFP_O_HEZBOLLAH","CFP_B_IQARMY","CFP_B_IQPOLICE","CFP_O_IRARMY","CFP_O_IS","CFP_I_IS","CFP_B_KEARMY","CFP_B_MLARMY","CFP_B_PESH","CFP_O_SOREBEL","CFP_I_SSARMY","CFP_O_SSREBELS","CFP_I_SDREBELS","CFP_I_SDREBELSRF","CFP_O_SDARMY","CFP_O_SYARMY","CFP_O_TBAN","CFP_I_TUAREG","CFP_B_UGARMY","CFP_B_USRANGERS_WDL","CFP_B_USSEALS_DES","CFP_B_USSEALS_WDL","CFP_B_YPG","CFP_O_ANSARALLAH","CFP_B_CZARMY_WDL","CFP_I_WESTULTRA","CUP_B_CZ","CUP_B_GB","CUP_B_CDF","CUP_O_CHDKZ","CUP_STATIC_SHIPS","CUP_I_NAPA","CUP_I_RACS","CUP_B_RNZN","CUP_O_RU","CUP_O_SLA","CUP_O_TK","CUP_O_TK_MILITIA","CUP_I_UN","CUP_B_US_ARMY","CUP_B_USMC","CUP_B_GER","CUP_B_HIL","CUP_I_PMC_ION","CFP_B_GBARMY_WDL","CFP_B_DEARMY_WDL","CFP_O_RUARMY_DES","CUP_I_TK_GUE","CFP_B_USMC_DES","CFP_B_CDF_SNW","CFP_O_WAGNER","CFP_I_WAGNER","CFP_O_WAGNER_WIN","CFP_I_WAGNER_WIN","CFP_O_WAGNER_WDL","CFP_I_WAGNER_WDL","CFP_B_USARMY_1991_DES","CFP_B_USARMY_1991_WDL","CFP_B_USARMY_2003_DES","CFP_B_USARMY_2003_WDL","CFP_O_RUMVD","CFP_B_USCIA","CFP_B_USARMY_WDL","CFP_B_AFARMY","CFP_O_CHDKZ_SNW","CZECH_FACTION","CZECH_DESERT_FACTION","BLU_W_F","OPF_R_F","BLU_CTRG_F","BLU_GEN_F","RHS_FACTION_USARMY_D","CFP_O_NKARMY","SINIGAMI_SPECIAL_GEC_FORCES","FACTION_AI","FIR_AWS_FRND_F","FIR_AWS_ENEMY_F","FSOG3_FACTION","GERMAN_FACTION","GERMAN_DESERT_FACTION","GREATEASTERNCOALITION_REGULAR","IAM_US","IL_76_FACTION_IND","IL_76_FACTION_RUS","IL_76_FACTION_TKM","IND_G_F","IND_C_F","IRISH_FACTION","ISRAELI_FACTION","LATVIAN_FACTION","LOP_AA","LOP_AFR_OPF","LOP_AFR","LOP_BH","LOP_CDF","LOP_CHDKZ","LOP_NAPA","LOP_GRE","LOP_IRAN","LOP_IA","LOP_IRA","LOP_ISTS_OPF","LOP_ISTS","LOP_NK","LOP_PESH_IND","LOP_PESH","LOP_AM_OPF","LOP_AM","LOP_PMC","LOP_RACS","LOP_SLA","LOP_SYR","LOP_TKA","LOP_TRK","LOP_UKR","LOP_UVF","LOP_UA","LOP_US","LOP_UN","LUKE_MODS1","MOE_FACTION","NORWEGIAN_FACTION","OPF_G_F","OPF_GEN_F","OPF_F","POLISH_FACTION","RFARMY_EXPEDITIONCORP","RFARMY_EXPEDITION_WINTER_CORP","RFARMY_INFANTRY","RHS_FACTION_MSV","RHS_FACTION_VDV","RHS_FACTION_VMF","RHS_FACTION_VV","RHS_FACTION_VVS","RHS_FACTION_USMC_D","RHS_FACTION_USMC_WD","RHS_FACTION_RVA","RHS_FACTION_TV","RHS_FACTION_VPVO","RHS_FACTION_VVS_C","RHSGREF_FACTION_CDF_AIR_B","RHSSAF_FACTION_ARMY","RHSSAF_FACTION_ARMY_OPFOR","RHSSAF_FACTION_AIRFORCE_OPFOR","RHSSAF_FACTION_AIRFORCE","RHSSAF_FACTION_UN","FGN_FRACTION_CAG","RHS_FACTION_USARMY_WD","RHS_FACTION_USN","RHS_FACTION_SOCOM","RHS_FACTION_USAF","RHSGREF_FACTION_UN","RHSGREF_FACTION_HIDF","RHSGREF_FACTION_NATIONALIST","RHSGREF_FACTION_TLA","RHSGREF_FACTION_TLA_G","RHSGREF_FACTION_CDF_GROUND","RHSGREF_FACTION_CDF_GROUND_B","SAB_FL_FACTION_RED","SAB_FL_FACTION_GREEN","SAB_FL_FACTION_BLUE","SOF_RANGERS","SWEDISH_FACTION","UK_ARMED_FORCES","UK3CB_AAF_O","UK3CB_AAF_I","UK3CB_AAF_B","UK3CB_ANA_B","UK3CB_ANP_B","UK3CB_ADA_O","UK3CB_ADA_I","UK3CB_ADA_B","UK3CB_ADR_O","UK3CB_ADR_I","UK3CB_ADR_B","UK3CB_ADG_O","UK3CB_ADG_I","UK3CB_ADG_B","UK3CB_ADC_O","UK3CB_ADC_I","UK3CB_ADC_B","UK3CB_ADE_O","UK3CB_ADE_I","UK3CB_ADM_O","UK3CB_ADM_I","UK3CB_ADM_B","UK3CB_ADP_O","UK3CB_ADP_I","UK3CB_ADP_B","UK3CB_APD_O","UK3CB_APD_I","UK3CB_APD_B","UK3CB_ARD_O","UK3CB_ARD_I","UK3CB_ARD_B","UK3CB_CHD_O","UK3CB_CHD_W_O","UK3CB_CHD_B","UK3CB_CHD_W_B","UK3CB_CHD_I","UK3CB_CHD_W_I","UK3CB_CHC_O","UK3CB_CHC_I","UK3CB_CHC_B","UK3CB_CCM_O","UK3CB_CCM_B","UK3CB_CCM_I","UK3CB_CPD_O","UK3CB_CPD_I","UK3CB_CPD_B","UK3CB_CW_US_B_EARLY","UK3CB_CW_US_B_LATE","UK3CB_CW_SOV_O_EARLY","UK3CB_CW_SOV_O_LATE","UK3CB_FIA_O","UK3CB_FIA_I","UK3CB_FIA_B","UK3CB_GAF_O","UK3CB_GAF_I","UK3CB_GAF_B","UK3CB_ION_O_DESERT","UK3CB_ION_I_DESERT","UK3CB_ION_B_DESERT","UK3CB_ION_O_URBAN","UK3CB_ION_I_URBAN","UK3CB_ION_B_URBAN","UK3CB_ION_O_WINTER","UK3CB_ION_I_WINTER","UK3CB_ION_B_WINTER","UK3CB_ION_O_WOODLAND","UK3CB_ION_I_WOODLAND","UK3CB_ION_B_WOODLAND","UK3CB_KRG_O","UK3CB_KRG_I","UK3CB_KRG_B","UK3CB_KDF_O","UK3CB_KDF_I","UK3CB_KDF_B","UK3CB_LDF_O","UK3CB_LDF_I","UK3CB_LDF_B","UK3CB_LFR_O","UK3CB_LFR_I","UK3CB_LFR_B","UK3CB_LSM_O","UK3CB_LSM_I","UK3CB_LSM_B","UK3CB_LNM_O","UK3CB_LNM_I","UK3CB_LNM_B","UK3CB_MDF_O","UK3CB_MDF_I","UK3CB_MDF_B","UK3CB_MEE_O","UK3CB_MEE_I","UK3CB_MEI_O","UK3CB_MEI_I","UK3CB_MEI_B","UK3CB_NAP_O","UK3CB_NAP_I","UK3CB_NAP_B","UK3CB_NFA_O","UK3CB_NFA_I","UK3CB_NFA_B","UK3CB_NPD_O","UK3CB_NPD_I","UK3CB_NPD_B","UK3CB_TKC_O","UK3CB_TKC_I","UK3CB_TKC_B","UK3CB_TKM_O","UK3CB_TKA_O","UK3CB_TKA_I","UK3CB_TKA_B","UK3CB_TKP_O","UK3CB_TKP_I","UK3CB_TKP_B","UK3CB_TKM_B","UK3CB_TKM_I","UK3CB_UN_I","UK3CB_UN_B","RHSGREF_FACTION_CDF_AIR","RHSGREF_FACTION_CDF_NG","RHSGREF_FACTION_CDF_NG_B","RHSGREF_FACTION_CHDKZ","RHSGREF_FACTION_CHDKZ_G","UKMARINE_INFANTRY","UN_BLUFOR","WEBNIX_CORP_ASSAULTGROUP","WEBNIX_CORP_OFFICIAL","WEBNIX_CORP_SPECOPS","WEST_ASIAN_RADICALS","WEST_ASIAN_RADICALS_SPECOPS","OPF_T_F","BLU_T_F","DEFAULT"]; //All factions
_p_en = _allfaction select _p_en; //Select faction selected from mission parameter
_allclasse = [[_p_en, "UK3CB_ADE_O"], _p_en_AA, _p_en_tank] call btc_mil_fnc_class; //Create classes from factions, you can combine factions like that: [[_p_en , "IND_F"], _p_en_AA, _p_en_tank] call btc_mil_fnc_class;

//Save class name to global variable
btc_enemy_side = _allclasse select 0;
btc_type_units = _allclasse select 1;
btc_type_divers = _allclasse select 2;
btc_type_crewmen = _allclasse select 3;
btc_type_boats = _allclasse select 4;
btc_type_motorized = _allclasse select 5;
btc_type_motorized_armed = _allclasse select 6;
btc_type_mg = _allclasse select 7;
btc_type_gl = _allclasse select 8;

//Sometimes you need to remove units: - ["Blabla","moreBlabla"];
//Sometimes you need to add units: + ["Blabla","moreBlabla"];
switch (_p_en) do {
    /*case "Myfactionexemple" : {
        btc_type_units = btc_type_units - ["Blabla","moreBlabla"];
        btc_type_divers = btc_type_divers + ["Blabla","moreBlabla"];
        btc_type_crewmen = "Blabla";
        btc_type_boats = btc_type_boats;
        btc_type_motorized = btc_type_motorized;
        btc_type_mg = btc_type_mg;
        btc_type_gl = btc_type_gl;
    };*/
    case "CFP_O_BOKOHARAM" : {
        btc_type_units = btc_type_units - ["CFP_O_BH_Asst_Gunner_Mortar_01","CFP_O_BH_Gunner_Mortar_01"];
        btc_type_divers = btc_type_divers;
        btc_type_crewmen = btc_type_crewmen;
        btc_type_boats = btc_type_boats;
        btc_type_motorized = btc_type_motorized - ["CFP_O_BH_Hilux_Podnos_01"];
		btc_type_motorized_armed = btc_type_motorized_armed - ["CFP_O_BH_Hilux_Podnos_01"];
		btc_type_mg = btc_type_mg - ["UK3CB_ADE_O_2b14_82mm","rhs_2b14_82mm_msv","rhs_2b14_82mm_vdv", "rhs_2b14_82mm_vmf","rhs_2b14_82mm_ins","rhs_2b14_82mm_Base"];
        btc_type_gl = btc_type_gl - ["UK3CB_ADE_O_2b14_82mm","rhs_2b14_82mm_msv","rhs_2b14_82mm_vdv", "rhs_2b14_82mm_vmf","rhs_2b14_82mm_ins","rhs_2b14_82mm_Base"];
    };
    case "UK3CB_ADE_O" : {
        btc_type_units = btc_type_units - ["UK3CB_ADE_O_STATIC_TRI_PODNOS","UK3CB_ADE_O_STATIC_GUN_PODNOS"];
        btc_type_divers = btc_type_divers;
        btc_type_crewmen = btc_type_crewmen;
        btc_type_boats = btc_type_boats;
        btc_type_motorized = btc_type_motorized - ["UK3CB_ADE_O_Hilux_Mortar","UK3CB_ADE_O_Hilux_Vulcan_Front"];
		btc_type_motorized_armed = btc_type_motorized_armed - ["UK3CB_ADE_O_Hilux_Mortar","UK3CB_ADE_O_Hilux_Vulcan_Front"];
		btc_type_mg = btc_type_mg - ["UK3CB_ADE_O_2b14_82mm","rhs_2b14_82mm_msv","rhs_2b14_82mm_vdv", "rhs_2b14_82mm_vmf","rhs_2b14_82mm_ins","rhs_2b14_82mm_Base"];
        btc_type_gl = btc_type_gl - ["UK3CB_ADE_O_2b14_82mm","rhs_2b14_82mm_msv","rhs_2b14_82mm_vdv", "rhs_2b14_82mm_vmf","rhs_2b14_82mm_ins","rhs_2b14_82mm_Base"];
    };
};

 

Share this post


Link to post
Share on other sites
20 hours ago, Swat55 said:

Yep, still on btc_type_motorized_armed 

 

But the classname is exactly the same

 

That is the //mil sector


//Mil
btc_hq = objNull;
// Get all faction from mod there are currently running
//copyToClipboard str (["EN"] call btc_fnc_get_class);
private _allfaction = ["BLU_G_F","IND_F","BLU_F","IND_E_F","IND_L_F","SAB_MILAVI_FACTION_RED","SAB_MILAVI_FACTION_GREEN","SAB_MILAVI_FACTION_BLUE","BRITISH_FACTION","CANADIAN_FACTION","CANADIAN_DESERT_FACTION","CFP_B_CAF","CFP_O_IQARMY","CFP_B_ILIDF","CFP_B_NAARMY","CFP_O_SDMILITIA","CFP_O_ABUSAYYAF","CFP_B_AFGPOLICE","CFP_O_ALQAEDA","CFP_I_ALNUSRA","CFP_O_ALSHABAAB","CFP_O_BOKOHARAM","CFP_O_CFREBELS","CFP_O_HAMAS","CFP_O_HEZBOLLAH","CFP_B_IQARMY","CFP_B_IQPOLICE","CFP_O_IRARMY","CFP_O_IS","CFP_I_IS","CFP_B_KEARMY","CFP_B_MLARMY","CFP_B_PESH","CFP_O_SOREBEL","CFP_I_SSARMY","CFP_O_SSREBELS","CFP_I_SDREBELS","CFP_I_SDREBELSRF","CFP_O_SDARMY","CFP_O_SYARMY","CFP_O_TBAN","CFP_I_TUAREG","CFP_B_UGARMY","CFP_B_USRANGERS_WDL","CFP_B_USSEALS_DES","CFP_B_USSEALS_WDL","CFP_B_YPG","CFP_O_ANSARALLAH","CFP_B_CZARMY_WDL","CFP_I_WESTULTRA","CUP_B_CZ","CUP_B_GB","CUP_B_CDF","CUP_O_CHDKZ","CUP_STATIC_SHIPS","CUP_I_NAPA","CUP_I_RACS","CUP_B_RNZN","CUP_O_RU","CUP_O_SLA","CUP_O_TK","CUP_O_TK_MILITIA","CUP_I_UN","CUP_B_US_ARMY","CUP_B_USMC","CUP_B_GER","CUP_B_HIL","CUP_I_PMC_ION","CFP_B_GBARMY_WDL","CFP_B_DEARMY_WDL","CFP_O_RUARMY_DES","CUP_I_TK_GUE","CFP_B_USMC_DES","CFP_B_CDF_SNW","CFP_O_WAGNER","CFP_I_WAGNER","CFP_O_WAGNER_WIN","CFP_I_WAGNER_WIN","CFP_O_WAGNER_WDL","CFP_I_WAGNER_WDL","CFP_B_USARMY_1991_DES","CFP_B_USARMY_1991_WDL","CFP_B_USARMY_2003_DES","CFP_B_USARMY_2003_WDL","CFP_O_RUMVD","CFP_B_USCIA","CFP_B_USARMY_WDL","CFP_B_AFARMY","CFP_O_CHDKZ_SNW","CZECH_FACTION","CZECH_DESERT_FACTION","BLU_W_F","OPF_R_F","BLU_CTRG_F","BLU_GEN_F","RHS_FACTION_USARMY_D","CFP_O_NKARMY","SINIGAMI_SPECIAL_GEC_FORCES","FACTION_AI","FIR_AWS_FRND_F","FIR_AWS_ENEMY_F","FSOG3_FACTION","GERMAN_FACTION","GERMAN_DESERT_FACTION","GREATEASTERNCOALITION_REGULAR","IAM_US","IL_76_FACTION_IND","IL_76_FACTION_RUS","IL_76_FACTION_TKM","IND_G_F","IND_C_F","IRISH_FACTION","ISRAELI_FACTION","LATVIAN_FACTION","LOP_AA","LOP_AFR_OPF","LOP_AFR","LOP_BH","LOP_CDF","LOP_CHDKZ","LOP_NAPA","LOP_GRE","LOP_IRAN","LOP_IA","LOP_IRA","LOP_ISTS_OPF","LOP_ISTS","LOP_NK","LOP_PESH_IND","LOP_PESH","LOP_AM_OPF","LOP_AM","LOP_PMC","LOP_RACS","LOP_SLA","LOP_SYR","LOP_TKA","LOP_TRK","LOP_UKR","LOP_UVF","LOP_UA","LOP_US","LOP_UN","LUKE_MODS1","MOE_FACTION","NORWEGIAN_FACTION","OPF_G_F","OPF_GEN_F","OPF_F","POLISH_FACTION","RFARMY_EXPEDITIONCORP","RFARMY_EXPEDITION_WINTER_CORP","RFARMY_INFANTRY","RHS_FACTION_MSV","RHS_FACTION_VDV","RHS_FACTION_VMF","RHS_FACTION_VV","RHS_FACTION_VVS","RHS_FACTION_USMC_D","RHS_FACTION_USMC_WD","RHS_FACTION_RVA","RHS_FACTION_TV","RHS_FACTION_VPVO","RHS_FACTION_VVS_C","RHSGREF_FACTION_CDF_AIR_B","RHSSAF_FACTION_ARMY","RHSSAF_FACTION_ARMY_OPFOR","RHSSAF_FACTION_AIRFORCE_OPFOR","RHSSAF_FACTION_AIRFORCE","RHSSAF_FACTION_UN","FGN_FRACTION_CAG","RHS_FACTION_USARMY_WD","RHS_FACTION_USN","RHS_FACTION_SOCOM","RHS_FACTION_USAF","RHSGREF_FACTION_UN","RHSGREF_FACTION_HIDF","RHSGREF_FACTION_NATIONALIST","RHSGREF_FACTION_TLA","RHSGREF_FACTION_TLA_G","RHSGREF_FACTION_CDF_GROUND","RHSGREF_FACTION_CDF_GROUND_B","SAB_FL_FACTION_RED","SAB_FL_FACTION_GREEN","SAB_FL_FACTION_BLUE","SOF_RANGERS","SWEDISH_FACTION","UK_ARMED_FORCES","UK3CB_AAF_O","UK3CB_AAF_I","UK3CB_AAF_B","UK3CB_ANA_B","UK3CB_ANP_B","UK3CB_ADA_O","UK3CB_ADA_I","UK3CB_ADA_B","UK3CB_ADR_O","UK3CB_ADR_I","UK3CB_ADR_B","UK3CB_ADG_O","UK3CB_ADG_I","UK3CB_ADG_B","UK3CB_ADC_O","UK3CB_ADC_I","UK3CB_ADC_B","UK3CB_ADE_O","UK3CB_ADE_I","UK3CB_ADM_O","UK3CB_ADM_I","UK3CB_ADM_B","UK3CB_ADP_O","UK3CB_ADP_I","UK3CB_ADP_B","UK3CB_APD_O","UK3CB_APD_I","UK3CB_APD_B","UK3CB_ARD_O","UK3CB_ARD_I","UK3CB_ARD_B","UK3CB_CHD_O","UK3CB_CHD_W_O","UK3CB_CHD_B","UK3CB_CHD_W_B","UK3CB_CHD_I","UK3CB_CHD_W_I","UK3CB_CHC_O","UK3CB_CHC_I","UK3CB_CHC_B","UK3CB_CCM_O","UK3CB_CCM_B","UK3CB_CCM_I","UK3CB_CPD_O","UK3CB_CPD_I","UK3CB_CPD_B","UK3CB_CW_US_B_EARLY","UK3CB_CW_US_B_LATE","UK3CB_CW_SOV_O_EARLY","UK3CB_CW_SOV_O_LATE","UK3CB_FIA_O","UK3CB_FIA_I","UK3CB_FIA_B","UK3CB_GAF_O","UK3CB_GAF_I","UK3CB_GAF_B","UK3CB_ION_O_DESERT","UK3CB_ION_I_DESERT","UK3CB_ION_B_DESERT","UK3CB_ION_O_URBAN","UK3CB_ION_I_URBAN","UK3CB_ION_B_URBAN","UK3CB_ION_O_WINTER","UK3CB_ION_I_WINTER","UK3CB_ION_B_WINTER","UK3CB_ION_O_WOODLAND","UK3CB_ION_I_WOODLAND","UK3CB_ION_B_WOODLAND","UK3CB_KRG_O","UK3CB_KRG_I","UK3CB_KRG_B","UK3CB_KDF_O","UK3CB_KDF_I","UK3CB_KDF_B","UK3CB_LDF_O","UK3CB_LDF_I","UK3CB_LDF_B","UK3CB_LFR_O","UK3CB_LFR_I","UK3CB_LFR_B","UK3CB_LSM_O","UK3CB_LSM_I","UK3CB_LSM_B","UK3CB_LNM_O","UK3CB_LNM_I","UK3CB_LNM_B","UK3CB_MDF_O","UK3CB_MDF_I","UK3CB_MDF_B","UK3CB_MEE_O","UK3CB_MEE_I","UK3CB_MEI_O","UK3CB_MEI_I","UK3CB_MEI_B","UK3CB_NAP_O","UK3CB_NAP_I","UK3CB_NAP_B","UK3CB_NFA_O","UK3CB_NFA_I","UK3CB_NFA_B","UK3CB_NPD_O","UK3CB_NPD_I","UK3CB_NPD_B","UK3CB_TKC_O","UK3CB_TKC_I","UK3CB_TKC_B","UK3CB_TKM_O","UK3CB_TKA_O","UK3CB_TKA_I","UK3CB_TKA_B","UK3CB_TKP_O","UK3CB_TKP_I","UK3CB_TKP_B","UK3CB_TKM_B","UK3CB_TKM_I","UK3CB_UN_I","UK3CB_UN_B","RHSGREF_FACTION_CDF_AIR","RHSGREF_FACTION_CDF_NG","RHSGREF_FACTION_CDF_NG_B","RHSGREF_FACTION_CHDKZ","RHSGREF_FACTION_CHDKZ_G","UKMARINE_INFANTRY","UN_BLUFOR","WEBNIX_CORP_ASSAULTGROUP","WEBNIX_CORP_OFFICIAL","WEBNIX_CORP_SPECOPS","WEST_ASIAN_RADICALS","WEST_ASIAN_RADICALS_SPECOPS","OPF_T_F","BLU_T_F","DEFAULT"]; //All factions
_p_en = _allfaction select _p_en; //Select faction selected from mission parameter
_allclasse = [[_p_en, "UK3CB_ADE_O"], _p_en_AA, _p_en_tank] call btc_mil_fnc_class; //Create classes from factions, you can combine factions like that: [[_p_en , "IND_F"], _p_en_AA, _p_en_tank] call btc_mil_fnc_class;

//Save class name to global variable
btc_enemy_side = _allclasse select 0;
btc_type_units = _allclasse select 1;
btc_type_divers = _allclasse select 2;
btc_type_crewmen = _allclasse select 3;
btc_type_boats = _allclasse select 4;
btc_type_motorized = _allclasse select 5;
btc_type_motorized_armed = _allclasse select 6;
btc_type_mg = _allclasse select 7;
btc_type_gl = _allclasse select 8;

//Sometimes you need to remove units: - ["Blabla","moreBlabla"];
//Sometimes you need to add units: + ["Blabla","moreBlabla"];
switch (_p_en) do {
    /*case "Myfactionexemple" : {
        btc_type_units = btc_type_units - ["Blabla","moreBlabla"];
        btc_type_divers = btc_type_divers + ["Blabla","moreBlabla"];
        btc_type_crewmen = "Blabla";
        btc_type_boats = btc_type_boats;
        btc_type_motorized = btc_type_motorized;
        btc_type_mg = btc_type_mg;
        btc_type_gl = btc_type_gl;
    };*/
    case "CFP_O_BOKOHARAM" : {
        btc_type_units = btc_type_units - ["CFP_O_BH_Asst_Gunner_Mortar_01","CFP_O_BH_Gunner_Mortar_01"];
        btc_type_divers = btc_type_divers;
        btc_type_crewmen = btc_type_crewmen;
        btc_type_boats = btc_type_boats;
        btc_type_motorized = btc_type_motorized - ["CFP_O_BH_Hilux_Podnos_01"];
		btc_type_motorized_armed = btc_type_motorized_armed - ["CFP_O_BH_Hilux_Podnos_01"];
		btc_type_mg = btc_type_mg - ["UK3CB_ADE_O_2b14_82mm","rhs_2b14_82mm_msv","rhs_2b14_82mm_vdv", "rhs_2b14_82mm_vmf","rhs_2b14_82mm_ins","rhs_2b14_82mm_Base"];
        btc_type_gl = btc_type_gl - ["UK3CB_ADE_O_2b14_82mm","rhs_2b14_82mm_msv","rhs_2b14_82mm_vdv", "rhs_2b14_82mm_vmf","rhs_2b14_82mm_ins","rhs_2b14_82mm_Base"];
    };
    case "UK3CB_ADE_O" : {
        btc_type_units = btc_type_units - ["UK3CB_ADE_O_STATIC_TRI_PODNOS","UK3CB_ADE_O_STATIC_GUN_PODNOS"];
        btc_type_divers = btc_type_divers;
        btc_type_crewmen = btc_type_crewmen;
        btc_type_boats = btc_type_boats;
        btc_type_motorized = btc_type_motorized - ["UK3CB_ADE_O_Hilux_Mortar","UK3CB_ADE_O_Hilux_Vulcan_Front"];
		btc_type_motorized_armed = btc_type_motorized_armed - ["UK3CB_ADE_O_Hilux_Mortar","UK3CB_ADE_O_Hilux_Vulcan_Front"];
		btc_type_mg = btc_type_mg - ["UK3CB_ADE_O_2b14_82mm","rhs_2b14_82mm_msv","rhs_2b14_82mm_vdv", "rhs_2b14_82mm_vmf","rhs_2b14_82mm_ins","rhs_2b14_82mm_Base"];
        btc_type_gl = btc_type_gl - ["UK3CB_ADE_O_2b14_82mm","rhs_2b14_82mm_msv","rhs_2b14_82mm_vdv", "rhs_2b14_82mm_vmf","rhs_2b14_82mm_ins","rhs_2b14_82mm_Base"];
    };
};

 

Hard to tell but as you combine UK3CB_ADE_O and CFP_O_BOKOHARAM factions, the case statement will only filter CFP_O_BOKOHARAM, not the UK3CB_ADE_O

You need to combine inside the CFP_O_BOKOHARAM statement the class name from UK3CB_ADE_O

Share this post


Link to post
Share on other sites

Hello again. !     I've changed the vehicles in the latest version..same basic vehicle only 'RHS usaf'.  Nice.. plays mp from the editor, or local host (listenserver) even.  But if pack mission and try to run a dedicated server, The vehicles are same-vanilla vehicles but for 1..is mrap rhs usaf. ( I guess mayB count vehicles was +1).   I would look for the code to indicate the edited but there is alot of code. Could you tell me what to change/rename?  😀   I mean if restart the mission everything is OK. NP.    Just first load in is problem above.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×