Hey guys and gals
Â
Recently I was trying to add ships to my custom (mod) faction. Implementing the ships I had no problem, but as soon as I tried to add my own skins to the ships, I encountered a problem.
I doesn't seem to be possible to add my skins to the ships, at least the way I was trying. Here's my code. Please help me 🙂
Â
class CfgVehicles
{
class ship;
class B_G_Boat_Transport_02_F;
class RHIB: B_G_Boat_Transport_02_F
{
side = 1;
scope = 2;
scopeCurator = 2;
crew = "Custom_Uniform1";
faction = "Coast Guard";
displayName = "Festrumpfschlauchboot";
model = "\A3\Boat_F_Exp\Boat_Transport_02\Boat_Transport_02_F.p3d";
hiddenSelections[] = {"Camo1"};
hiddenSelectionsTextures[] = {"\Coast-Guard\Data\Rhibboat_co.paa"};
};
class B_Lifeboat;
class SRHIB: B_Lifeboat
{
side = 1;
scope = 2;
scopeCurator = 2;
crew = "Custom_Uniform1";
faction = "Coast Guard";
displayName = "Festrumpfschlauchboot(klein)";
model = "\A3\Boat_F\Boat_Transport_01\Boat_Transport_01_F.p3d";
hiddenSelections[] = {"Camo"};
hiddenSelectionsTextures[] = {"\Coast-Guard\Data\Boat_Transport_01_rescue_CO_1.paa"};
};
};
Â
I tried to add the Skins in the editor via setObjectTextureGlobal and it worked with the ingame ships, however with the boats in my faction it didn't work.
Â
https://imgur.com/zfC63YW
Â
The inner ships textures have been replaced with setObjectTextureGlobal and the outer ones are the boats from my faction.