Jump to content

Recommended Posts

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

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
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
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

Ok i'll try it. I'll come back.

 

EDIT : Ok, i've just try it and the flag still full black.

Edited by reapertitanium

Share this post


Link to post
Share on other sites
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
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
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

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
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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×