Jump to content
Sign in to follow this  
thetrooper

paint MH-9 different colour

Recommended Posts

I've worked out how to use a JPG file for a offroad. Very cool! Can we do the same with helicopters and other cars?

Share this post


Link to post
Share on other sites

yes you can. works pretty much the same. some vehicles require multiple hiddenselections to be completely covered with a texture.

example:

this setObjectTexture [0,"image.jpg"];

this setObjectTexture [1,"image.jpg"];

etc.

Share this post


Link to post
Share on other sites

skins for the mh-9:

//null = [this] execVM "heliSkins.sqf";

waituntil {!isnull player};
sleep 1;

_heli = _this select 0;

_skins = 
[

"A3\Air_F\Heli_Light_01\Data\Heli_Light_01_ext_Blufor_CO.paa",
"A3\Air_F\Heli_Light_01\Data\heli_light_01_ext_uni_mc.paa",
"A3\Air_F\Heli_Light_01\Data\heli_light_01_ext_indp_co.paa",
"A3\Air_F\Heli_Light_01\Data\heli_light_01_ext_co.paa",
"A3\Air_F\Heli_Light_01\Data\heli_light_01_ext_blue_co.paa",
"A3\Air_F\Heli_Light_01\Data\heli_light_01_ext_ion_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_blueline_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_digital_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_elliptical_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_graywatcher_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_jeans_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_shadow_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_sheriff_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_furious_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_speedy_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_sunset_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_vrana_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_wasp_co.paa",
"A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_wave_co.paa"

];

for "_i" from 0 to (count _skins)-1 do {
_skin = _skins select _i;
player sidechat str _skin;
_heli setObjectTexture [0,_skin];

sleep 5;
};

Share this post


Link to post
Share on other sites

Is there any way to see the skins without extracting PBOs etc? That's really handy that.

Share this post


Link to post
Share on other sites

Mattar_Tharkari's script will switch skin every 5 seconds, you just need to put it in a .sqf file and to call it with "null = [this] execVM "heliSkins.sqf";" in the init field. Or you can apply it with setObjectTexture, like this:

this setObjectTexture [0, "A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_sheriff_co.paa"];

or faster, aim the chopper and enter this is the debug consol:

cursorTarget setObjectTexture [0, "A3\Air_F\Heli_Light_01\Data\Skins\heli_light_01_ext_sheriff_co.paa"];

Share this post


Link to post
Share on other sites
there is a lot of paint for MH-9, already included in the game, check in cfg
Could you please clarify where exactly to look? I checked CfgVehicles like 10 times and didn't found anything except hiddenSelectionTextures but those are default. Edited by Semiconductor

Share this post


Link to post
Share on other sites

all skins are listed in the Mattar_Tharkari's script, you can apply them by his script or by using this code: cursorTarget setObjectTexture [0, "oneOfListedTexturesPathInMattarTharkarisScript.paa"];

Share this post


Link to post
Share on other sites

Yup, but you mentioned that names of those additional textures can be found somewhere in cfg. There is other vehicles with multiple skins and it would be nice if names of their skins can be found without all that unpacking stuff, like TheTrooper said.

Share this post


Link to post
Share on other sites

Yeah that's true. There really needs to be a visual reference somewhere.

Share this post


Link to post
Share on other sites
all skins are listed in the Mattar_Tharkari's script, you can apply them by his script or by using this code: cursorTarget setObjectTexture [0, "oneOfListedTexturesPathInMattarTharkarisScript.paa"];

make sure you use setObjectTextureGlobal if you want to use it in Multiplayer.

setObjectTextureGlobal

Now JIP compatible

Share this post


Link to post
Share on other sites

@Beerkan, noticed, twice ^^,

@Semiconductor, yep sorry, seem not to be in cfgs but in pbo libraries, i will ask to Titters (the guy who made this script), he spent a lot of time working on MH-9

Share this post


Link to post
Share on other sites
skins for the mh-9:

This is indeed a very awesome script to browse textures.

Would it be somehow possible to find all possible textures within the units config?

That would make it usable on any vehicle without rewriting/finding other textures by hand!

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  

×