Hellow,
Ich wollte mal versuchen bei der 4.4 ob ich Rucksack Skins hinzufügen kann. Und zwar war mir das eigentlich bei den Medics am wichtigsten da ich selber aus dem Beruf stamme
Aber es will irgendwie nicht funktionieren er übernimmt den Skin nicht...hab auch mehrere Classnames versucht..nun verzweifel ich Hier meine playerskins.sqf
Habe das Tutroal von @nox auch schon probiert und auch versucht die Rucksäcke unsichtbar zu machen....aber bei mir will das nicht hinhauen...achja es handelt sich um den Rucksack Skin hier aus dem Forum "Medic" Danke im Vorraus
Code
#include "..\..\script_macros.hpp"
/*
File: fn_playerSkins.sqf
Author: Daniel Stuart
Description:
Sets skins for players by their side and uniform.
*/
private["_path","_unit","_type"];
_unit = [_this,0] call BIS_fnc_param;
_type = [_this,1,"",[""]] call BIS_fnc_param;
switch(playerSide) do {
case civilian: {
if(EQUAL(LIFE_SETTINGS(getNumber,"civ_skins"),1)) then {
if(uniform player == "U_C_Poloshirt_blue") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_1.jpg"];
};
};
};
case west: {
if(uniform player == "U_Rangemaster") then {
player setObjectTextureGlobal [0, "textures\cop_uniform.jpg"];
};
if(uniform player == "U_B_CombatUniform_mcam") then {
player setObjectTextureGlobal [0, "textures\sek.jpg"];
};
if(uniform player == "U_I_CombatUniform") then {
player setObjectTextureGlobal [0, "textures\zoll.paa"];
};
if(uniform player == "U_BG_Guerilla2_1") then {
player setObjectTextureGlobal [0, "textures\cop_1.jpg"];
};
if(uniform player == "U_BG_Guerilla2_2") then {
player setObjectTextureGlobal [0, "textures\cop_2.jpg"];
};
if((backpack player) == "B_ViperLightHarness_blk_F") then {
(unitBackpack _unit) setObjectTextureGlobal [0, ""];
};
};
case independent: {
if(uniform player == "U_BG_Guerilla2_1") then {
player setObjectTextureGlobal [0, "textures\medic_uniform.jpg"];
};
if(uniform player == "U_C_Scientist") then {
player setObjectTextureGlobal [0, "textures\retter.jpg"];
};
if((backpack player) == "B_Bergen_mcamo_F") then {
(unitBackpack _unit) setObjectTextureGlobal [0, "textures\medicb.paa"];
};
};
};
Alles anzeigen