Jump to content

Recommended Posts

Posted

Bonjour, Bonsoir,

 

 

J'ai un problmème que j'essaye de régler depuis hier soir qui est introuvable.

 

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:

 

 

fn_initMédic.sqf

 

#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";

fn_médicLoadout.sqf:

 

/*
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;

fn_uniform:

 

/*
    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
   };
        };

Voilà

Posted

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 --' 

Posted

Problème résolu pour ceux qui ont besoin,

 

Ouvrez le mission.sqm avec Notepad++

 

ensuite chercher les lignes: "I_soldier_F";

 

remplacer par: "B_soldier_F";

 

Cordialement,

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...