Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. Emulation
  3. Arma III
  4. Aide / Support
  5. [Aide] Médic Spawn à Poile

[Aide] Médic Spawn à Poile

Scheduled Pinned Locked Moved Aide / Support
3 Posts 1 Posters 3.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RaydenR
    RaydenR
    Rayden
    wrote on last edited by
    #1

    <p style="font-size:14px;">Bonjour, Bonsoir,</p>
    <p style="font-size:14px;"> </p>
    <p style="font-size:14px;"> </p>
    <p style="font-size:14px;">J'ai un problmème que j'essaye de régler depuis hier soir qui est introuvable.</p>
    <p style="font-size:14px;"> </p>
    <p style="font-size:14px;">Avec seulement mon médic, je spawn à poile sans carte et sans mon skin que j'ai apporter voici mes fichiers; Un peu d'aide serai pas de refus:</p>
    <p style="font-size:14px;"> </p>
    <p style="font-size:14px;"> </p>
    <p style="font-size:14px;">fn_initMédic.sqf</p>
    <p style="font-size:14px;"> </p>
    <div style="font-size:14px;">
    <pre class="ipsCode prettyprint">
    #include <macro.h>
    /*
    File: fn_initMedic.sqf
    Author: Bryan "Tonic" Boardwine

    Description:
    Initializes the medic..
    */
    private["_end"];
    player addRating 99999999;
    waitUntil {!(isNull (findDisplay 46))};

    if((GETC(life_medicLevel)) < 1) exitWith {
    ["Notwhitelisted",FALSE,TRUE] call BIS_fnc_endMission;
    sleep 35;
    };

    [] call life_fnc_medicLoadout;
    [] call life_fnc_spawnMenu;

    waitUntil{!isNull (findDisplay 38500)}; //Wait for the spawn selection to be open.
    waitUntil{isNull (findDisplay 38500)}; //Wait for the spawn selection to be done.

    [] spawn
    {
    while {true} do
    {
    waitUntil {uniform player == "U_Rangemaster"};
    [[player,0,"textures\medic_uniform.jpg"],
    [[unitBackpack player,0,"textures\med_backpack.jpg"],
    waitUntil {uniform player != "U_Rangemaster"};
    };
    };

    [] spawn
    {
    while {true} do
    {
    waitUntil {backpack player == "B_Carryall_oucamo"};
    [[unitBackpack player,0,"textures\med_backpack.jpg"],
    waitUntil {backpack player != "B_Carryall_oucamo"};
    };
    };

    [] call life_fnc_uniform; 
    [] execVM "msgbienvenueMedic.sqf";</pre>
    </div>
    <p style="font-size:14px;">fn_médicLoadout.sqf:</p>
    <p style="font-size:14px;"> </p>
    <div style="font-size:14px;">
    <pre class="ipsCode prettyprint">
    /*
    File: fn_medicLoadout.sqf
    Author: Bryan "Tonic" Boardwine

    Description:
    Loads the medic out with the default gear.
    */
    private["_handle"];
    _handle = [] spawn life_fnc_stripDownPlayer;
    waitUntil {scriptDone _handle};

    player addUniform "U_Rangemaster";
    player addItem "FirstAidKit";
    player addItem "FirstAidKit";
    player addItem "ItemMap";
    player assignItem "ItemMap";
    player addItem "ItemCompass";
    player assignItem "ItemCompass";
    player addItem "ItemWatch";
    player assignItem "ItemWatch";

    [[player,0,"textures\medic_uniform.jpg"],"life_fnc_setTexture",true,false] spawn life_fnc_MP;
    [[unitBackpack player,0,"textures\med_backpack.jpg"],"life_fnc_setTexture",true,false] spawn life_fnc_MP;

    [] call life_fnc_saveGear;</pre>
    <p>fn_uniform:</p>
    <p> </p>
    <div>
    <pre class="ipsCode prettyprint">
    /*
        Uniform Script
        Author: Eldayia
        Created for http://altisdev.com
        uniform_police_rangemaster.jpg
    */

        #define GETC(var) (call var)
        

        if (playerSide != independent) then {
            if ((uniform player) == "U_B_CombatUniform_mcam_vest")  then {
        player setObjectTextureGlobal [0, "textures\skin_cop4.jpg"]; //Tenue police\uni\cop - Cop
       };
            };

    /*    if (playerSide != independent) then {
            if ((uniform player) == "H_Beret_02")  then {
        player setObjectTextureGlobal [0, "\A3\Characters_F_EPC\BLUFOR\Data\headgear_beret02_colonel_co.paa"]; //chapeau Socta
       };
            };
    */
        if (playerSide != independent) then {
            if ((uniform player) == "U_Rangemaster")  then {
        player setObjectTextureGlobal [0, "textures\medic_uniformjpg"]; //Tenue médic
       };
            };</pre>
    </div>
    </div>
    <p style="font-size:14px;">Voilà</p>

    By Rayden,

    1 Reply Last reply
    0
    • RaydenR
      RaydenR
      Rayden
      wrote on last edited by
      #2

      <p><span style="font-size:14px;">Et en plus mes textures du sac et de la tenue ne marche pas et en plus coté policier quand je veux mettre ma tenu, cela me dit que il trouve pas la tenu de médic --' </span></p>

      By Rayden,

      1 Reply Last reply
      0
      • RaydenR
        RaydenR
        Rayden
        wrote on last edited by
        #3

        <p>Problème résolu pour ceux qui ont besoin,</p>
        <p> </p>
        <p>Ouvrez le mission.sqm avec Notepad++</p>
        <p> </p>
        <p>ensuite chercher les lignes: <span style="font-family:helvetica, arial, sans-serif;font-size:14px;color:rgb(0,136,0);">"I_soldier_F"</span><span style="font-family:helvetica, arial, sans-serif;font-size:14px;color:rgb(102,102,0);">;</span></p>
        <p> </p>
        <p><span style="font-family:helvetica, arial, sans-serif;font-size:14px;color:rgb(102,102,0);">remplacer par: "B_soldier_F";</span></p>
        <p> </p>
        <p><span style="font-family:helvetica, arial, sans-serif;font-size:14px;color:rgb(102,102,0);">Cordialement,</span></p>

        By Rayden,

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups