[Aide] Médic Spawn à Poile
-
<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" BoardwineDescription:
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" BoardwineDescription:
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> -
<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>
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