custom loudouts

  • Offline bolox
  • Mercenary
  • *****
  • Posts: 276

custom loudouts

« posted: Mar 19, 2015, 05:00 AM »
Anyone know of any good custom loudout scripts..so we can add player uids for different levels?
Our 250 popular player rust server 1rule- Dont be a dick
www.nomercykillers.com
  • Offline CREAMPIE
  • Armaholic
  • Veteran
  • ******
  • Posts: 1077
  • ^_^;;

Re: custom loudouts

« Reply #1 posted: Mar 19, 2015, 09:18 AM »
I have used this for ages for most of my mission files...

add this to the client\functions\clientCompile.sqf - edit the location if neccesary

Code: [Select]
supporters = "addons\supporters\loadouts.sqf" call mf_compile;

client\functions\playerSetupGear.sqf

Code: [Select]
//load supporter loadouts
_this call supporters;

if (_player == player) then
{
thirstLevel = 100;
hungerLevel = 100;
};

addons\supporters\loadouts.sqf - change the loadouts to your gear , these are set up for the NATO SF weapon mod.

Code: [Select]
// Supporter Loadouts Start here

_uid = getPlayerUID player;

_rank1 = [
"76561198110667111", //Garrard
"76561198036551111" //Panthera

];

_rank2 = [
"7656119808241111",  //ninjabunny
"7656119799831111" // ScorpionL2K
];

_rank3 = [
"765611980101111", //N3O
"7656119800341111", //DTHECK
"7656119803241111" //EVIL_BETTY

];

_rank4 = [
"765611980307111", // Diesel
"765611980108111"  // Hagar
];

_rank5 = [
"765611979601111"  // CRE4MPIE
];

_rank6 = [
"76561198031111"  // Antagonist
];


switch (true) do {
case (_uid in _rank1):
{
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
_player addBackpack "B_Bergen_mcamo";
_player addVest "V_TacVest_camo";
_player forceAddUniform "U_B_CombatUniform_mcam_tshirt";
_player addWeapon "arifle_mas_mp5SD_e";
_player addItem "HandGrenade";
_player addMagazine "30Rnd_mas_9x21_Stanag";
_player addMagazine "30Rnd_mas_9x21_Stanag";
_player addWeapon "hgun_mas_glocksf_F";
_player addMagazine "12Rnd_mas_45acp_Mag";
_player addMagazine "12Rnd_mas_45acp_Mag";
_player addItem "Medikit";
_player addWeapon "Binoculars";
_player addItem "FirstAidKit";
_player addHeadgear "H_Cap_brn_SPECOPS";
// _player setObjectTextureGlobal  [0, "client\images\vehicleTextures\camo_fuel.jpg"];
};

case (_uid in _rank2):
{
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
_player addBackpack "B_Kitbag_mcamo";
_player addVest "V_TacVest_camo";
_player forceAddUniform "U_I_GhillieSuit";
_player addWeapon "arifle_mas_mk16_l_gl";
_player addPrimaryWeaponItem "optic_mas_aim_c";
_player addMagazine "30Rnd_mas_556x45_Stanag";
_player addMagazine "30Rnd_mas_556x45_Stanag";
_player addMagazine "1Rnd_HE_Grenade_shell";
_player addMagazine "1Rnd_HE_Grenade_shell";
_player addItem "HandGrenade";
_player addWeapon "hgun_mas_glocksf_F";
_player addMagazine "11Rnd_45ACP_Mag";
_player addMagazine "11Rnd_45ACP_Mag";
_player addItem "Medikit";
_player addWeapon "Binoculars";
_player addItemToUniform "FirstAidKit";
_player addItemToUniform "FirstAidKit";
_player addHeadgear "H_HelmetB_camo";
// _player setObjectTextureGlobal  [0, "client\images\vehicleTextures\redcamo.jpg"];
};

case (_uid in _rank3):
{
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
_player addBackpack "B_Carryall_oucamo";
_player addVest "V_PlateCarrierIAGL_dgtl";
_player forceAddUniform "U_O_GhillieSuit";
_player addWeapon "arifle_mas_g3s_m203";
_player addPrimaryWeaponItem "muzzle_mas_snds_M";
_player addPrimaryWeaponItem "acc_mas_pointer_IR_b";
_player addPrimaryWeaponItem "optic_mas_aim_c";
_player addItem "HandGrenade";
_player addItem "HandGrenade";
_player addMagazine "20Rnd_mas_762x51_Stanag";
_player addMagazine "20Rnd_mas_762x51_Stanag";
_player addItem "1Rnd_HE_Grenade_shell";
_player addItem "1Rnd_HE_Grenade_shell";
_player addWeapon "hgun_mas_sa61_F";
_player addHandgunItem "muzzle_mas_snds_LM";
_player addHandgunItem "optic_mas_MRD";
_player addMagazine "20Rnd_mas_765x17_Mag";
_player addMagazine "20Rnd_mas_765x17_Mag";
_player addItem "Medikit";
_player addWeapon "Rangefinder";
_player addItem "FirstAidKit";
_player addItem "FirstAidKit";
_player addHeadgear "H_PilotHelmetHeli_O";
// _player setObjectTextureGlobal  [0, "client\images\vehicleTextures\IceCamo.jpg"];
};

case (_uid in _rank4):
{
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
_player addBackpack "B_Carryall_oucamo";
_player addVest "V_PlateCarrierIA2_dgtl";
_player forceAddUniform "U_B_GhillieSuit";
_player addWeapon "srifle_mas_hk417_v_sd";
_player addPrimaryWeaponItem "optic_mas_Hamr_camo";
_player addMagazine "20Rnd_mas_762x51_Stanag";
_player addMagazine "20Rnd_mas_762x51_Stanag";
_player addItem "HandGrenade";
_player addItem "HandGrenade";
_player addWeapon "hgun_Pistol_heavy_01_snds_F";
_player addMagazine "11Rnd_45ACP_Mag";
_player addMagazine "11Rnd_45ACP_Mag";
_player addItem "Medikit";
_player addWeapon "Rangefinder";
_player addItemToUniform "FirstAidKit";
_player addItemToUniform "FirstAidKit";
_player addHeadgear "H_PilotHelmetHeli_O";
// _player setObjectTextureGlobal  [0, "client\images\vehicleTextures\SWWD.jpg"];
};

case (_uid in _rank5):
{
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
_player addBackpack "B_Carryall_oli";
_player addVest "V_PlateCarrierIAGL_dgtl";
_player forceAddUniform "U_O_Wetsuit";
_player addWeapon "arifle_mas_fal_m203";
_player addPrimaryWeaponItem "muzzle_mas_snds_M";
_player addPrimaryWeaponItem "acc_mas_pointer_IR_b";
_player addPrimaryWeaponItem "optic_mas_aim_c";
_player addItem "HandGrenade";
_player addItem "HandGrenade";
_player addMagazine "20Rnd_mas_762x51_Stanag";
_player addMagazine "20Rnd_mas_762x51_Stanag";
_player addMagazine "20Rnd_mas_762x51_Stanag";
_player addItem "1Rnd_HE_Grenade_shell";
_player addItem "1Rnd_HE_Grenade_shell";
_player addWeapon "hgun_mas_sa61_F";
_player addHandgunItem "muzzle_mas_snds_LM";
_player addHandgunItem "optic_mas_MRD";
_player addMagazine "20Rnd_mas_765x17_Mag";
_player addMagazine "20Rnd_mas_765x17_Mag";
_player addItem "Medikit";
_player addWeapon "Rangefinder";
_player addItem "FirstAidKit";
_player addItem "FirstAidKit";
_player addGoggles "G_Balaclava_combat";
_player addHeadgear "H_HelmetB_camo";
// _player setObjectTextureGlobal  [0, "client\images\vehicleTextures\digicam.jpg"];   

};

case (_uid in _rank6):
{
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
removeAllWeapons _player;
removeVest _player;
removeBackpack _player;
_player addBackpack "B_Carryall_oucamo";
_player addVest "V_PlateCarrierIAGL_dgtl";
_player forceAddUniform "U_I_GhillieSuit";
_player addWeapon "arifle_mas_g3s_m203";
_player addPrimaryWeaponItem "muzzle_mas_snds_M";
_player addPrimaryWeaponItem "acc_mas_pointer_IR_b";
_player addPrimaryWeaponItem "optic_mas_aim_c";
_player addItem "HandGrenade";
_player addItem "HandGrenade";
_player addMagazine "20Rnd_mas_762x51_Stanag";
_player addMagazine "20Rnd_mas_762x51_Stanag";
_player addItem "1Rnd_HE_Grenade_shell";
_player addItem "1Rnd_HE_Grenade_shell";
_player addWeapon "hgun_mas_sa61_F";
_player addHandgunItem "muzzle_mas_snds_LM";
_player addHandgunItem "optic_mas_MRD";
_player addMagazine "20Rnd_mas_765x17_Mag";
_player addMagazine "20Rnd_mas_765x17_Mag";
_player addItem "Medikit";
_player addWeapon "Rangefinder";
_player addItem "FirstAidKit";
_player addItem "FirstAidKit";
_player addHeadgear "H_PilotHelmetHeli_O";
// _player setObjectTextureGlobal  [0, "client\images\vehicleTextures\ant.jpg"];
};

default
{
_player addBackpack "B_FieldPack_cbr";
_player addWeapon "hgun_mas_mak_F";
_player addWeapon "arifle_mas_aks74";
_player addMagazine "30Rnd_mas_545x39_T_mag";
_player addMagazine "8Rnd_mas_9x18_Mag";
_player addMagazine "8Rnd_mas_9x18_Mag";
_player addItem "FirstAidKit";
_player selectWeapon "arifle_mas_aks74"
};
};


- from the grassy knoll -

Re: custom loudouts

« Reply #2 posted: Mar 19, 2015, 01:46 PM »
Hi guys,

I do donator scripts per UID if that is something that you are looking for bolox...
  • Offline bolox
  • Mercenary
  • *****
  • Posts: 276

Re: custom loudouts

« Reply #3 posted: Mar 19, 2015, 08:00 PM »
Thats great cheers creampie! I can test this out...yah thats what im looking for fn_remedy..per loudout per uids .
Our 250 popular player rust server 1rule- Dont be a dick
www.nomercykillers.com

Re: custom loudouts

« Reply #4 posted: Apr 30, 2016, 02:53 AM »
Hi,
I got this working no problem within the mission file.
Has anyone got this working from within the external settings folder?
Still no luck:(
  • Offline CREAMPIE
  • Armaholic
  • Veteran
  • ******
  • Posts: 1077
  • ^_^;;

Re: custom loudouts

« Reply #5 posted: Apr 30, 2016, 07:00 AM »
Hi,
I got this working no problem within the mission file.
Has anyone got this working from within the external settings folder?
\
Look for Cael's posts on that - he had that working - You can just use a flag in the DB to check that too - but I'm too lazy to do that now , so I used the flag to enable custom VAS loadouts


- from the grassy knoll -