Jump to content
Sign in to follow this  
Captain Epic

custom flags and signs don't work

Recommended Posts

Hello everyone.

I have tried to load custom flag/sign by using the propper command(which I will mention soon), and when it loads the picture, either its a blank white texture or a very dark one(the dark one appears when I transform the picture to .paa file)

when I use .jpg type I get blank white texture.

when I use .paa type I get the picture I want, just in a very dark texture, one that you can't really see what is on the sign/flag.

 

the command I use on signs:

this setObjectTexture [0, "YOURPICTURENAME.jpg"] 

the command I use on flags:

this setFlagTexture "Texture.jpg"

If anyone knows what's the problem, I would be grateful if he or she would share the solution.

Share this post


Link to post
Share on other sites

Is your image resolution in the ^2 scale i.e. 256x256 or 1024x512 etc.

 

Also where are you calling this command, is it in the Initialization field of the unit/object?

Share this post


Link to post
Share on other sites

Is your image resolution in the ^2 scale i.e. 256x256 or 1024x512 etc.

 

Also where are you calling this command, is it in the Initialization field of the unit/object?

 

 

My image resolution is not in this scale.

and I put the command in the init field of the object.

Share this post


Link to post
Share on other sites

My image resolution is not in this scale.

There lies your problem

Share this post


Link to post
Share on other sites

There lies your problem

 

I've tried changing the scale of a picture to 1024x512 and it doesn't seem to work(i've used wide sign).

I get white blank sign.

Share this post


Link to post
Share on other sites

maybe a problem with the path to your texture file. Check that path and check ur rpt file for error messages.

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  

×