Jump to content
Sign in to follow this  
Avgeris

Flag Texture

Recommended Posts

Ok, I want a bot to carry a flag

I add in the init of the flag

flag1 setFlagTexture "myflag.jpg"

the flag pic is dimensions 200x200 and a jpg file

myflag.jpg

it appears black. The flag is in the folder of the mission

mymission.utes in the ArmA other Profiles folder, what do I do wrong?

Edited by Sfigokolarios

Share this post


Link to post
Share on other sites
.jep

isnt that wrong?

also isnt arma using .paa files only??

Share this post


Link to post
Share on other sites
isnt that wrong?

also isnt arma using .paa files only??

the jep was a wrong in the post.

No you can use .jpg

http://community.bistudio.com/wiki/setFlagTexture

Description:

Set flag texture.

If texture is "", flag is not drawn.

Custom texture can be used, as long as it is in *.jpg format, and has dimensions of 200px*200px.

The page Flag Textures shows which textures are available in each game.

Share this post


Link to post
Share on other sites

Ignore me.

Edited by kylania
well covered by others

Share this post


Link to post
Share on other sites

anyone PLS?

---------- Post added at 05:54 PM ---------- Previous post was at 05:36 PM ----------

I did it!!

I think the problem was that I added the Flag Carrier bot before I added the flag. After I deleted the BOT and added when in the mission.sqm list after the flat so it worked!

Share this post


Link to post
Share on other sites

I recommend changing to a .paa w/mipmaps though. There are times when a flag.jpg will render black. I get the feeling it's trying to paint other mipmaps which it doesn't have, but I'm not sure. I've since changed my problematic flag texture, so I haven't seen the error in a long while, so it could be fixed by now.

Share this post


Link to post
Share on other sites
I recommend changing to a .paa w/mipmaps though. There are times when a flag.jpg will render black. I get the feeling it's trying to paint other mipmaps which it doesn't have, but I'm not sure. I've since changed my problematic flag texture, so I haven't seen the error in a long while, so it could be fixed by now.

read what I said above, and keep it in mind, even the most expirienced map maker may fall to these traps.

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  

×