Guten Tag zusammen ich habe folgendes problem
Ich Versuche schon seid paar stunden meine Cop Texturen einzufügen aber irgendwo scheitere ich leider dran was funktioniert mit eigener Texture ist der Rangemaster aber alle weiteren Texturen nicht
mein Vorgehen ich nutze 3 Kleidungen sprich Classnames sind auch in der Config_Clothing.hpp eingetragen sowie in der fn_playerSkins.sqf
Fehler die kommen sind wenn ich zum Shop gehe kann ich die erste Uniform Kaufen sowie mit meiner Texture aber die 2 weiteren Kleidungen werden auch angezeigt aber ohne eigener Texture sondern ganz in Weiss
Mfg
Texturenverzeichnis wurde geprüft sowie in der RTP - Server / Client keine Fehlermeldung dazu
extendedSkins habe ich auf True
fn_playerSkins.sqf
#include "..\..\script_macros.hpp"
/*
File: fn_playerSkins.sqf
Author: Daniel Stuart
Description:
Sets skins for players by their side and uniform.
*/
private ["_skinName"];
switch (playerSide) do {
case civilian: {
if (LIFE_SETTINGS(getNumber,"civ_skins") isEqualTo 1) then {
if (uniform player isEqualTo "U_C_Poloshirt_blue") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_1.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_burgundy") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_2.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_stripped") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_3.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_tricolour") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_4.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_salmon") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_5.jpg"];
};
if (uniform player isEqualTo "U_C_Poloshirt_redwhite") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_6.jpg"];
};
if (uniform player isEqualTo "U_C_Commoner1_1") then {
player setObjectTextureGlobal [0, "textures\civilian_uniform_7.jpg"];
};
};
};
case west: {
if (uniform player isEqualTo "U_Rangemaster") then {
if (FETCH_CONST(life_coplevel) >= 1) then {
player setObjectTextureGlobal [0, "Textures\Uniform\Cop\cop_uniform.jpg"];
};
};
if (uniform player isEqualTo "U_B_CombatUniform_mcam") then {
if (FETCH_CONST(life_coplevel) >= 2) then {
player setObjectTextureGlobal [0, "Textures\Uniform\Cop\Polizeimeister2.jpg"];
};
};
if (uniform player isEqualTo "U_B_CombatUniform_mcam") then {
if (FETCH_CONST(life_coplevel) >= 3) then {
player setObjectTextureGlobal [0, "Textures\Uniform\Cop\Polizeiobermeister3.jpg"];
};
};
if (uniform player isEqualTo "U_B_CombatUniform_mcam") then {
if (FETCH_CONST(life_coplevel) >= 4) then {
player setObjectTextureGlobal [0, "Textures\Uniform\Cop\Polizeihauptmeister4.jpg"];
};
};
if (uniform player isEqualTo "U_B_CombatUniform_mcam") then {
if (FETCH_CONST(life_coplevel) >= 5) then {
player setObjectTextureGlobal [0, "Textures\Uniform\Cop\Polizeikommissar5.jpg"];
};
};
if (uniform player isEqualTo "U_B_CombatUniform_mcam") then {
if (FETCH_CONST(life_coplevel) >= 6) then {
player setObjectTextureGlobal [0, "Textures\Uniform\Cop\Polizeioberkommissar6.jpg"];
};
};
if (uniform player isEqualTo "U_B_CombatUniform_mcam") then {
if (FETCH_CONST(life_coplevel) >= 7) then {
player setObjectTextureGlobal [0, "Textures\Uniform\Cop\Polizeihauptkommissar7.jpg"];
};
};
if (uniform player isEqualTo "U_B_CombatUniform_mcam") then {
player setObjectTextureGlobal [0, "Textures\Uniform\Cop\Leitender-Polizeidirektor8.jpg"];
};
if( backpack player == "B_Carryall_cbr") then {
(backpackContainer player) setObjectTextureGlobal [0,""];
};
};
case independent: {
if (uniform player isEqualTo "U_Rangemaster") then {
player setObjectTextureGlobal [0, "textures\medic_uniform.jpg"];
};
};
};
Alles anzeigen
Config_Clothing.hpp
title = "STR_Shops_C_Police";
conditions = "";
side = "cop";
uniforms[] = {
{ "NONE", $STR_C_Remove_uniforms, 0, "" },
{ "U_Rangemaster", "Anwärter", 25, "call life_coplevel >= 1" },
{ "U_B_CombatUniform_mcam", "Meister", 350, "call life_coplevel >= 5" },
{ "U_B_GEN_Commander_F", "Leitung", 350, "call life_coplevel >= 5" }