olegreyghost 14 Posted August 14, 2021 (edited) I have a vehicle ( C_Offroad_02_unarmed_F ) in which I am trying to change the texture. I found (4 ) four alternates that are available thru the cfg viewer. The viewer listed the original texture with the path of: hiddenSelectionsTextures [] = {"\A3\Weapons_F\Soft_F_Exp\Offroad_02\Data\offroad_02_ext_black_co.paa plus there is blue, green, orange, red & white variants. It also lists an alternate set of colors as: hiddenSelections [] = {"camo1", "camo2", "camo3", "camo4"}; I tried to change the initial color to camo1 with the following code according to the wiki using the " pboname\texture.paa ". trk setObjectTexture [0, "A3\camo1.paa"]; even tried: this setObjectTexture [0, "A3\camo1.paa"]; I then tried using the full path: this setObjectTexture [0, "A3\Weapons_F\Soft_F_Exp\Offroad_02\Data\camo1.paa"]; plus these permutations: offroad_02_ext_camo1.paa & offroad_02_ext_black_co.paa as the texture name at the end of the path. All the editor would tell me was that the texture could not be found. And yes, I did try to disable the random color selection mentioned in the wiki: trk setObjectTexture [0, "A3\camo1.paa"]; That didn't work either. The editor still displayed a random color every time I entered the scenario to test it out. I have in the past successfully applied my own custom textures to vehicles. Could some kind soul please enlighten me to the proper way of finding the location of the alternate texture & applying the command to change the texture on a vehicle...... Any assistance will be greatly appreciated...... UpDate: I found the PBO for the vehicle, which revealed two additional colors ( olive & brown ). But there wasn't any listings for any camo patterns Edited August 14, 2021 by olegreyghost additional info discovered Share this post Link to post Share on other sites
sarogahtyp 1109 Posted August 14, 2021 7 hours ago, olegreyghost said: It also lists an alternate set of colors as: hiddenSelections [] = {"camo1", "camo2", "camo3", "camo4"}; where do you see this in config viewer? In configFile >> "CfgVehicles" >> "C_Offroad_02_unarmed_F" there is no hiddenSelections entry and in configFile >> "CfgVehicles" >> "C_Offroad_02_unarmed_F" >> "TextureSources" there are the colours black, blue, brown, green, idap, olive, orange, red, white these are all except "idap" working with: Spoiler //black cursorObject setObjectTexture [0, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_black_co.paa"]; cursorObject setObjectTexture [1, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_black_co.paa"]; cursorObject setObjectTexture [2, "a3\soft_f_exp\offroad_02\data\offroad_02_int_black_co.paa"]; cursorObject setObjectTexture [3, "a3\soft_f_exp\offroad_02\data\offroad_02_int_black_co.paa"]; //blue cursorObject setObjectTexture [0, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_blue_co.paa"]; cursorObject setObjectTexture [1, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_blue_co.paa"]; cursorObject setObjectTexture [2, "a3\soft_f_exp\offroad_02\data\offroad_02_int_blue_co.paa"]; cursorObject setObjectTexture [3, "a3\soft_f_exp\offroad_02\data\offroad_02_int_blue_co.paa"]; //brown cursorObject setObjectTexture [0, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_brown_co.paa"]; cursorObject setObjectTexture [1, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_brown_co.paa"]; cursorObject setObjectTexture [2, "a3\soft_f_exp\offroad_02\data\offroad_02_int_brown_co.paa"]; cursorObject setObjectTexture [3, "a3\soft_f_exp\offroad_02\data\offroad_02_int_brown_co.paa"]; //green cursorObject setObjectTexture [0, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_green_co.paa"]; cursorObject setObjectTexture [1, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_green_co.paa"]; cursorObject setObjectTexture [2, "a3\soft_f_exp\offroad_02\data\offroad_02_int_green_co.paa"]; cursorObject setObjectTexture [3, "a3\soft_f_exp\offroad_02\data\offroad_02_int_green_co.paa"]; //idap - not doing anything but without error message cursorObject setObjectTexture [0, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_idap_co.paa"]; cursorObject setObjectTexture [1, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_idap_co.paa"]; cursorObject setObjectTexture [2, "a3\soft_f_exp\offroad_02\data\offroad_02_int_idap_co.paa"]; cursorObject setObjectTexture [3, "a3\soft_f_exp\offroad_02\data\offroad_02_int_idap_co.paa"]; //olive cursorObject setObjectTexture [0, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_olive_co.paa"]; cursorObject setObjectTexture [1, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_olive_co.paa"]; cursorObject setObjectTexture [2, "a3\soft_f_exp\offroad_02\data\offroad_02_int_olive_co.paa"]; cursorObject setObjectTexture [3, "a3\soft_f_exp\offroad_02\data\offroad_02_int_olive_co.paa"]; //orange cursorObject setObjectTexture [0, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_orange_co.paa"]; cursorObject setObjectTexture [1, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_orange_co.paa"]; cursorObject setObjectTexture [2, "a3\soft_f_exp\offroad_02\data\offroad_02_int_orange_co.paa"]; cursorObject setObjectTexture [3, "a3\soft_f_exp\offroad_02\data\offroad_02_int_orange_co.paa"]; //red cursorObject setObjectTexture [0, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_red_co.paa"]; cursorObject setObjectTexture [1, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_red_co.paa"]; cursorObject setObjectTexture [2, "a3\soft_f_exp\offroad_02\data\offroad_02_int_red_co.paa"]; cursorObject setObjectTexture [3, "a3\soft_f_exp\offroad_02\data\offroad_02_int_red_co.paa"]; //white cursorObject setObjectTexture [0, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_white_co.paa"]; cursorObject setObjectTexture [1, "a3\soft_f_exp\offroad_02\data\offroad_02_ext_white_co.paa"]; cursorObject setObjectTexture [2, "a3\soft_f_exp\offroad_02\data\offroad_02_int_white_co.paa"]; cursorObject setObjectTexture [3, "a3\soft_f_exp\offroad_02\data\offroad_02_int_white_co.paa"]; 1 Share this post Link to post Share on other sites
olegreyghost 14 Posted September 2, 2021 My apologies for the late reply. Had a RL project to take care of. I see this entry: " hiddenSelections [] = {"camo1", "camo2", "camo3", "camo4"};" two lines above this entry: "hiddenSelectionsTextures [] = {"\A3\Weapons_F\Soft_F_Exp\Offroad_02\Data\offroad_02_ext_black_co.paa" in the CFG viewer... There are usually five (5) "Hidden" entries in the listing. I understand the materials & textures entries. What I am trying to do is figure out how to apply the hiddenSelection entry (overlay the camo1, etc.) to replace the selected material color which displays randomly. Or does the rotating random display of colors prevent using "setObjectTexture" from functioning ???? Share this post Link to post Share on other sites
pierremgi 4906 Posted September 3, 2021 this setObjectTexture [0,"\a3\Soft_F_Orange\Offroad_02\Data\offroad_02_ext_IDAP_co.paa"]; works for me. (orange DLC instead of exp) 5 hours ago, olegreyghost said: Or does the rotating random display of colors prevent using "setObjectTexture" from functioning ???? With A3 textures no problem. For custom texture add before: this setVariable ["BIS_enableRandomization", false]; See example 4. Share this post Link to post Share on other sites
olegreyghost 14 Posted September 3, 2021 Thank you, pierremgi. I kind of figured the rotation was preventing the "setObjectTexture" command from functioning. Not being proficient at scripting, I just didn't know how to get around it. Ouch!! I missed reading that. When I saw that Ex. 2 & 3 did not apply, I didn't read the last example. But still, my main question is: 6 hours ago, olegreyghost said: " hiddenSelections [] = {"camo1", "camo2", "camo3", "camo4"}; " What is its' function & are the 4 camo patterns accessible?? If accessible; how do you determine their location ?? Share this post Link to post Share on other sites
olegreyghost 14 Posted September 4, 2021 OK. I will try once again with another example. This time using the Chinook, uns_ch47_m60_army from the Unsung mod. " hiddenSelections [] = {"camo1", "camo2", "camo3", "clan"}; " Same question: On 9/3/2021 at 2:11 AM, olegreyghost said: What is its' function & are the 4 patterns accessible?? If accessible; how do you determine their location ?? These are the applied textures: hiddenSelectionsTextures [] = {"uns_ch47a\skins\ch47_ext_1_co.paa", "uns_ch47a\skins\ch47_ext_2_co.paa", "ch47f_nalepky_army_ca.paa"}; which translates to: slot #0 (front half of helo) - slot #1 (back half of helo) - slot #2 (us army logo on fuel tanks & ID numbers on transmission cowlings {custom alpha graphic}). The helo is capable of accepting nose art under the windshield, but I have not been able to find it &/or access it; using the setObjectTexture command. I gather this is where the "clan" graphic would go. Would that be considered slot #4 ?? Thanks in advance for your assistance...... Share this post Link to post Share on other sites