*-HWS-*SubZero 0 Posted June 2, 2007 Hi all, got a flag problem. I whant to put a flag, my own flag into a pole, but doesn't seems to work. Ive read and try what the wiki said but, It's not positive. The wiki said to put that in the Init field: Wiki url I got a .paa named hws.paa located in: C:\...\ArmA Other Profiles\-HWS-SubZero\missions\-HWS-DesertAmbush.Sara\img\ Ive tried to put this in the init field: Quote[/b] ]this setFlagTexture "hws.paa"this SetFlagTexture "\img\hws.paa" This doesn't work either. I got the 1.06 version U.S. release, and theres no flag international, or empty flag pole like there was in flashpoint and It's all Flag(US), Flag(SLA), Flag(RACS).. Anyone got the answer of how to fix that ? Thx Share this post Link to post Share on other sites
dr_eyeball 16 Posted June 2, 2007 I can't explain why it doesn't work for you. I can simply tell you what works for me. This works with a "FlagCarrierWest" object: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setFlagTexture "Images\Flags\myFlag.jpg" The flag I'm using is a jpg at 256x256x24 taken from Jerry Hopper's Flags.pbo v0.1. Note that it's square and it's size is a power of 2. Share this post Link to post Share on other sites
Flat!!! 0 Posted June 2, 2007 I dont think PAA works for a flag... Share this post Link to post Share on other sites
Taurus 20 Posted June 2, 2007 I dont think PAA works for a flag... sure it does? the ingame flags are in that format Perhaps the image itself isn't in the right pixel format, I dunno. *-HWS-*SubZero Read up on the size and pixelformat/color-depth the picture should have. Maybe its what troubles you. Share this post Link to post Share on other sites
W0lle 1052 Posted June 2, 2007 Try it with this line: <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this SetFlagTexture "img\hws.paa" Using <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this SetFlagTexture "\img\hws.paa" tells ArmA that the texture is located at an addon called "img". Using <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setFlagTexture "hws.paa" is used if the texture is located in the mission folder. Quote[/b] ]I dont think PAA works for a flag... Of course it does, supported filetypes are .paa, .pac and .jpg Share this post Link to post Share on other sites
Big Dawg KS 6 Posted June 2, 2007 File paths for mission sub folders do not include a \ like W0lle showed you, otherwise the game expects it to be an addon. Share this post Link to post Share on other sites
*-HWS-*SubZero 0 Posted June 2, 2007 Well thx for the reply, problem fix, <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setFlagTexture "Images\Flags\myFlag.jpg" I just re-name my img folder to images and create a Flags folder inside the images folder and it worked... Dunno If that was the problem ?! Thx anyway, I appreciate  Share this post Link to post Share on other sites
W0lle 1052 Posted June 2, 2007 The problem was like said above that you had a leading \ in the pathname which shouldn't be there. Share this post Link to post Share on other sites