OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SilentHunter_764 on 20 Jul 2004, 08:09:59

Title: FLAGS
Post by: SilentHunter_764 on 20 Jul 2004, 08:09:59
Hi all

this is just a ask for help,

does anyone know the 'flagtexture' for the U.S. flag? I know the russian one is Rus_vlakja or something, but what is the American one?

Plz help!


SilentHunter_764
Title: Re:FLAGS
Post by: j-man on 20 Jul 2004, 08:33:50
usa_vlajka.pac

 ;)
Title: Re:FLAGS
Post by: THobson on 20 Jul 2004, 08:38:41
I use "flags\USA.jpg"
Title: Re:FLAGS
Post by: j-man on 20 Jul 2004, 08:47:45
thats for the flag pack that came with resistance or something, is it not?

Oh well, that would work too.
Title: Flags
Post by: SilentHunter_764 on 20 Jul 2004, 09:26:29
Thankyou for the help,
regards,

SilentHunter
Title: Re:FLAGS
Post by: Messiah on 20 Jul 2004, 10:29:32
I use "flags\USA.jpg"

shouldn't it be \flags\usa.jpg

since your synthax searches the mission folder, and mine searches the game  :)
Title: Re:FLAGS
Post by: THobson on 20 Jul 2004, 14:36:29
Quite right.  When I cut and pasted I cut too much.  To be precise I use a Flag (International) unit and in the init field put:
this setflagtexture"\flags\USA.jpg"

Well I say that's what I put.  I have never actually used a US flag in a mission.  Normally I use USSR or NATO.
Title: Re:FLAGS
Post by: SilentHunter_764 on 21 Jul 2004, 07:32:55
Internation flag?

When i go to objects/flag , there is also an 'international' flag. Whats the difference?

SilentHunter
Title: Re:FLAGS
Post by: Messiah on 21 Jul 2004, 09:01:35
flag is the original which works with the textures: usa_vlajka.pac and rus_vlajka.pac

when the flag pack was added, so was the international flag, which they told us to use with all the other flags (anything but the ones mentioned above) - I've never tried to add addon flags to the normal flag, or vice versa - but thats the difference
Title: Re:FLAGS
Post by: Dubieman on 21 Jul 2004, 15:44:00
I can never remember how to spell vjiakla or whatever the hell it is...

What are these new flags? I never knew we had them. :P
Title: Re:FLAGS
Post by: Messiah on 21 Jul 2004, 16:13:11
if you have resistance it came with that as standard... before then, it was an addon pack
Title: Re:FLAGS
Post by: Dubieman on 21 Jul 2004, 16:19:51
Alrighty but how would I find out their names?
Title: Re:FLAGS
Post by: Messiah on 21 Jul 2004, 16:44:12
well... its pretty simple... if you want austria, you use:

this setflagtexture "\flags\austria.jpg

strangly enough the flags name is the same as the country its for  ;)
Title: Re:FLAGS
Post by: DBR_ONIX on 21 Jul 2004, 16:49:15
You can also use JPEG files in your mission dir.. With
this setflagtexture "myflag.jpg"

:)
- Ben
Title: Re:FLAGS
Post by: Platoon Patton on 21 Jul 2004, 17:24:53
http://www.theavonlady.org/theofpfaq/ (http://www.theavonlady.org/theofpfaq/)

Put "flags" in the search box and U will find everything needed.


unit_name SetFlagTexture "\Flags\pirates.jpg"  ;D
Title: Re:FLAGS
Post by: Dubieman on 21 Jul 2004, 17:33:46
Ok thanks guys... ;)