Kydoimos 916 Posted July 17, 2014 Hi all - does anybody happen to know how you can use the setObjectTexture on an Independent uniform and still retain the flag that appears on the sleeve? For some reason, when I load a uniform, it disappears. The flag on the texture I am using is veiled by a second layer. Any thoughts? Thanks in advance, as always! Share this post Link to post Share on other sites
IndeedPete 1038 Posted July 17, 2014 Had the same issue a while ago. Sometimes it was fully appearing on both sides even if that uniform texture wasn't really mirrored and sometimes the AAF flag was shining through. I've properly covered the original flag in GIMP and exported it as .png, then converted it to.paa with TexView, like usual. Didn't find any solution and discontinued work in that direction. Share this post Link to post Share on other sites
L3TUC3 32 Posted July 17, 2014 You can set the flag/patch thingy with setObjectTexture [1, "flag.paa"]. I'm sure there's some you can find in the A3 pbos somewhere. Share this post Link to post Share on other sites
Kydoimos 916 Posted July 18, 2014 Thanks, L3TUC3 - weird! I swear I tried that! I'll try again - cheers! Share this post Link to post Share on other sites
Kydoimos 916 Posted July 18, 2014 You can set the flag/patch thingy with setObjectTexture [1, "flag.paa"].This doesn't work - at least not with the Independent uniform. Share this post Link to post Share on other sites
2nd ranger 282 Posted July 18, 2014 It's different for different uniforms. Try 0 and 2. Share this post Link to post Share on other sites
Kerc Kasha 102 Posted July 19, 2014 The flag is part of the texture so ensure the texture you're replacing it with has the flag on it Share this post Link to post Share on other sites
Kydoimos 916 Posted July 19, 2014 The flag is part of the texture so ensure the texture you're replacing it with has the flag on itIt's on the texture but something appears over the top, concealing it. If I use the Splendid camera, I can see it underneath! Share this post Link to post Share on other sites
L3TUC3 32 Posted July 19, 2014 This is what you're looking for right? Share this post Link to post Share on other sites
Kydoimos 916 Posted July 19, 2014 Yup! But I can't get that on the Independent standard combat uniform! The flag is in the right place, but there's a layer that covers it over. If you zoom in with the Splendid camera, you can see the flag, hidden behind this mysterious layer which the camera sort of 'pierces'. Other uniforms seem fine. ---------- Post added at 21:21 ---------- Previous post was at 21:20 ---------- I haven't tried setObjectTexture [2, Flag.paa] yet though, might be the key... Share this post Link to post Share on other sites
Kydoimos 916 Posted July 20, 2014 L3TUC3 - Thanks, I have no idea why, but now it appears to be working! I think I must have had a typo in my code first time I tried. Cheers! ---------- Post added at 08:05 ---------- Previous post was at 07:55 ---------- Right - here's the problem! You can't use the insignia function and have the flag at the same time! ---------- Post added at 08:32 ---------- Previous post was at 08:05 ---------- Excuse me for being a major moron - turns out the texture was in the wrong place on the .paa. There's two sleeve patches, one which is hidden behind the other - that's why it wasn't appearing - sorry for all the hassle! @L3TUC3 - thanks, mate, for your patience! @IndeedPete - it all works! You could give it another go if you wanted! :) Share this post Link to post Share on other sites
IndeedPete 1038 Posted July 20, 2014 No need at the moment, thanks.^^ Does it work for any uniform with flag patches or just independent ones? Share this post Link to post Share on other sites