Welcome to the Iron Front Fan Forums!
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
dcheeze

Private
Registered:
Posts: 2
Reply with quote  #1 
I've recently downloaded "co36 MOUT Re-Release" and find I am unable to use the request unit option when playing as the Americans. I have looked at both the init and mission files but cannot figure out how to make the request work. Any idea which file I need to look at.
0
theOden

Corporal
Registered:
Posts: 42
Reply with quote  #2 
It's depending on a series of arrays with a name standard using the faction.

The faction "RKKA" is listed in folder \Oden\data_RKKA.sqf setting up these for example:

***
pLIB_RKKAFireTeam = ["LIB_SOV_sergeant","LIB_SOV_rifleman","LIB_SOV_LC_rifleman","LIB_SOV_AT_grenadier"];
pLIB_RKKAATTeam = ["LIB_SOV_first_lieutenant","LIB_SOV_AT_grenadier","LIB_SOV_AT_grenadier","LIB_SOV_rifleman"];
pLIB_RKKAHATTeam = ["LIB_SOV_lieutenant","LIB_SOV_AT_soldier","LIB_SOV_AT_soldier","LIB_SOV_AT_grenadier"];
pLIB_RKKAMGTeam = ["LIB_SOV_first_lieutenant","LIB_SOV_mgunner","LIB_SOV_mgunner","LIB_SOV_smgunner"];
pLIB_RKKAAATeam = ["LIB_SOV_lieutenant","LIB_SOV_mgunner","LIB_SOV_mgunner","LIB_SOV_AT_grenadier"];
pLIB_RKKAHQTeam = ["LIB_SOV_captain","LIB_SOV_medic","LIB_SOV_operator","LIB_SOV_scout_sniper"];
pLIB_RKKASFTeam = ["LIB_SOV_scout_lieutenant","LIB_SOV_scout_p_officer","LIB_SOV_scout_mgunner","LIB_SOV_scout_smgunner","LIB_SOV_scout_rifleman","LIB_SOV_scout_sniper"];

pLIB_RKKACamoFireTeam = ["LIB_SOV_scout_sergeant","LIB_SOV_scout_rifleman","LIB_SOV_scout_rifleman","LIB_SOV_scout_smgunner"];
pLIB_RKKACamoATTeam = ["LIB_SOV_scout_p_officer","LIB_SOV_AT_grenadier","LIB_SOV_AT_grenadier","LIB_SOV_scout_smgunner"];
pLIB_RKKACamoHATTeam = ["LIB_SOV_scout_lieutenant","LIB_SOV_AT_soldier","LIB_SOV_AT_soldier","LIB_SOV_scout_smgunner"];
pLIB_RKKACamoMGTeam = ["LIB_SOV_scout_p_officer","LIB_SOV_scout_mgunner","LIB_SOV_scout_mgunner","LIB_SOV_scout_smgunner"];
pLIB_RKKACamoAATeam = ["LIB_SOV_scout_sergeant","LIB_SOV_scout_mgunner","LIB_SOV_scout_mgunner","LIB_SOV_scout_smgunner"];
pLIB_RKKACamoHQTeam = ["LIB_SOV_scout_lieutenant","LIB_SOV_medic","LIB_SOV_operator","LIB_SOV_scout_sniper"];
pLIB_RKKACamoType = pLIB_RKKACamoFireTeam +pLIB_RKKACamoATTeam +pLIB_RKKACamoHATTeam +pLIB_RKKACamoMGTeam +pLIB_RKKACamoAATeam +pLIB_RKKACamoHQTeam;
pLIB_RKKACamoSFTeam = ["LIB_SOV_scout_lieutenant","LIB_SOV_scout_p_officer","LIB_SOV_scout_mgunner","LIB_SOV_scout_smgunner","LIB_SOV_scout_rifleman","LIB_SOV_scout_sniper"];

pLIB_RKKASUP = ["lib_zis6_parm","lib_zis5v_med","lib_us6_ammo","lib_zis5v_fuel","lib_zis6_parm"];
pLIB_RKKAJeep = ["LIB_Scout_m3","Lib_Willys_MB","lib_us6_open","lib_us6_tent","lib_zis5v"];
//pLIB_RKKAAPC = ["Lib_SdKfz251_captured","LIB_SU85"];
pLIB_RKKAAPC = ["LIB_SU85"];
pLIB_RKKAMBT = ["LIB_JS2_43","LIB_t34_85","LIB_t34_76"];
pLIB_RKKAUH = [];
pLIB_RKKAOH = [];
pLIB_RKKAAH = [];
pLIB_RKKAAAA = ["LIB_61k"];
pLIB_RKKAARTY = ["LIB_BM37","lib_us6_bm13"];

pTurretLess set[count pTurretLess,"LIB_SU85"];

pLIB_RKKAtarget = ["LIB_Static_zis6_radar"];
pLIB_RKKAwarfare = ["land_lib_city_shop_1e_2","land_lib_city_shop_1e_2","land_lib_city_shop_1e_2","land_lib_city_shop_1e_2"];

pLIB_RKKACAS = ["LIB_Pe2"];
pLIB_RKKACAP = ["LIB_P39"];
pLIB_RKKAGBU = ["LIB_Pe2"];
***

So, as you can see there is pLIB_RKKAFireTeam which in code is called using "p" +faction +"Fireteam" etc.
Whatever the 'mericans have as faction you need to create the same set.
If they have "USARMY" as faction (I have no clue as I never fell for that DLC) you need to have a "pUSARMYFireteam" array with class name of the four units you want in that team.

Best approach would be to copy "\Oden\data_RKKA.sqf" into "\Oden\data_USARMY.sqf" and then edit all array names and last, to actually get the file used, go into "data.sqf" in the main folder and add
#include "Oden\data_USARMY.sqf"
(you'll see where WEHRMACHT and RKKA is loaded, almost at top of the code)


Now, just to make things complicated - you need to add the faction into the "server" logic in mission.sqm - look for:

init="gameOver=-1; gameSide=west; gameFaction=""LIB_WEHRMACHT""; this setVariable[""name"",""Battalion HQ""];";

and edit to gameFaction=""USARMY""

(example is from mission file in text editor - you can edit in the mission editor too, just write: gameFaction="USARMY", single quotes, if so)

Have fun.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.