Jump to content
Sign in to follow this  
Erwin23p

Vehicle skins

Recommended Posts

Hello, with Eden editor there are a lot of new question, and I have a little one that is maybe very easy.

if you spawn a quadbike and go to attributes, below, you will have this skin selector: 

20160808003047_1.jpg

 

I would like to know, how to select one of these skins in a script, for example, using createvehicle...

 

Thanks a lot.

Share this post


Link to post
Share on other sites

Open the Config Viewer > In the Left Window, Double click B_Quadbike_01_F > Scroll down and Double click TextureSources.

Black:
textures[] = {"\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_CIV_BLACK_CO.paa","\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_wheel_CIVBLACK_CO.paa"};
Blue:
textures[] = {"\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_CIV_BLUE_CO.paa","\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_wheel_CIVBLUE_CO.paa"};
Red:
textures[] = {"\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_CIV_RED_CO.paa","\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_wheel_CIVRED_CO.paa"};
White:
textures[] = {"\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_CIV_WHITE_CO.paa","\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_wheel_CIVWHITE_CO.paa"};

Blufor
textures[] = {"\A3\Soft_F\Quadbike_01\Data\Quadbike_01_co.paa","\A3\Soft_F\Quadbike_01\Data\Quadbike_01_wheel_co.paa"};
Indep:
textures[] = {"\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_INDP_CO.paa","\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_wheel_INDP_CO.paa"};
Opfor:
textures[] = {"\A3\Soft_F\Quadbike_01\Data\Quadbike_01_OPFOR_CO.paa","\A3\Soft_F\Quadbike_01\Data\Quadbike_01_wheel_OPFOR_CO.paa"};

Green Hex:
textures[] = {"\A3\Soft_F_Exp\Quadbike_01\Data\Quadbike_01_ghex_CO.paa","\A3\Soft_F_Exp\Quadbike_01\Data\Quadbike_01_wheel_ghex_CO.paa"};
Guerrilla_01:
textures[] = {"\A3\Soft_F_Bootcamp\Quadbike_01\Data\Quadbike_01_IG_CO.paa","\A3\soft_f_gamma\Quadbike_01\Data\Quadbike_01_wheel_IG_CO.paa"};
Guerrilla_02:
textures[] = {"\A3\Soft_F_Bootcamp\Quadbike_01\Data\Quadbike_01_INDP_Hunter_CO.paa","\A3\soft_f_gamma\Quadbike_01\Data\Quadbike_01_wheel_INDP_Hunter_CO.paa"};
// White Body Example:
quad_1 setObjectTextureGlobal [0, "\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_CIV_WHITE_CO.paa"];
// White Wheels Example:
quad_1 setObjectTextureGlobal [1, "\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_wheel_CIVWHITE_CO.paa"];

Links:

https://forums.bistudio.com/topic/192841-uh-80-dazzle-texture/

https://forums.bistudio.com/topic/147049-setting-color-of-offroad/

  • Like 2

Share this post


Link to post
Share on other sites

Thanks a lot, but I think I just found an easier way... 

quadBike = "B_Quadbike_01_F" createVehicle [4701.02,5501.63,0];
[
	quadBike,
	["Black",1], 
	true
] call BIS_fnc_initVehicle;

btw, if I have some questions about scripting, can I ask you? it's because I don't want to open 100 threads... 

Share this post


Link to post
Share on other sites

btw, if I have some questions about scripting, can I ask you? it's because I don't want to open 100 threads...

No offense, but if your questions are similar to "how do I change the texture via script", then I am pretty sure the search function can answer most of them for you. :>

  • Like 1

Share this post


Link to post
Share on other sites

yeah, I can understand, sorry for bothering :c 

But I searched for this stupid question before asking, I only found colors or images...

 

Thanks anyway

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  

×