Jump to content
Sign in to follow this  
dragon zen

[SP]AdvancingPower - A 4F Dynamic Mission

Recommended Posts

Could you please answer my question: How can I add buildings or fortifications on falludja's map and play your mission? Is it possible at all?

Share this post


Link to post
Share on other sites

Thanks! Got distracted by EVE again and not playing much ArmA right now, but sure I'll get back and play this more in future.

Share this post


Link to post
Share on other sites
Could you please answer my question: How can I add buildings or fortifications on falludja's map and play your mission? Is it possible at all?

@Cyril55

"Add building or fortifications"...I'm sorry for that.

If you want to "buy" fortifications in this mission, sorry I didn't add this functions. I had the idea to buy M240nest or foxhole but didn't try it yet.

If you want to set some building before the game start, you need to edit the mission for yourself......

Share this post


Link to post
Share on other sites

Hey bro, nice update! I just played it a little bit now, still a great mission/mod.

The option to change deletion delay on bodies and wrecks is a good one as I hate seeing them disappear in front off me.

Also, do I need to add Iran, VME and the Japanese mod manually? Sorry I've only played it a little but it seems Iran is not an option any more.

Anyway thanks, I know you say it's the final release but I hope you keep tweaking and improving it from time to time :)

Share this post


Link to post
Share on other sites

Ok i see PLA works no problem..

I have added the Japanese mod also but maybe its not compatible with the mission as they do not have jets and static. But it does seem to work except it gives script error.

Error in expression <nerYthis=_LinerXthis*(_LinerY1-_LinerY2)/(_LinerX1-_LinerX2)+(_LinerX1*_LinerY2->
 Error position: </(_LinerX1-_LinerX2)+(_LinerX1*_LinerY2->
 Error Zero divisor
File C:\Users\OEM\Documents\ArmA 2 Other Profiles\K66\missions\AP_30_TWO.afghan_village\functions\LinerABX.sqf, line 8
Duplicate weapon Binocular detected for JGSDF_Soldier
Error in expression <nerYthis=_LinerXthis*(_LinerY1-_LinerY2)/(_LinerX1-_LinerX2)+(_LinerX1*_LinerY2->
 Error position: </(_LinerX1-_LinerX2)+(_LinerX1*_LinerY2->
 Error Zero divisor
File C:\Users\OEM\Documents\ArmA 2 Other Profiles\K66\missions\AP_30_TWO.afghan_village\functions\LinerABX.sqf, line 8

And Japanese units have no back packs... heres the PrepareSoldierVehicle.sqf

soldierlistE=[];soldierlistW=[];
vehiclelistE=[];vehiclelistW=[];
factionlistE=[];factionlistW=[];
AHlistE=[];AHlistW=[];
JetlistE=[];JetlistW=[];

_i=0;_j=0;_soldier=0;_kind=0;
_soldierall=configFile >> "CfgVehicles";

for [{_i=0}, {_i<count _soldierall}, {_i=_i+1}] do {
_soldier=_soldierall select _i;
if (isClass _soldier) then
{
_type=getText(_soldier >> "vehicleclass");
_name=configName(_soldier);
_kind=0;
if(_name isKindOf "Man")then{_kind=1;};
if(_name isKindOf "Car")then{_kind=2;};
if(_name isKindOf "Wheeled_APC")then{_kind=2.5;};
if(_name isKindOf "Tank")then{_kind=3;};
if((_name isKindOf "Helicopter")&&(!(_name isKindOf "ParachuteBase")))then{_kind=4;};
if((_name isKindOf "Plane")&&(!(_name isKindOf "UAV")))then{_kind=5;};
if(_kind>0)then
{
_display_name=getText(_soldier >> "displayName");
_side=getNumber(_soldier >> "side");
_side2=getText(_soldier >> "side");
if(_side2=="West")then{_side=1;};
if(_side2=="East")then{_side=0;};
_weapons=getArray(_soldier >> "weapons");
_turretN=count(_soldier >> "turrets");
_scope=getNumber(_soldier >> "scope");
_faction=getText(_soldier >> "faction");
if(_side==-1)then{_faction="Others";};
_model=getText(_soldier >> "model");
if((_display_name!="")&&(_model!=""))then
{
	if(_side in [1,-1])then{
if((_kind==1)&&(count _weapons>0)&&(_scope>1))then{soldierlistW=soldierlistW+[[_name,_display_name,500,_faction,_weapons]];};
if((_kind==2)&&(_scope>1))then{vehiclelistW=vehiclelistW+[[_name,_display_name,1000,_faction,1]];};
if((_kind==2.5)&&(_scope>1))then{vehiclelistW=vehiclelistW+[[_name,_display_name,3000,_faction,2]];};
if((_kind==3)&&(_scope>1))then{vehiclelistW=vehiclelistW+[[_name,_display_name,5000,_faction,2]];};
if((_kind==4)&&(_scope>1)&&((count _weapons>0)||(_turretN>0)))then{AHlistW=AHlistW+[[_name,_display_name,5000,_faction,2]];};
if((_kind==5)&&(_scope>1)&&((count _weapons>1)||(_turretN>0)))then{JetlistW=JetlistW+[[_name,_display_name,7000,_faction,2]];};
if(!(_faction in factionlistW))then{factionlistW=factionlistW+[_faction];};
	};
	if(_side in [0,-1])then{
if((_kind==1)&&(_scope>1)&&(count _weapons>0))then{soldierlistE=soldierlistE+[[_name,_display_name,500,_faction,_weapons]];};
if((_kind==2)&&(_scope>1))then{vehiclelistE=vehiclelistE+[[_name,_display_name,1000,_faction,1]];};
if((_kind==2.5)&&(_scope>1))then{vehiclelistE=vehiclelistE+[[_name,_display_name,3000,_faction,2]];};
if((_kind==3)&&(_scope>1))then{vehiclelistE=vehiclelistE+[[_name,_display_name,5000,_faction,2]];};
if((_kind==4)&&(_scope>1)&&((count _weapons>0)||(_turretN>0)))then{AHlistE=AHlistE+[[_name,_display_name,5000,_faction,2]];};
if((_kind==5)&&(_scope>1)&&((count _weapons>1)||(_turretN>0)))then{JetlistE=JetlistE+[[_name,_display_name,7000,_faction,2]];};
if(!(_faction in factionlistE))then{factionlistE=factionlistE+[_faction];};
	};
};
};
};
};




/*
PLEASE CHECK WHETHER THESE CODE IS CHANGING IN NEW VERSION

Preset factions is written in TeamArray:
[[[name,Order,side,enable],[soldier,money],[med,LAT,AT,HAT,AA],[lightvehicle,money],[heavyvehicle,money]]]
In first array, "name" can be any word, don't change (count TeamArray), third number is side (1=west,2=east, corresponding to default side to avoid bug), don't edit fourth value.
The Second array is soldier and their cost, noticed that the first soldier is the SquadLeader.
The third is AI marker tell AI which soldier is medic, LAT and so on. You can take "INS" [4,-1,8,-1,9] as example, 4 is order of "Ins_Soldier_Medic" (START FROM 0), -1 means no LAT unit.
The fourth and fifth array is LightVehicle and HeavyVehicle. In init.sqf, variable "DefMoneyWheel" and others are standard money for KillMoney and AIRecruit, so set a reasonable money.
The sixth is supply truck, you can't get supply truck if you leave it empty.
The seven is staticweapon, eight is helicopter.
The Ninth is jet, you can't call it in mission, it is set for background jets.
The Ten is code for special benefit of each faction, and the SpecIndex is the value of some mutiply:
 1,VehicleSkill+0.1;2,InfantrySkill+0.1;3,CheapInf;4,CheapVel;5,CheapHeli;6,CheapARTY;7,CheapRecon;8,CheapStatic;9,CheapNinja
 10,QuickInf;11,QuickVel;12,ImmuneToDetect 13,MoreMoney;14,UnusedInThisVersion;15,CheapAirdrop;16,MoreScore

Note:
1)Make sure you write correct code of units and care for number of [] to avoid bug.
2)Use if()then{} can avoid bug while you don't attach that mod. Set Disable in game if you donot play certain faction, needn't delete them here.
*/


TeamArray=[];
TeamArray=TeamArray+[[["USMC",(count TeamArray),1,1],["USMC_Soldier_SL",400,"USMC_Soldier_TL",300,"USMC_Soldier",100,"USMC_Soldier2",100,"USMC_Soldier_Medic",250,"USMC_Soldier_GL",150,"USMC_Soldier_AR",200,"USMC_Soldier_MG",250,"USMC_Soldier_LAT",300,"USMC_Soldier_AT",400,"USMC_Soldier_HAT",700,"USMC_Soldier_AA",400,"USMC_SoldierM_Marksman",300],[4,8,9,10,11],["HMMWV_M2",1000,"HMMWV_MK19",1200,"HMMWV_Armored",1000,"HMMWV_TOW",1500],["LAV25",3000,"AAV",3500,"M1A1",5000,"M1A2_TUSK_MG",6000],["MtvrReammo"],["M2StaticMG",600,"MK19_TriPod",800,"TOW_TriPod",1000,"M119",1000,"Stinger_Pod",800,"M252",800],["AH64D",16,"AH1Z",12,"UH1Y_cutscene",8],["A10",16,"AV8B2",12,"AV8B",12,"F35B",14],[13]]];
TeamArray=TeamArray+[[["JAPAN",(count TeamArray),1,1],["JGSDF_Soldier_SL",400,"JGSDF_Officer",400,"JGSDF_Soldier_MG_62",300,"JGSDF_Medic",100,"JGSDF_Soldier_MG_MINIMI",150,"JGSDF_Soldier_noarmor",250,"JGSDF_Soldier_SL",200,"JGSDF_Soldier_AT_84RR_AB",250,"JGSDF_Soldier_AT_110mm_AB",400,"JGSDF_Soldier_Sniper_24",300,"JGSDF_Soldier_Sniper_64",400,"JGSDF_Soldier",700,"JGSDF_Soldier_AT_84RR",400,"JGSDF_Soldier_AT_LMAT",300],[4,7,8,9,10],["JGSDF_BXD10",1200,"JGSDF_BXD10_open",1300,"JGSDF_KU50AW_MG",1300,"JGSDF_KU140W_A"],["JGSDF_90TK",4500],[],[],["JGSDF_AH1S",16,"JGSDF_CH47J",16,"JGSDF_CH47JA",10,"JGSDF_UH60JA",10],[],[15]]];
TeamArray=TeamArray+[[["CHINA",(count TeamArray),2,1],["VME_PLA_SquadLeader",400,"VME_PLA_TeamLeader",300,"VME_PLA_Soldier",100,"VME_PLA_Soldier_G",150,"VME_PLA_Soldier_Medic",250,"VME_PLA_Soldier_LMG",200,"VME_PLA_Soldier_MG",250,"VME_PLA_Soldier_RPG",300,"VME_PLA_Soldier_AT",400,"VME_PLA_Soldier_AT98",700,"VME_PLA_Soldier_AA",400,"VME_PLA_Soldier_marksman",300],[4,7,8,9,10],["VME_PLA_EQ2050",1200,"VME_PLA_KJB_EQ2050A",1300,"VME_PLA_KJB_EQ2050B",1300,"VME_PLA_hq7",1200],["VME_PLA_ZBD03",3000,"VME_PLA_ZBD04",3000,"VME_PLA_ZBL09",3500,"PLAZTZ99",4500],["VME_PLA_SX2190Reammo"],["VME_PLA_HJ8",1000,"vme_pla_qjz89",800,"vme_pla_qlz04",800,"VME_PLA_PG59_base",600],["VME_PLA_wz10",16,"VME_PLA_wz10A",16,"VME_PLA_Mi17",10],["VME_PLA_jh7",12,"VME_PLA_jh7B",12,"VME_PLA_jh7C",12],[13]]];
TeamArray=TeamArray+[[["Russia",(count TeamArray),2,1],["RU_Soldier_SL",400,"RU_Soldier_TL",300,"RU_Soldier",100,"RU_Soldier2",100,"RU_Soldier_Medic",200,"RU_Soldier_GL",150,"RU_Soldier_AR",200,"RU_Soldier_MG",250,"RU_Soldier_LAT",300,"RU_Soldier_AT",400,"RU_Soldier_HAT",700,"RU_Soldier_AA",400,"RU_Soldier_Marksman",300],[4,8,9,10,11],["UAZ_AGS30_RU",1100,"GAZ_Vodnik",1300],["GAZ_Vodnik_HMG",2000,"BTR90",3500,"BMP3",4000,"T72_RU",5000,"T90",6000],["KamazReammo"],["KORD_high",600,"AGS_RU",800,"Metis",1000,"D30_RU",1000,"Igla_AA_pod_East",800],["Ka52",16,"Mi24_V",12,"Mi24_P",12,"Mi17_rockets_RU",8],["Su39",12,"Su34",16],[6]]];
TeamArray=TeamArray+[[["CDF",(count TeamArray),1,1],["CDF_Soldier_Officer",400,"CDF_Soldier_TL",200,"CDF_Soldier",75,"CDF_Soldier_Medic",150,"CDF_Soldier_GL",100,"CDF_Soldier_Militia",100,"CDF_Soldier_AR",150,"CDF_Soldier_MG",200,"CDF_Soldier_RPG",300,"CDF_Soldier_Strela",400,"CDF_Soldier_Marksman",250],[3,-1,8,-1,9],["UAZ_MG_CDF",600,"UAZ_AGS30_CDF",1000,"Ural_ZU23_CDF",1500],["BMP2_CDF",2500,"BRDM2_CDF",2500,"BRDM2_ATGM_CDF",3000,"T72_CDF",4500],["UralReammo_CDF"],["AGS_CDF",800,"D30_CDF",1000,"DSHKM_CDF",600,"DSHkM_Mini_TriPod_CDF",600,"2b14_82mm_CDF",800,"SPG9_CDF",800,"ZU23_CDF",600],["Mi24_D",12,"Mi17_CDF",6],["Su25_CDF",12],[11,8]]];
TeamArray=TeamArray+[[["INS",(count TeamArray),2,1],["Ins_Soldier_CO",400,"Ins_Soldier_1",75,"Ins_Soldier_2",75,"Ins_Soldier_Medic",150,"Ins_Soldier_GL",75,"Ins_Soldier_AR",100,"Ins_Soldier_MG",150,"Ins_Soldier_AT",250,"Ins_Soldier_AA",350,"Ins_Soldier_Sab",150,"Ins_Soldier_Sapper",150,"Ins_Worker2",50,"Ins_Woodlander1",50,"Ins_Woodlander2",50,"Ins_Woodlander3",50,"Ins_Villager3",50,"Ins_Villager4",50],[4,-1,8,-1,9],["Pickup_PK_INS",350,"Offroad_DSHKM_INS",500,"UAZ_MG_INS",700,"UAZ_AGS30_INS",900,"UAZ_SPG9_INS",1200,"Ural_ZU23_INS",1500],["BMP2_INS",2000,"BRDM2_INS",2000,"BRDM2_ATGM_INS",2500,"T72_INS",4500],["UralReammo_INS"],["AGS_Ins",800,"D30_Ins",1000,"DSHKM_Ins",600,"DSHkM_Mini_TriPod",600,"2b14_82mm_INS",800,"SPG9_Ins",800,"ZU23_Ins",600],["Mi17_Ins",6],["Su25_Ins",10],[3,10]]];
if("FR_Commander" isKindOf "Man")then{TeamArray=TeamArray+[[["US-FR",(count TeamArray),1,1],["FR_TL",400,"FR_R",150,"FR_Corpsman",250,"FR_GL",200,"FR_AR",250,"FR_AC",300,"FR_Assault_GL",250,"FR_Assault_R",250,"FR_Marksman",350,"FR_Sapper",300],[2,-1,-1,-1,-1],[],["LAV25",3000,"AAV",3500],[],[],["AH1Z",12,"AH64D",16],["A10_US_EP1",16],[2,5,7,12,16]]];};
if("MVD_Soldier" isKindOf "Man")then{TeamArray=TeamArray+[[["MVD",(count TeamArray),2,1],["MVD_Soldier_TL",400,"MVD_Soldier",100,"MVD_Soldier_GL",150,"MVD_Soldier_AT",300,"MVD_Soldier_MG",250,"MVD_Soldier_Marksman",400,"MVD_Soldier_Sniper",450],[-1,-1,3,-1,-1],[],["GAZ_Vodnik_HMG",2000,"BTR90",3500,"BMP3",4000,"T72_RU",5000,"T90",6000],["KamazReammo"],[],["Mi24_V",12,"Mi24_P",12,"Mi17_rockets_RU",8],["Su39",12,"Su34",16],[1,4,14]]];};
if("RUS_Soldier_TL" isKindOf "Man")then{TeamArray=TeamArray+[[["Spetsnaz",(count TeamArray),2,1],["RUS_Soldier_TL",400,"RUS_Soldier1",200,"RUS_Soldier2",250,"RUS_Soldier3",250,"RUS_Soldier_GL",350,"RUS_Soldier_Marksman",350],[-1,4,-1,-1,-1],[],["BTR90",3500,"BMP3",4000],[],[],["Ka52",16,"Mi24_V",12,"Mi24_P",12],["Su39",12,"Su34",16],[2,7,9,10,12,16]]];};
if("US_Soldier_EP1" isKindOf "Man")then{TeamArray=TeamArray+[[["US",(count TeamArray),1,1],["US_Soldier_SL_EP1",400,"US_Soldier_TL_EP1",300,"US_Soldier_EP1",100,"US_Soldier_Medic_EP1",250,"US_Soldier_GL_EP1",150,"US_Soldier_AR_EP1",200,"US_Soldier_MG_EP1",250,"US_Soldier_LAT_EP1",300,"US_Soldier_AT_EP1",400,"US_Soldier_HAT_EP1",700,"US_Soldier_AA_EP1",400,"US_Soldier_Marksman_EP1",300],[3,7,8,9,10],["HMMWV_M998_crows_M2_DES_EP1",1400,"HMMWV_M998_crows_MK19_DES_EP1",1600,"HMMWV_TOW_DES_EP1",1700],["M1A1_US_DES_EP1",5000,"M2A2_EP1",3000,"M2A3_EP1",3500,"M1A2_US_TUSK_MG_EP1",6000],["MtvrReammo_DES_EP1"],["Stinger_Pod_US_EP1",800,"M119_US_EP1",1000,"M2StaticMG_US_EP1",600,"M2HD_mini_TriPod_US_EP1",600,"M252_US_EP1",800,"MK19_TriPod_US_EP1",800,"TOW_TriPod_US_EP1",1000],["AH64D_EP1",16,"CH_47F_EP1",8,"AH6X_EP1",6],["A10_US_EP1",16],[13]]];};
if("TK_Soldier_EP1" isKindOf "Man")then{TeamArray=TeamArray+[[["TK",(count TeamArray),2,1],["TK_Soldier_SL_EP1",400,"TK_Soldier_EP1",100,"TK_Soldier_Medic_EP1",250,"TK_Soldier_GL_EP1",150,"TK_Soldier_AR_EP1",200,"TK_Soldier_MG_EP1",250,"TK_Soldier_LAT_EP1",300,"TK_Soldier_AT_EP1",400,"TK_Soldier_HAT_EP1",700,"TK_Soldier_AA_EP1",400,"TK_Soldier_TWS_EP1",300],[2,6,7,8,9],["UAZ_MG_TK_EP1",800,"UAZ_AGS30_TK_EP1",1200,"LandRover_MG_TK_EP1",800,"LandRover_SPG9_TK_EP1",1200],["BTR60_TK_EP1",3000,"BRDM2_TK_EP1",2500,"BRDM2_ATGM_TK_EP1",3000,"T34_TK_EP1",3500,"T55_TK_EP1",4000,"T72_TK_EP1",4500],["UralReammo_TK_EP1"],["Igla_AA_pod_TK_EP1",800,"AGS_TK_EP1",800,"D30_TK_EP1",1000,"KORD_high_TK_EP1",600,"KORD_TK_EP1",600,"Metis_TK_EP1",1000,"2b14_82mm_TK_EP1",800,"ZU23_TK_EP1",600],["UH1H_TK_EP1",6,"Mi17_TK_EP1",6,"Mi24_D_TK_EP1",12],["Su25_TK_EP1",10,"L39_TK_EP1",10],[8,11]]];};
if("US_Delta_Force_EP1" isKindOf "Man")then{TeamArray=TeamArray+[[["D-Force",(count TeamArray),1,1],["US_Delta_Force_TL_EP1",400,"US_Delta_Force_EP1",150,"US_Delta_Force_Medic_EP1",250,"US_Delta_Force_Assault_EP1",200,"US_Delta_Force_SD_EP1",250,"US_Delta_Force_MG_EP1",300,"US_Delta_Force_AR_EP1",250,"US_Delta_Force_Night_EP1",250,"US_Delta_Force_Marksman_EP1",350,"US_Delta_Force_M14_EP1",300,"US_Delta_Force_Air_Controller_EP1",300],[2,-1,-1,-1,-1],["HMMWV_M998A2_SOV_DES_EP1",1400],["M2A2_EP1",3000,"M2A3_EP1",3500],["MtvrReammo_DES_EP1"],[],["AH64D_EP1",16],["A10_US_EP1",16],[2,7,15]]];};

if("VME_PLA_SquadLeader" isKindOf "Man")then{TeamArray=TeamArray+[[["PLA",(count TeamArray),2,1],["VME_PLA_SquadLeader",400,"VME_PLA_TeamLeader",300,"VME_PLA_Soldier",100,"VME_PLA_Soldier_G",150,"VME_PLA_Soldier_Medic",250,"VME_PLA_Soldier_LMG",200,"VME_PLA_Soldier_MG",250,"VME_PLA_Soldier_RPG",300,"VME_PLA_Soldier_AT",400,"VME_PLA_Soldier_AT98",700,"VME_PLA_Soldier_AA",400,"VME_PLA_Soldier_marksman",300],[4,7,8,9,10],["VME_PLA_EQ2050",1200,"VME_PLA_KJB_EQ2050A",1300,"VME_PLA_KJB_EQ2050B",1300,"VME_PLA_hq7",1200],["VME_PLA_ZBD03",3000,"VME_PLA_ZBD04",3000,"VME_PLA_ZBL09",3500,"PLAZTZ99",4500],["VME_PLA_SX2190Reammo"],["VME_PLA_HJ8",1000,"vme_pla_qjz89",800,"vme_pla_qlz04",800,"VME_PLA_PG59_base",600],["VME_PLA_wz10",16,"VME_PLA_wz10A",16,"VME_PLA_Mi17",10],["VME_PLA_jh7",12,"VME_PLA_jh7B",12,"VME_PLA_jh7C",12],[3]]];};
if("VME_PLA_SquadLeaderC" isKindOf "Man")then{TeamArray=TeamArray+[[["PLA-C",(count TeamArray),2,1],["VME_PLA_SquadLeaderC",400,"VME_PLA_TeamLeaderC",300,"VME_PLA_SoldierC",100,"VME_PLA_SoldierC_G",150,"VME_PLA_SoldierC_Medic",250,"VME_PLA_SoldierC_LMG",200,"VME_PLA_SoldierC_MG",250,"VME_PLA_SoldierC_AT",400,"VME_PLA_SoldierC_AT98",700,"VME_PLA_SoldierC_AA",400,"VME_PLA_SoldierC_marksman",300],[4,-1,7,8,9],["VME_PLA_EQ2050",1200,"VME_PLA_KJB_EQ2050A",1300,"VME_PLA_KJB_EQ2050B",1300,"VME_PLA_hq7",1200],["VME_PLA_ZBD03",3000,"VME_PLA_ZBD04",3000,"VME_PLA_ZBL09",3500,"PLAZTZ99",4500],["VME_PLA_SX2190Reammo"],["VME_PLA_HJ8",1000,"vme_pla_qjz89",800,"vme_pla_qlz04",800,"VME_PLA_PG59_base",600],["VME_PLA_wz10",16,"VME_PLA_wz10A",16,"VME_PLA_Mi17",10],["VME_PLA_jh7",12,"VME_PLA_jh7B",12,"VME_PLA_jh7C",12],[3]]];};
if("VME_PLA_SquadLeaderT" isKindOf "Man")then{TeamArray=TeamArray+[[["PLA-T",(count TeamArray),2,1],["VME_PLA_SquadLeaderT",400,"VME_PLA_TeamLeaderT",300,"VME_PLA_SoldierT",100,"VME_PLA_SoldierT_G",150,"VME_PLA_SoldierT_Medic",250,"VME_PLA_SoldierT_LMG",200,"VME_PLA_SoldierT_MG",250,"VME_PLA_SoldierT_AT",400,"VME_PLA_SoldierT_AT98",700,"VME_PLA_SoldierT_AA",400,"VME_PLA_SoldierT_marksman",300],[4,-1,7,8,9],["VME_PLA_EQ2050",1200,"VME_PLA_KJB_EQ2050A",1300,"VME_PLA_KJB_EQ2050B",1300,"VME_PLA_hq7",1200],["VME_PLA_ZBD03",3000,"VME_PLA_ZBD04",3000,"VME_PLA_ZBL09",3500,"PLAZTZ99",4500],["VME_PLA_SX2190Reammo"],["VME_PLA_HJ8",1000,"vme_pla_qjz89",800,"vme_pla_qlz04",800,"VME_PLA_PG59_base",600],["VME_PLA_wz10",16,"VME_PLA_wz10A",16,"VME_PLA_Mi17",10],["VME_PLA_jh7",12,"VME_PLA_jh7B",12,"VME_PLA_jh7C",12],[3]]];};
if("VME_PLA_MR_SquadLeader" isKindOf "Man")then{TeamArray=TeamArray+[[["PLA-MR",(count TeamArray),2,1],["VME_PLA_MR_SquadLeader",400,"VME_PLA_MR_TeamLeader",300,"VME_PLA_MR_Soldier",100,"VME_PLA_MR_Soldier_G",150,"VME_PLA_MR_Soldier_Medic",250,"VME_PLA_MR_Soldier_LMG",200,"VME_PLA_MR_Soldier_MG",250,"VME_PLA_MR_Soldier_AT",400,"VME_PLA_MR_Soldier_AT98",700,"VME_PLA_MR_Soldier_AA",400,"VME_PLA_MR_Soldier_marksman",300],[4,-1,7,8,9],["VME_PLA_EQ2050",1200,"VME_PLA_KJB_EQ2050A",1300,"VME_PLA_KJB_EQ2050B",1300,"VME_PLA_hq7",1200],["VME_PLA_ZBD03",3000,"VME_PLA_ZBD04",3000,"VME_PLA_ZBL09",3500,"PLAZTZ99",4500],["VME_PLA_SX2190Reammo"],["VME_PLA_HJ8",1000,"vme_pla_qjz89",800,"vme_pla_qlz04",800,"VME_PLA_PG59_base",600],["VME_PLA_wz10",16,"VME_PLA_wz10A",16,"VME_PLA_Mi17",10],["VME_PLA_jh7",12,"VME_PLA_jh7B",12,"VME_PLA_jh7C",12],[3]]];};
if("VME_PLA_AP_SquadLeader" isKindOf "Man")then{TeamArray=TeamArray+[[["PLA-AP",(count TeamArray),2,1],["VME_PLA_AP_SquadLeader",400,"VME_PLA_AP_TeamLeader",300,"VME_PLA_AP_Soldier",100,"VME_PLA_AP_Soldier_G",150,"VME_PLA_AP_Soldier_Medic",250,"VME_PLA_AP_Soldier_LMG",200,"VME_PLA_AP_Soldier_MG",250,"VME_PLA_AP_Soldier_RPG",300,"VME_PLA_AP_Soldier_AT",400,"VME_PLA_AP_Soldier_AT98",700,"VME_PLA_AP_Soldier_AA",400,"VME_PLA_AP_Soldier_marksman",300],[4,-1,7,8,9],["VME_PLA_EQ2050",1200,"VME_PLA_KJB_EQ2050A",1300,"VME_PLA_KJB_EQ2050B",1300,"VME_PLA_hq7",1200],["VME_PLA_ZBD03",3000,"VME_PLA_ZBD04",3000,"VME_PLA_ZBL09",3500,"PLAZTZ99",4500],["VME_PLA_SX2190Reammo"],["VME_PLA_HJ8",1000,"vme_pla_qjz89",800,"vme_pla_qlz04",800,"VME_PLA_PG59_base",600],["VME_PLA_wz10",16,"VME_PLA_wz10A",16,"VME_PLA_Mi17",10],["VME_PLA_jh7",12,"VME_PLA_jh7B",12,"VME_PLA_jh7C",12],[3]]];};
if("MSV_FLV_Soldier" isKindOf "Man")then{TeamArray=TeamArray+[[["MSW-FLV-RU",(count TeamArray),2,0],["MSV_FLV_SL",400,"MSV_FLV_TL",300,"MSV_FLV_Soldier",100,"MSV_FLV_Soldier2",100,"MSV_FLV_Medic",250,"MSV_FLV_soldier_gp",150,"MSV_FLV_AR",200,"MSV_FLV_mg",250,"MSV_FLV_LAT",300,"MSV_FLV_AT",400,"MSV_FLV_HAT",700,"MSV_FLV_sn",300],[4,8,9,10,-1],["UAZ_AGS30_RU",1100,"GAZ_Vodnik",1300],["GAZ_Vodnik_HMG",2000,"BTR90",3000,"BMP3",3500,"T72_RU",4500,"T90",5500],["KamazReammo"],["KORD_high",600,"AGS_RU",800,"Metis",1000,"D30_RU",1000,"Igla_AA_pod_East",800],["Ka52",16,"Mi24_V",12,"Mi24_P",12,"Mi17_rockets_RU",8],["Su39",12,"Su34",16],[6]]];};
if("MSV_FLV_Soldier_D" isKindOf "Man")then{TeamArray=TeamArray+[[["MSW-FLV-RU-D",(count TeamArray),2,0],["MSV_FLV_SL_D",400,"MSV_FLV_TL_D",300,"MSV_FLV_Soldier_D",100,"MSV_FLV_Soldier2_D",100,"MSV_FLV_Medic_D",250,"MSV_FLV_soldier_gp_D",150,"MSV_FLV_AR_D",200,"MSV_FLV_mg_D",250,"MSV_FLV_LAT_D",300,"MSV_FLV_AT_D",400,"MSV_FLV_HAT_D",700,"MSV_FLV_sn_D",300],[4,8,9,10,-1],["UAZ_AGS30_RU",1100,"GAZ_Vodnik",1300],["GAZ_Vodnik_HMG",2000,"BTR90",3000,"BMP3",3500,"T72_RU",4500,"T90",5500],["KamazReammo"],["KORD_high",600,"AGS_RU",800,"Metis",1000,"D30_RU",1000,"Igla_AA_pod_East",800],["Ka52",16,"Mi24_V",12,"Mi24_P",12,"Mi17_rockets_RU",8],["Su39",12,"Su34",16],[6]]];};

SpecIndex1=0.15;
SpecIndex2=0.15;
SpecIndex3=0.75;
SpecIndex4=0.8;
SpecIndex5=0.75;
SpecIndex6=0.5;
SpecIndex7=0.5;
SpecIndex8=0.75;
SpecIndex9=2;
SpecIndex15=0.5;
SpecIndex13=1.5;
CoefficientSoldier=1;
CoefficientLightVehicle=3;
CoefficientHeavyVehicle=5;

//if("ACE_RU_Soldier_SL_D" isKindOf "Man")then{TeamArray=TeamArray+[[["RU-Desert",(count TeamArray),2,1],["ACE_RU_Soldier_SL_D",400,"ACE_RU_Soldier_TL_D",300,"ACE_RU_Soldier_D",100,"ACE_RU_Soldier_Medic_D",250,"ACE_RU_Soldier_GL_D",150,"ACE_RU_Soldier_AR_D",200,"ACE_RU_Soldier_MG_D",250,"ACE_RU_Soldier_LAT_D",300,"ACE_RU_Soldier_AT_D",500,"ACE_RU_Soldier_HAT_D",700,"ACE_RU_Soldier_AA_D",500,"ACE_RU_Soldier_Marksman_D",500],[3,7,8,9,10],["ACE_UAZ_MG_RU",1000],["ACE_BTR70_RU_D",3500,"ACE_T72B_RU",4500,"ACE_T72BA_RU",4750,"ACE_T90A",5500],["ACE_KamazReammo"],["KORD_high",600,"AGS_RU",800,"Metis",1000,"D30_RU",1000,"Igla_AA_pod_East",800],[],[]]]};
//if("ACE_USMC_Soldier_SL_D" isKindOf "Man")then{TeamArray=TeamArray+[[["USMC-Desert",(count TeamArray),1,1],
/* Unused Units
ACE_MTVRReammo
"HMMWV_MK19_DES_EP1",1200,"HMMWV_M1151_M2_DES_EP1",800,
"ZSU_TK_EP1",3000,"ZSU_CDF",1500,
"VME_PLA_TZB_SquadLeader","VME_PLA_TZB_TeamLeader","VME_PLA_TZB_Soldier","VME_PLA_TZB_Soldier_G","VME_PLA_TZB_Soldier_Medic","VME_PLA_TZB_Soldier_LMG","VME_PLA_TZB_Soldier_MG","VME_PLA_TZB_Soldier_AT","VME_PLA_TZB_Soldier_AA",
"VME_PLA_TZB_GL_SquadLeader","VME_PLA_TZB_GL_TeamLeader","VME_PLA_TZB_GL_Soldier","VME_PLA_TZB_GL_Soldier_Medic","VME_PLA_TZB_Soldier_Sniper","VME_PLA_TZB_GL_Soldier_Sabotage",
"vme_pla_Force_Air_Controller","VME_PLA_Soldier_Sniper","VME_PLA_Soldier_Sniper127","VME_PLA_Soldier_Spotter","VME_PLA_Pilot","VME_PLA_Crew",
"VME_PLA_AP_Soldier_Engineer","VME_PLA_Soldier_Engineer","VME_PLA_SoldierC_Engineer","VME_PLA_SoldierT_Engineer","VME_PLA_MR_Soldier_Engineer","VME_PLA_TZB_Soldier_Engineer",
"VME_PLA_PGZ04",1000,"VME_PLA_PGZ2000",1000 fangkong "VME_PLA_PLZ05" huopao
"CDF_Soldier_Light","CDF_Soldier_Sniper","CDF_Soldier_Spotter","CDF_Soldier_Officer","CDF_Commander","CDF_Soldier_Pilot","CDF_Soldier_Crew","CDF_Soldier_Engineer",  ,"BMP2_Ambul_CDF","BMP2_HQ_CDF",
"Ins_Commander",400,"Ins_Soldier_Sniper","Ins_Lopotev","Ins_Bardak","Ins_Soldier_Pilot","Ins_Soldier_Crew","BMP2_Ambul_INS","BMP2_HQ_INS",
"RUS_Commander",
"FR_Commander","FR_Light","FR_AC","FR_Miles","FR_Cooper","FR_Sykes","FR_OHara","FR_Rodriguez"
"TK_Special_Forces_EP1","TK_Special_Forces_TL_EP1","TK_Special_Forces_MG_EP1","TK_Aziz_EP1","TK_Commander_EP1"
"CZ_Soldier_SL_DES_EP1","CZ_Soldier_DES_EP1","CZ_Soldier_B_DES_EP1","CZ_Soldier_AMG_DES_EP1","CZ_Soldier_AT_DES_EP1","CZ_Soldier_MG_DES_EP1","CZ_Soldier_Office_DES_EP1","CZ_Soldier_Light_DES_EP1","CZ_Soldier_Pilot_EP1","CZ_Soldier_Sniper_EP1","CZ_Special_Forces_Scout_DES_EP1","CZ_Special_Forces_MG_DES_EP1","CZ_Special_Forces_DES_EP1","CZ_Special_Forces_TL_DES_EP1","CZ_Special_Forces_GL_DES_EP1",
"US_Pilot_Light_EP1","Drake","Herrera","Pierce","Graves","Drake_Light","Herrera_Light","Pierce_Light","Graves_Light",
"BAF_Soldier_MTP","BAF_Soldier_DDPM","BAF_Soldier_GL_MTP","BAF_Soldier_GL_DDPM","BAF_Soldier_N_MTP","BAF_Soldier_N_DDPM","BAF_Soldier_L_MTP","BAF_Soldier_L_DDPM","BAF_ASoldier_MTP","BAF_ASoldier_DDPM","BAF_Soldier_AAR_MTP","BAF_Soldier_AAR_DDPM","BAF_Soldier_AMG_MTP","BAF_Soldier_AMG_DDPM","BAF_Soldier_AAT_MTP","BAF_Soldier_AAT_DDPM","BAF_Soldier_AHAT_MTP","BAF_Soldier_AHAT_DDPM","BAF_Soldier_AAA_MTP","BAF_Soldier_AAA_DDPM","BAF_Soldier_Officer_MTP","BAF_Soldier_Officer_DDPM","BAF_Soldier_SL_MTP","BAF_Soldier_SL_DDPM","BAF_Soldier_TL_MTP","BAF_Soldier_TL_DDPM","BAF_Soldier_AR_MTP","BAF_Soldier_AR_DDPM","BAF_Soldier_MG_MTP","BAF_Soldier_MG_DDPM","BAF_Soldier_AT_MTP","BAF_Soldier_AT_DDPM","BAF_Soldier_HAT_MTP","BAF_Soldier_HAT_DDPM","BAF_Soldier_AA_MTP","BAF_Soldier_AA_DDPM","BAF_Soldier_Marksman_MTP","BAF_Soldier_Marksman_DDPM","BAF_Soldier_scout_MTP","BAF_Soldier_scout_DDPM","BAF_Soldier_Sniper_MTP","BAF_Soldier_SniperH_MTP","BAF_Soldier_SniperN_MTP","BAF_Soldier_spotter_MTP","BAF_Soldier_spotterN_MTP","BAF_Pilot_MTP","BAF_Pilot_DDPM","BAF_crewman_MTP","BAF_crewman_DDPM","BAF_Soldier_Medic_MTP","BAF_Soldier_Medic_DDPM","BAF_Soldier_FAC_MTP","BAF_Soldier_FAC_DDPM","BAF_Soldier_EN_MTP","BAF_Soldier_EN_DDPM","BAF_Soldier_W","BAF_Soldier_GL_W","BAF_Soldier_N_W","BAF_Soldier_L_W","BAF_ASoldier_W","BAF_Soldier_AAR_W","BAF_Soldier_AMG_W","BAF_Soldier_AAT_W","BAF_Soldier_AHAT_W","BAF_Soldier_AAA_W","BAF_Soldier_Officer_W","BAF_Soldier_SL_W","BAF_Soldier_TL_W","BAF_Soldier_AR_W","BAF_Soldier_MG_W","BAF_Soldier_AT_W","BAF_Soldier_HAT_W","BAF_Soldier_AA_W","BAF_Soldier_Marksman_W","BAF_Soldier_scout_W","BAF_Soldier_Sniper_W","BAF_Soldier_SniperH_W","BAF_Soldier_SniperN_W","BAF_Soldier_spotter_W","BAF_Soldier_spotterN_W","BAF_Pilot_W","BAF_creWman_W","BAF_Soldier_Medic_W","BAF_Soldier_FAC_W","BAF_Soldier_EN_W"
"ACE_USMC_Soldier_SL_D","ACE_USMC_Soldier_TL_D","ACE_USMC_Soldier_D","ACE_USMC_Soldier_GL_D","ACE_USMC_Soldier_AR_D","ACE_USMC_Soldier_MG_D","ACE_USMC_Soldier_LAT_D","ACE_USMC_Soldier_AT_D","ACE_USMC_Soldier_HAT_D","ACE_USMC_Soldier_AA_D","ACE_USMC_SoldierM_Marksman_D","ACE_USMC_Soldier_Medic_D","ACE_HMMWV_GMV_MK19","ACE_M2A2_D"£¬"ACE_M1A1HC_TUSK_DESERT","ACE_M1A1HA_TUSK_CSAMM_DESERT"
"ACE-Russia-D",
*/

ListPrepare=1;
exit;

Can you give me a clue what i need to do or what im doing wrong, thanks :)

Edited by Katipo66

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
Sign in to follow this  

×