Warfare - Both sides have same gear?

questions and answer about OFP/ArmA editing

Warfare - Both sides have same gear?

Postby PillowTalk » Mon Aug 06, 2012 3:49 pm

I've been trying to edit the warfare mod so that both teams have all items in the gear menu at the base upgrade level and cost nothing to buy.

I finally got everything to show up in-game, however... Only the faction items show up. My gear sqfs have every item in the game in them, but russian gear still doesn't show up for the Blufor and US gear doesn't show up for Opfor.

I'm not sure what else needs to be done... If the items were already limited in this fashion, I don't understand why there would be separate gear scripts for each side/expansion :/

I am using the same gear script, just edited for the proper names of each faction at the top; everything except that first _faction call is the same:

Code: Select all
_faction = "US";

//Magazines

_u = [];//--- Magazine
_p = [];//--- Picture
_n = [];//--- Label
_o = [];//--- Price
_z = [];//--- Upgrade level

_u = _u + ["30Rnd_545x39_AK"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_545x39_AKSD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_762_AK47"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_762x39_SA58"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["64Rnd_9x19_Bizon"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["64Rnd_9x19_SD_Bizon"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_556x45_G36"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["100Rnd_556x45_BetaCMag"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_556x45_G36SD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_556x45_G36_Stanag"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_556x45_G36_StanagSD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["20Rnd_556x45_G36_Stanag"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["8Rnd_B_Beneli_74Slug"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_9x19_MP5"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_9x19_MP5SD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_9x19_UZI"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["30Rnd_9x19_UZI_SD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["15Rnd_9x19)M9SD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["17_Rnd_9x19_glock17"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["8Rnd_B_Saiga12_74Slug"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["10Rnd_9x39_SP5_VSS"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["20Rnd_9x39_SP5_VSS"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["100Rnd_762x51_M240"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["200Rnd_556x45_M249"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["100Rnd_762x54_PK"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["75Rnd_545x39_RPK"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["Igla"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["Javelin"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["M136"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["AT13"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["RPG18"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["PG7V"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["PG7VL"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["PG7VR"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["OG7"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SMAW_HEAA"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SMAW_HEDP"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["Stinger"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["Strela"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["7Rnd_45ACP_1911"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["15Rnd_9x19_M9"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["8Rnd_9x18_Makarov"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["8Rnd_9x18_MakarovSD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["20Rnd_B_765x17_Ball"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["10Rnd_B_765x17_Ball"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["6Rnd_45ACP"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["HandGrenade"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["HandGrenade_West"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["HandGrenade_East"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SmokeShell"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SmokeShellRed"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SmokeShellGreen"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SmokeShellYellow"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SmokeShellOrange"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SmokeShellPurple"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SmokeShellBlue"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["TimeBomb"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["PipeBomb"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["Mine"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["MineE"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["HandGrenade_Stone"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["1Rnd_HE_GP25"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["FlareWhite_GP25"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["FlareGreen_GP25"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["FlareRed_GP25"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["FlareYellow_GP25"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["1Rnd_Smoke_GP25"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["1Rnd_SmokeRed_Gp25"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["1Rnd_SmokeGreen_GP25"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["1Rnd_SmokeYellow_GP25"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["1Rnd_HE_M203"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["FlareWhite_M203"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["FlareGreen_M203"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["FlareRed_M203"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["FlareYellow_M203"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["1Rnd_Smoke_M203"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["1Rnd_SmokeRed_M203"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["1Rnd_SmokeGreen_M203"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["1Rnd_SmokeYellow_M203"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

[_faction, _u, _p, _n, _o, _z] Call Compile preprocessFile "Common\Config\Config_Magazines.sqf";

//Weapons

_u = [];//--- Weapon
_p = [];//--- Picture
_n = [];//--- Label
_o = [];//--- Price
_z = [];//--- Upgrade level
_m = [];//--- Magazines (-1 = auto, [x,y,z] = forced magazines)

//Launchers

_u = _u + ["Igla"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Javelin"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M136"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["MetisLauncher"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["RPG18"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["RPG7V"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SMAW"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Stinger"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Strela"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M32_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M47Launcher_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M79_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["MAAWS"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Mk13_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

//LMGs

_u = _u + ["M240"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M249"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M8_SAW"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["MG36"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Mk_48"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["PK"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Pecheneg"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["RPK_74"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M249_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M249_TWS_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M249_m145_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M60A4_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["MG36_camo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Mk_48_DES_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["m240_scoped_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

//Assault Rifles

_u = _u + ["AKS_74_U"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AKS_74_UN_kobra"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AKS_74_kobra"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AKS_74_pso"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AKS_GOLD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AK_107_GL_kobra"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AK_107_GL_pso"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AK_107_kobra"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AK_107_pso"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AK_47_M"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AK_47_S"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AK_74"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AK_74_GL"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Bizon"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["G36C"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["G36K"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["G36_C_SD_eotech"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["G36a"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M16A2"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M16A2_GL"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M16A4"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4A1_AIM_SD_camo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M16A4_ACG"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M16A4_ACG_GL"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M16A4_GL"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4A1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4A1_Aim"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4A1_Aim_camo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4A1_HWS_GL"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4A1_HWS_GL_SD_Camo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4A1_HWS_GL_camo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4A1_RCO_GL"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M8_carbine"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M8_carbineGL"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M8_compact"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["MP5A5"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["MP5SD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["bizon_silenced"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AKS_74"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AKS_74_GOSHAWK"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AKS_74_NSPU"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["AK_74_GL_kobra"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["FN_FAL"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["FN_FAL_ANPVS4"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["G36A_camo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["G36C_camo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["G36K_camo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["G36_C_SD_camo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["LeeEnfield"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M14_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4A3_CCO_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4A3_RCO_GL_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_H_CQC_CCO"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_H_CQC_CCO_SD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_H_STD_EGLM_Spect"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_L_CQC"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_L_CQC_CCO_SD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_L_CQC_EGLM_Holo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_L_CQC_Holo"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_L_STD_EGLM_RCO"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_L_STD_EGLM_TWS"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_L_STD_HOLO"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_L_STD_Mk4CQT"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Sa58P_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Sa58V_CCO_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Sa58V_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Sa58V_RCO_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

//Shotguns

_u = _u + ["M1014"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Saiga12K"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

//Sniper Rifles

_u = _u + ["DMR"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Huntingrifle"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["KSVK"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M107"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M24"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M40A3"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M4SPR"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M8_sharpshooter"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SVD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SVD_CAMO"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["VSS_vintorez"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M110_NVG_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M110_TWS_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M24_des_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_H_LNG_Sniper"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_H_LNG_Sniper_SD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SCAR_H_STD_TWS_SD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SVD_NSPU_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["SVD_des_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["m107_TWS_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

//Pistols

_u = _u + ["Colt1911"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M9"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["M9SD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Makarov"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["MakarovSD"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Sa61_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["UZI_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["USI_SD_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["glock17_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["revolver_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["revolver_gold_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

//Misc

_u = _u + ["Binocular"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Laserdesignator"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["NVGoggles"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Binocular_Vector"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["IRStrobe"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["IRStrobe_Marker"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["ItemCompass"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["ItemGPS"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["ItemMap"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Item_Radio"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

_u = _u + ["Item_Watch"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];
_m = _m + [-1];

[_faction, _u, _p, _n, _o, _z, _m] Call Compile preprocessFile "Common\Config\Config_Weapons.sqf";

//Backpacks

_u = [];//--- Backpack
_p = [];//--- Picture
_n = [];//--- Label
_o = [];//--- Price
_z = [];//--- Upgrade level

_u = _u + ["US_Assault_Pack_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Assault_Pack_Ammo_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Assault_Pack_AmmoSAW_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo SAW)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Assault_Pack_AT_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo AT)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Assault_Pack_Explosives_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo Explosives)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Patrol_Pack_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Patrol_Pack_Ammo_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Patrol_Pack_Specops_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo Specops)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Backpack_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Backpack_AmmoMG_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo MG)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Backpack_AT_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo AT)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["US_Backpack_Specops_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo Specops)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["M2HD_mini_TriPod_US_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["M2StaticMG_US_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["MK19_TriPod_US_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["TOW_TriPod_US_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["M252_US_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["TK_Assault_Pack_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [40];
_z = _z + [0];

_u = _u + ["TK_RPG_Backpack_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [30];
_z = _z + [0];

_u = _u + ["TK_ALICE_Pack_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [50];
_z = _z + [0];

_u = _u + ["TK_ALICE_Pack_AmmoMG_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo MG)'];
_o = _o + [50];
_z = _z + [0];

_u = _u + ["TK_ALICE_Pack_Explosives_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo Explosives)'];
_o = _o + [50];
_z = _z + [1];

_u = _u + ["TKA_ALICE_Pack_Ammo_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo)'];
_o = _o + [50];
_z = _z + [0];

_u = _u + ["TKG_ALICE_Pack_AmmoAK47_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo AK47)'];
_o = _o + [50];
_z = _z + [0];

_u = _u + ["TKG_ALICE_Pack_AmmoAK74_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo AK74)'];
_o = _o + [50];
_z = _z + [0];

_u = _u + ["TK_Assault_Pack_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [60];
_z = _z + [0];

_u = _u + ["TK_Assault_Pack_RPK_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo RPK)'];
_o = _o + [60];
_z = _z + [0];

_u = _u + ["TKA_Assault_Pack_Ammo_EP1"];
_p = _p + [''];
_n = _n + ['+(Ammo)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["Tripod_Bag"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["KORD_TK_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["DSHkM_Mini_TriPod_TK_GUE_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["KORD_high_TK_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["DSHKM_TK_GUE_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["AGS_TK_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["AGS_TK_GUE_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SPG9_TK_INS_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["SPG9_TK_GUE_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["Metis_TK_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["2b14_82mm_TK_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["2b14_82mm_TK_GUE_Bag_EP1"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_AssaultPack_ARAmmo"];
_p = _p + [''];
_n = _n + ['+(Ammo AR)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_AssaultPack_ATAmmo"];
_p = _p + [''];
_n = _n + ['+(Ammo AT)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_AssaultPack_FAC"];
_p = _p + [''];
_n = _n + ['+(Ammo FAC)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_AssaultPack_HAAAmmo"];
_p = _p + [''];
_n = _n + ['+(Ammo HAA)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_AssaultPack_HATAmmo"];
_p = _p + [''];
_n = _n + ['+(Ammo HAT)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_AssaultPack_LRRAmmo"];
_p = _p + [''];
_n = _n + ['+(Ammo LRR)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_AssaultPack_MGAmmo"];
_p = _p + [''];
_n = _n + ['+(Ammo MG)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_AssaultPack_RifleAmmo"];
_p = _p + [''];
_n = _n + ['+(Ammo)'];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_AssaultPack_special"];
_p = _p + [''];
_n = _n + ['+(Ammo Explosives)'];
_o = _o + [0];
_z = _z + [0];


_u = _u + ["BAF_L2A1_ACOG_minitripod_bag"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_L2A1_ACOG_tripod_bag"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_GPMG_Minitripod_D_bag"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];

_u = _u + ["BAF_GMG_ACOG_minitripod_bag"];
_p = _p + [''];
_n = _n + [''];
_o = _o + [0];
_z = _z + [0];


[_faction, _u, _p, _n, _o, _z] Call Compile preprocessFile "Common\Config\Config_Backpack.sqf";
PillowTalk
 
Posts: 2
Joined: Mon Aug 06, 2012 3:45 pm
 

Re: Warfare - Both sides have same gear?

Postby Benny » Mon Aug 06, 2012 9:30 pm

Have you defined the classnames in Core_Loadout ?
Benny
 
Posts: 1877
Joined: Wed Jun 04, 2008 12:31 pm
Location: France, Normandie
 

Re: Warfare - Both sides have same gear?

Postby PillowTalk » Mon Aug 06, 2012 11:37 pm

Ok yeah. I see now.

But what calls these "Loadout_" scripts, so I can just create a single loadout, shared by all sides?
PillowTalk
 
Posts: 2
Joined: Mon Aug 06, 2012 3:45 pm
 

Re: Warfare - Both sides have same gear?

Postby Benny » Tue Aug 07, 2012 8:45 am

Init_Common.sqf do, so yes you can share them among both side.

Note that this system change for the better in 073.
Benny
 
Posts: 1877
Joined: Wed Jun 04, 2008 12:31 pm
Location: France, Normandie
 

Return to Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron