Jump to content
Sign in to follow this  
laughinwhale

Custom Hellcat Textures

Recommended Posts

I'm having the same issues as a number of people here, can't get my textures to display on the true in-game model. I spent a couple hours last night fine tuning my config, which I based off of the AW159 NATO skins pack. Just trying to whip up some medevac Hellcat skins for our group to use.

The issue I had was, I was of course able to specify the ppa file through the editor on the Hellcat when I spawned it in, that is a no brainer, but when I binned the cpp file (after working through a few compile errors) and PBO'ed the whole thing, the normal skins still show when I spawn a WY-55 in, or view one on a server. I'm probably dealing with the same problem as the OP, thought the class name was wrong but is correct as per the wiki page.

Edit: I think the deal is I'm probably missing the required addons line, that should be pointing to where the actual asset/model is correct? So I need to find the PBO which contains the WY-55 models? I'll try to post my config later, which I'm sure would be necessary to look at. However, any tips in the meantime are welcome!

Config:

class CfgPatches

{

class medicats

{

units[] = {};

weapons[] = {};

requiredVersion = 0.1;

requiredAddons[] = {"I_Heli_light_03_base_F"};

};

};

class CfgVehicles

{

class I_Heli_light_03_base_F;

class WY55_Medevac : I_Heli_light_03_base_F

{

_generalMacro = "I_Heli_light_03_base_F";

scope = 2;

side = 1;

faction = "BLU_F";

displayName = "WY-55 Medevac";

crew = "B_Helipilot_F";

hiddenSelections[]= {"camo1"};

hiddenSelectionsTextures[]= {"\Addons\Medicats\wy55\textures\medevac_hellcat_co.paa"};

typicalCargo[] = {"B_Helipilot_F"};

availableForSupportTypes[] = {"Drop","Transport"};

};

};

Addon build log:

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 14: .DefaultTextAttributes: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 23: .DefaultSounds: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 41: .RscText: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 48: .RscTextSmall: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 58: .RscTitle: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 70: .RscProgress: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 82: .RscProgressNotFreeze: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 97: .RscPicture: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 110: .RscLadderPicture: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 116: .RscPictureKeepAspect: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 191: .RscHTML: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 238: .RscButton: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 323: .RscShortcutButton: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 329: .RscButtonSmall: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 350: .RscEdit: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 372: .RscCombo: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 402: .RscListBox: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 435: .RscListNBox: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 464: .RscXListBox: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 493: .RscTree: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 506: .RscSlider: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 508: .RscSliderH: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 524: .RscXSliderH: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 545: .RscActiveText: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 567: .RscStructuredText: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 592: .RscControlsGroup: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 603: .RscBackgroundStripeTop: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 614: .RscBackgroundStripeBottom: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 621: .RscDisplayBackgroundStripes: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 641: .RscCinemaBorder: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 658: .RscToolbox: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 675: .RscHitZones: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 695: .RscXKeyShadow: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 703: .RscXKey: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1129: .RscMapControl: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1139: .RscObject: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1146: .RscStandardDisplay: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1152: .RscLineBreak: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1170: .RscCompass: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1186: .RscWatch: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1209: .RscMiniMap: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1211: .RscMiniMapSmall: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1215: .RscButtonImages: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1224: .RscObjectives: Member already defined.

File D:\Games\Steam\steamapps\common\Arma 3 Tools\binarize\bin\rscCommon.hpp, line 1228: .RscCheckBox: Member already defined.

Warning: CfgVehicles missing in PreloadConfig - may slow down vehicle creation

Warning: CfgAmmo missing in PreloadConfig - may slow down vehicle creation

Warning: CfgNonAIVehicles missing in PreloadConfig - may slow down vehicle creation

Cannot load font core\data\fonts\lucidaconsoleb8

Fonts file \core\data\fonts\lucidaConsoleB8 not found

Cannot load font core\data\fonts\lucidaconsoleb11

Fonts file \core\data\fonts\lucidaConsoleB11 not found

Creating texture headers file...

Texture headers file was not created - no textures found.

Sounds like a issue finding the textures??

Edited by laughinwhale

Share this post


Link to post
Share on other sites
Use "air_f_epb" as the required addons.

Ahh, not the actual class inside of it? Sounds good, I did get it working on my end without any edits, however other users get an error saying they can't load the texture when they spawn the vehicles. I'll have another look around, currently trying to add the .paa file(s) to a serverside .sqf script instead as that will be easier for our team's purposes. If people have tips on that too I'd be more than happy to take a look, thanks!

Share this post


Link to post
Share on other sites

The required addons bit is normally where you want the config to look, (Pbo files basically) Thats only required if youre using a classname that belongs in that PBO. Everyone on the server has to have the mod downloaded for them to see the texture, thats probably what your error is. Just pack the pbo, sign it, make a key and distribute between your team.

Share this post


Link to post
Share on other sites
The required addons bit is normally where you want the config to look, (Pbo files basically) Thats only required if youre using a classname that belongs in that PBO. Everyone on the server has to have the mod downloaded for them to see the texture, thats probably what your error is. Just pack the pbo, sign it, make a key and distribute between your team.

Made the change, I'll pbo it and try it out again.

EDIT: Trying to preview the local mission editor mission with this changed:

requiredAddons[] = {"I_Heli_light_03_base_F"};

Results in:

"No entry '\bin\config.bin/CfgPatches.air_f_epb'.

Looks like it didn't like that in the config file. I've seen a lot of addons with required addons blank, I'll give that a shot.

Yeah I do understand they need the PBO to see the textures, that is the reason I got a hold of the mission file and am trying to just inject the .paa files directly there. This is what we have for our vehicle setup sqf file:

//------------------------------ CONFIG

_unit = _this select 0;
_type = typeOf _unit;

//---------- UH-80 Ghosthawk

_ghosthawk = ["B_Heli_Transport_01_camo_F","B_Heli_Transport_01_F"];

//---------- Strider

_strider = ["I_MRAP_03_F","I_MRAP_03_hmg_F","I_MRAP_03_gmg_F"];

//---------- Black camo

_blackVehicles = ["B_Heli_Light_01_F","B_Heli_Light_01_armed_F"];

//---------- Sling

_slingable = ["B_Heli_Light_01_F"];
_notSlingable = ["B_Heli_Light_01_armed_F", "B_Heli_Attack_01_F"];

//---------- VAS-enabled

_VASable = ["B_Truck_01_ammo_F"];

//------------------------------ INITIALIZE VEHICLES

if (isNull _unit) exitWith {};

if (((_unit isKindOf "Helicopter") OR (_type in _slingable)) AND !(_type in _notSlingable)) then {
[_unit] execVM "scripts\vehicle\sling\sling_setupUnit.sqf"
};

if (_type in _ghosthawk) then {
[_unit] execVM "scripts\vehicle\animate\ghosthawk.sqf";
_unit addAction ["<t color='#0000f6'>Ammo Drop</t>", "scripts\vehicle\drop\drop.sqf",[1],0,false,true,"","driver _target == _this"];
_unit setObjectTextureGlobal [0,"scripts\vehicle\medighosts\textures\heli_transport_01_ext01_blufor_co.paa"]
_unit setObjectTextureGlobal [1,"scripts\vehicle\medighosts\textures\heli_transport_01_ext02_blufor_co.paa"]
};

if (_type in _blackVehicles) then {
for "_i" from 0 to 9 do { _unit setObjectTextureGlobal [_i,"#(argb,8,8,3)color(0,0,0,0.6)"]; };
};

if (_type in _strider) then {
_unit setObjectTexture [0,'\A3\soft_f_beta\mrap_03\data\mrap_03_ext_co.paa'];
_unit setObjectTexture [1,'\A3\data_f\vehicles\turret_co.paa'];
};

if (_type in _VASable) then {
_unit addAction ["Mobile VAS","scripts\VAS\open.sqf",[],10,true,true,'((vehicle player) == player) && ((player distance _target) < 10)'];
};

_unit addAction ["<t color='#3f3fff'>Clear Inventory</t>","scripts\vehicle\clear\clear.sqf",[],-97,false];

The bit that I added was this, also, I did place those textures in that location, this is for a ghosthawk version of this mod:

	_unit setObjectTextureGlobal [0,"scripts\vehicle\medighosts\textures\heli_transport_01_ext01_blufor_co.paa"]
_unit setObjectTextureGlobal [1,"scripts\vehicle\medighosts\textures\heli_transport_01_ext02_blufor_co.paa"]

However, when I opened the mission in the editor, the ghosthawk was still using it's normal texture, both the green and the black ones. I think I need to figure out how to add a custom class to the mission and then assign the .paa textures so we can spawn it in and leave the other normal ghost hawks alone. Been hunting around all day for this.

Edited by laughinwhale

Share this post


Link to post
Share on other sites

Try this:

#define private		0
#define protected		1
#define public		2

#define TEast		0
#define TWest		1
#define TGuerrila		2
#define TCivilian		3
#define TSideUnknown		4
#define TEnemy		5
#define TFriendly		6
#define TLogic		7

class CfgPatches {
class Medicats {
	units[] = {"RWY55_Medevac"};
	weapons[] = {""};
	requiredVersion = 0.1;
	requiredAddons[] = {"air_f_epb"};
};
};

class CfgVehicles {
class I_Heli_light_03_base_F {
	class AnimationSources;	// External class reference
};



class I_Heli_light_03_unarmed_base_F;	// External class reference

class RWY55_Medevac  : I_Heli_light_03_unarmed_base_F {
	scope = public;
	displayName = "WY-55 Medevac"";
	faction = BLU_F;
	side = TWest;
	weapons[] = {"CMFlareLauncher"};
	magazines[] = {"240Rnd_CMFlare_Chaff_Magazine"};
	crew = "B_HeliPilot_F";
	typicalCargo[] = {"B_HeliPilot_F"};
	availableForSupportTypes[] = {"Drop","Transport"}; 
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\Medicats\wy55\textures\medevac_hellcat_c o.paa""};
};

};

Share this post


Link to post
Share on other sites

Hmm, nice! I actually got both the ghosthawk texture mod, and the wy-55 one figured out. We're going to forgo using the mods themselves and call the textures directly in the server via one of our sqf files. I'm now trying to track down how to do that hehe. The main thing is I don't want to over-write the other units themselves, I'd still like the ability to spawn black and green ghosthawks in, for example, but it would be nice to put an extra class name in there.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×