Jump to content

Flying-Coyotus

Member
  • Content Count

    132
  • Joined

  • Last visited

  • Medals

Posts posted by Flying-Coyotus


  1. Hello,

    I find few things in other topics and this one, and i have something that seems working for server host (not dedicated server):

    - respawn seems OK with the custom loadouts

    - no problem with uniform

    Custom loadouts: assault_long.sqf

    //waitUntil {!isNull player};

    _unit = _this select 0;

    If (local _unit) then {

    // removeallassigneditems _unit;

    removeallcontainers _unit;

    removeallweapons _unit;

    removebackpack _unit;

    removeuniform _unit;

    removevest _unit;

    // Headgear, Uniform & Vest

    _unit adduniform "U_B_CTRG_3";

    _unit addbackpack "B_BergenC_grn";

    _unit addvest "V_TacVest_oli";

    _unit addheadgear "H_mas_uk_HelmetB_paint";

    _unit addGoggles "G_Tactical_Clear";

    // Trinkets

    _unit additem "NVGoggles";

    _unit assignitem "NVGoggles";

    _unit additem "B_UavTerminal";

    _unit assignitem "B_UavTerminal";

    _unit addmagazine "Laserbatteries";

    _unit addweapon "Laserdesignator";

    // Kit

    _unit additem "FirstAidKit";

    _unit additem "FirstAidKit";

    _unit additem "FirstAidKit";

    _unit additem "FirstAidKit";

    // GRENADES

    _unit addmagazines ["handGrenade",4];

    _unit addMagazines ["DemoCharge_Remote_Mag", 2];

    // WEAPONS

    _unit addmagazine "20Rnd_mas_762x51_Stanag";

    _unit addWeapon "srifle_mas_sr25_sd";

    _unit addPrimaryWeaponItem "optic_Nightstalker";

    _unit addPrimaryWeaponItem 'optic_Nightstalker';

    (unitBackpack _unit) addMagazineCargoGlobal ["20Rnd_mas_762x51_Stanag",22];

    _unit addmagazine "12Rnd_mas_45acp_Mag";

    _unit addmagazine "12Rnd_mas_45acp_Mag";

    _unit addmagazine "12Rnd_mas_45acp_Mag";

    _unit addWeapon "hgun_mas_glocksf_F_sd";

    };

    //if(true) exitWith{};

    And in the INIT of the player (no name):

    null = [this] execVM "scripts\assault_long.sqf"; this addeventhandler ["respawn","_this execVM 'scripts\assault_long.sqf'"];

    (and of course, the marker respawn_west and a description.ext)

×