reapertitanium 11 Posted April 17, 2017 Hi everyone, Today, i would like to make a mission for me and my friends. When i want to put our team logo on a white flag, it turn in full black. My image file extension is a .paa but before it was a .jpg. In mp, the flag don't appears. Can you help me please ? Thanks a lot. Share this post Link to post Share on other sites
Midnighters 152 Posted April 17, 2017 A) what's the size of the image? B) what are you using to set the flag texture? Share this post Link to post Share on other sites
reapertitanium 11 Posted April 17, 2017 2 minutes ago, Midnighters said: A) what's the size of the image? B) what are you using to set the flag texture? A) The size is 256x256px. B) I'm using this code : this SetFlagTexture "Legio.paa". Share this post Link to post Share on other sites
Midnighters 152 Posted April 17, 2017 4 minutes ago, reapertitanium said: A) The size is 256x256px. B) I'm using this code : this SetFlagTexture "Legio.paa". Actually! Disregard everything i had asked beforehand Quote Custom texture can be used, as long as it is in *.jpg format, and has dimensions of 200px*200px. Share this post Link to post Share on other sites
reapertitanium 11 Posted April 17, 2017 (edited) Ok i'll try it. I'll come back. EDIT : Ok, i've just try it and the flag still full black. Edited April 17, 2017 by reapertitanium Share this post Link to post Share on other sites
Midnighters 152 Posted April 17, 2017 8 minutes ago, reapertitanium said: Ok i'll try it. I'll come back. EDIT : Ok, i've just try it and the flag still full black. look at what I quoted above Share this post Link to post Share on other sites
reapertitanium 11 Posted April 17, 2017 Ok, but the problem is flag logos don't appearing in multiplayer. And that's one of my problems too. Share this post Link to post Share on other sites
Midnighters 152 Posted April 17, 2017 3 minutes ago, reapertitanium said: Ok, but the problem is flag logos don't appearing in multiplayer. And that's one of my problems too. use remoteExec. Share this post Link to post Share on other sites
reapertitanium 11 Posted April 17, 2017 Ok, thanks a lot. :) Share this post Link to post Share on other sites
reapertitanium 11 Posted April 17, 2017 Did I use the command correctly ? : <params> remoteExec ["SetFlagTexture", 0, true]; Share this post Link to post Share on other sites
Midnighters 152 Posted April 17, 2017 6 hours ago, reapertitanium said: Did I use the command correctly ? : <params> remoteExec ["SetFlagTexture", 0, true]; <params> is used to indicate you need to pass the parameters. So.. [this,"myFlagTexture.jpg"] remoteExec["setFlagTexture",this,true]; I believe that is the correct way, don't bank on it though. Share this post Link to post Share on other sites
pierremgi 4871 Posted April 17, 2017 remoteExec on <this> PC is totally weird. It seems to me that the flag is local to the server. so <this> has no more sense than no remote execution. But the question is not here! setFlagTexture is EG So no need to remoteExec it! You might have a jpg format issue. Test it with one of these textures.... or open a ticket on BI feedback if no result. Share this post Link to post Share on other sites
Midnighters 152 Posted April 18, 2017 15 hours ago, pierremgi said: remoteExec on <this> PC is totally weird. It seems to me that the flag is local to the server. so <this> has no more sense than no remote execution. But the question is not here! setFlagTexture is EG So no need to remoteExec it! You might have a jpg format issue. Test it with one of these textures.... or open a ticket on BI feedback if no result. Agh, I assumed as much. Thanks for the explanation. Share this post Link to post Share on other sites