Jump to content

sgtfonzie

Member
  • Content Count

    5
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About sgtfonzie

  • Rank
    Rookie
  1. Hey. it all Work now, but is there anyway you can decide what items goes into what? Like all my mags goes into the vest? I have tried everything??? My .hpp look like. and it is the red one that dont Work. any ideas? class CfgRoles { class Recon { displayName = "Recon"; icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\sergeant_gs.paa"; } } class CfgRespawnInventory { class WEST_1 //LEADER { displayName = "Leader"; icon = ""; role = "Recon"; uniformClass = "U_B_CTRG_1"; backpack = "B_AssaultPack_mcamo"; weapons[] = { "arifle_SPAR_01_GL_blk_F", "Rangefinder" }; magazines[] = { "30Rnd_556x45_Stanag_Tracer_Green" }; items[] = { "FirstAidKit" }; linkedItems[] = { "V_TacVest_oli", "H_Booniehat_khk_hs", "1Rnd_HE_Grenade_shell", "FirstAidKit", "ItemCompass", "ItemMap", "ItemRadio", "ItemWatch", "ItemGPS", "NVGoggles_OPFOR", "muzzle_snds_M", "acc_pointer_IR", "optic_MRCO" }; addItemToVest[] = { "30Rnd_556x45_Stanag_Tracer_Green" }; }; };
  2. THX alot, now it workes..!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  3. THX a lot that really helped me so that is awesome. Now i can pick loadout. I also find out how to chance the inv and find class names. But how can it be that my "role" only says default? I tried name the playerble unit didnt work. I tried to change the "icon" icon = "\A3\Ui_f\data\GUI\Cfg\Ranks\sergeant_gs.paa"; and set a new role. didnt work. The only thing i can change the name of the loadout. What i am doing wrong?
  4. Hey H. I am new in AMM (arma mission making) and i haved tryed for 7/8 hours to make a respawn menu like in apex. But i can't figure it out. I have search the forum but with no lock so far. How can i make the same menu that you have?? Hope you can and will help.
  5. sgtfonzie

    Respawn with Custom loadout

    Hey. I have tried this and it works. But i remade my code and now it looks like this. private ["_type","_unit"]; _type = _this select 0; _unit = _this select 1; //Remove all inventory removeallweapons _unit; removebackpack _unit; switch (_type) do { case "Leader": { //Weapon & Attachment _unit addMagazine "30Rnd_65x39_caseless_mag_Tracer"; _unit addWeapon "arifle_MX_GL_F"; _unit addPrimaryWeaponItem "muzzle_snds_H"; _unit addPrimaryWeaponItem "acc_pointer_IR"; _unit addPrimaryWeaponItem "optic_Arco"; _unit addWeapon "Laserdesignator"; //Headgear _unit addHeadgear "H_MilCap_mcamo"; //Uniform _unit AddUniform "U_B_CombatUniform_mcam"; _unit addItemToUniform "FirstAidKit"; for "_i" from 1 to 3 do {_unit addItemToUniform "SmokeShell";}; for "_i" from 1 to 2 do {_unit addItemToUniform "HandGrenade";}; //Vest, items & Ammunition _unit AddVest "V_Chestrig_oli"; for "_i" from 1 to 2 do {_unit addItemToVest "Laserbatteries";}; for "_i" from 1 to 7 do {_unit addItemToVest "30Rnd_65x39_caseless_mag_Tracer";}; for "_i" from 1 to 4 do {_unit addItemToVest "3Rnd_HE_Grenade_shell";}; for "_i" from 1 to 1 do {_unit addItemToVest "3Rnd_UGL_FlareWhite_F";}; //Backpack & items _unit addBackpack ""; //Equipment _unit linkItem "ItemMap"; _unit linkItem "ItemCompass"; _unit linkItem "ItemWatch"; _unit linkItem "ItemRadio"; _unit linkItem "ItemGPS"; _unit linkItem "NVGoggles"; }; case "Sharpshooter": { //Weapon, Attachment & Ammunition _unit addMagazine "20Rnd_762x51_Mag"; _unit addWeapon "srifle_DMR_03_tan_F"; _unit addPrimaryWeaponItem "muzzle_snds_B"; _unit addPrimaryWeaponItem "acc_pointer_IR"; _unit addPrimaryWeaponItem "optic_AMS_snd"; _unit addPrimaryWeaponItem "bipod_01_F_mtp"; _unit addWeapon "Rangefinder"; //Headgear _unit addHeadgear "H_Cap_tan_specops_US"; //Uniform _unit AddUniform "U_B_CombatUniform_mcam"; _unit addItemToUniform "FirstAidKit"; for "_i" from 1 to 3 do {_unit addItemToUniform "SmokeShell";}; for "_i" from 1 to 2 do {_unit addItemToUniform "HandGrenade";}; //Vest, items & Ammunition _unit AddVest "V_Chestrig_oli"; for "_i" from 1 to 11 do {_unit addItemToVest "20Rnd_762x51_Mag";}; //Backpack & items _unit addBackpack "B_AssaultPack_mcamo"; //Equipment _unit linkItem "ItemMap"; _unit linkItem "ItemCompass"; _unit linkItem "ItemWatch"; _unit linkItem "ItemRadio"; _unit linkItem "ItemGPS"; _unit linkItem "NVGoggles"; }; }; The .sqf is for 2 units. I want to make a respawn like "ENDGAME" (done that) but when a player respawn he loses his custom loadout and get the standard. How do i fix this??? PLZ HELP!!!
×