Jump to content
Sign in to follow this  
map1976

Flying the flag?

Recommended Posts

For what is a very basic question... is causing me some grief.

I am sticking this in the Flag International "init" field (I have the flag pack)

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setFlagTexture "\Flags\Australia.jpg"

<span id='postcolor'>

But no flag appears on the flag pole? (in a single player cut scene) How do you make a flag fly on a flag pole? Im sure this this an easy one bu it's a bit tough right now.

Thanks.

Share this post


Link to post
Share on other sites

hi map1976;

never used the flag pack. but u might search the internet for an australian flag, save it with a size of 256 X 128 as australia.jpg into your mission folder (where the mission.sqs is located). then u take an empty flag and put into the init field

this setflagtexture "australia.jpg";

then it appears on the pole.

greetz

snowflake

Share this post


Link to post
Share on other sites

I'm using the original OFP (Cold War)

I'll settle for any flag on the flag pole at this stage... US... it doesn't matter...

Share this post


Link to post
Share on other sites

Are you typing the string in an "empty" flag object? That might help.

Share this post


Link to post
Share on other sites

If you patched up to version 1.46 of the Cold War Crisis you should be able to get into your "Addons" folder and open the map "Flags.pbo" with notepad. In there you will find the following (among many others): Australia.jpg. So in the editor you select under the "empty" tab: Flag. In its init line you put:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this setflagtexture "australia_vlajka.pac";<span id='postcolor'>

It's as easy as that! biggrin.gif And it works for almost any country you can think of. I'll quote the countries available for putting on your flag posts:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Afghanistan.jpg             …%Å‚;Ã=  Albania.jpg             x%Å‚;&2  Algeria.jpg             p%Å‚;5$  Andorra.jpg             ä%Å‚;

Share this post


Link to post
Share on other sites

Thanks, I found the problem. I added

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">this setFlagOwner objNull

<span id='postcolor'>

before adding the setflagtexture line... and it works fine.

Share this post


Link to post
Share on other sites

For the flag pack, don't use _vlajka... it is actually just the name of the country.jpg

All my missions have Australian and US and Russian flags using this format, and I have the standard BIS flag pack addon.

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  

×