isakk12 3 Posted May 29, 2019 I have exported the jpeg file to my mission folder and I have named it JAS1. The problem is when I click "Local exec" nothing happens, the texture stays the same. This is what is looks like from the Debug console: JAS1 setObjectTexture [01, "JAS1.jpeg"]; What is wrong? Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 29, 2019 5 hours ago, isakk12 said: .jpeg Hello there isakk12 ! The extension should be .jpg , but you should prefer the .paa format , also check the resolutions of your image. https://community.bistudio.com/wiki/ImageToPAA 1 Share this post Link to post Share on other sites
isakk12 3 Posted May 30, 2019 (edited) Thanks, for the info I will check it out! Btw my resolutions are about 100 Edited May 30, 2019 by isakk12 1 Share this post Link to post Share on other sites
Jackal326 1182 Posted May 30, 2019 Your texture resolutions should have dimensions that are to the power of 2 i.e. 128, 256, 512, 1024, 2048 etc. 2 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted May 30, 2019 11 hours ago, isakk12 said: my resolutions are about 100 11 hours ago, Jackal326 said: 128, 256, 512, 1024, 2048 etc. https://community.bistudio.com/wiki/ImageToPAA https://community.bistudio.com/wiki/TexView_2_Manual Spoiler Note: All input textures must have resolution 2^x / 2^y (e.g. 16 / 16, 32 / 32, 64 / 64, 256 /256). The largest texture size commonly supported by graphics cards and BI's game engines is 2048x2048, in future graphics textures 4096x4096 or even larger could be possible and it is already supported in TexView 2. check also if you like : 1 Share this post Link to post Share on other sites
isakk12 3 Posted June 1, 2019 I have tested it now and it said "Picture I_Plane_Fighter_04_F not found" but I have it saved on my desktop as a jpeg, why can´t arma find it? Btw how to I insert images on a topic? Anyway thanks for all replies! 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted June 1, 2019 4 hours ago, isakk12 said: it said "Picture I_Plane_Fighter_04_F not found" Check the name of the file and add the extention in your code and don't leave spaces : ( You should also post your working code , in order to find the error ) I_Plane_Fighter_04_F.jpg 4 hours ago, isakk12 said: Btw how to I insert images on a topic? You can use imgur to upload your image , https://imgur.com/ ( you don't need to make an account ) and then right click to save the location of the picture . ( I don't know what it says exacly , because i'm using a greek language firefox ) ex , result : Spoiler 2 Share this post Link to post Share on other sites
isakk12 3 Posted June 17, 2019 Hello, sorry for not being active for a while. I had forgot to check in on my topic. Anyway I the "Picture I_Plane_Fighter_04_F not found" error away, but the plane is displyed weird. Here is a picture: 1 Share this post Link to post Share on other sites
GEORGE FLOROS GR 4207 Posted June 17, 2019 8 hours ago, isakk12 said: but the plane is displyed weird There is no texture right (invisible)? share the code that you are using and the name , the resolution and the format of the image , in order to find the problem. Share this post Link to post Share on other sites
Jackal326 1182 Posted June 21, 2019 On 6/1/2019 at 3:17 PM, isakk12 said: I have tested it now and it said "Picture I_Plane_Fighter_04_F not found" but I have it saved on my desktop as a jpeg, why can´t arma find it? Maybe because its on your desktop... Unless you're packing the texture into the PBO along with your config.cpp or putting the texture within the mission folder itself, then of course the game can't find it... Share this post Link to post Share on other sites
warlord554 2065 Posted June 21, 2019 You have to pack it into pbo form, and if u use a3 addonbuilder the image needs to be on p drive (if you alter spec or normal map names you must change file path in the specific rvmat) Share this post Link to post Share on other sites
Jackal326 1182 Posted June 22, 2019 12 hours ago, warlord554 said: You have to pack it into pbo form, and if u use a3 addonbuilder the image needs to be on p drive (if you alter spec or normal map names you must change file path in the specific rvmat) which can then be used with the hiddenSelectionsMaterials[] = {}; config parameter e.g. hiddenSelectionsTextures[] = {"\SSQN_Equipment\Data\crye_vests_mcm_co.paa"}; // defines the texture path ("\pboname\subfolder\texture.paa") hiddenSelectionsMaterials[] = {"\SSQN_Equipment\Data\crye_vests.rvmat"}; // defines the material path ("\pboname\subfolder\material.rvmat") 1 Share this post Link to post Share on other sites