Home   Help Search Login Register  

Author Topic: how do i add flags from OFP's flags?  (Read 2166 times)

0 Members and 1 Guest are viewing this topic.

Offline Chammy

  • Members
  • *
  • I'm a llama!
how do i add flags from OFP's flags?
« on: 15 Oct 2004, 00:42:09 »
I'm sure that its been brought out but i cant seem to find any explanation in the search.I 'd like to ad a flag to a pole from OFP's flags and not have to dl any.Can someone help?Thnx.

Kammak

  • Guest
Re:how do i add flags from OFP's flags?
« Reply #1 on: 15 Oct 2004, 00:55:52 »
I'd like to see a complete list of the flag textures I have by default.

The only ones I know are:

usa_vlajka.pac - American Flag
west_vlajka.pac - NATO Flag
rus_vlajka.pac - Soviet Flag


To use, place a flagpole.  In its init field, add:

this setFlagTexture <texture file name>


Example:

this setFlagTexture "usa_vlajka.pac"


Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:how do i add flags from OFP's flags?
« Reply #2 on: 15 Oct 2004, 01:02:41 »
I recall seeing a complete list on this site in the last few months.  Might be worth trawling back through previous threads.  I don't use the vlajka thing.  I put in a flag (international) and in the init field I put:

this setflagtexture"\flags\XXX.jpg"

where XXX =  USSR or Russia or NATO or USA or UnititedKingdom or England or EU or China or Sweden or redcross or white etc. etc.  Just guess at the one you want.


Cpt. Red Nain

  • Guest
Re:how do i add flags from OFP's flags?
« Reply #3 on: 15 Oct 2004, 01:03:29 »
Another possiblity! Depbo the addon file called "Flags", and choose the flag you want.
For example, you want to insert a US flag. so you depbo (using the program called Depbo  ;D) "Flags", you pick the one called "USA.jpg", you put it inside your mission folder, then type in the init line 'this setflagtexture "USA.jpg"'...

There are other ways to put a flag on a pole, but i've always used this way of doing, and i will continue doing it like that  :P...

Hoped i help u

Cpt. Red Nain

  • Guest
Re:how do i add flags from OFP's flags?
« Reply #4 on: 15 Oct 2004, 01:05:12 »
Whoa Thobson! Never saw 2 posts so closely... posted  :o :o :o :o!!!!!!!!

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:how do i add flags from OFP's flags?
« Reply #5 on: 15 Oct 2004, 01:07:28 »
Good eh!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:how do i add flags from OFP's flags?
« Reply #6 on: 15 Oct 2004, 03:54:01 »
Both methods work, but if you put the flag in the mission folder you are making the mission file larger which is not always desirable.   The flag pack is an official addon (v1.30??) so everybody has it.

The list of flags has been posted on the forum more than once I believe.    However, it is worth unpboing the file so you can actually see the flags.
Plenty of reviewed ArmA missions for you to play

Offline Chammy

  • Members
  • *
  • I'm a llama!
Re:how do i add flags from OFP's flags?
« Reply #7 on: 15 Oct 2004, 04:21:43 »
*cry's*   I'm a slow learner  :(   Sorry guys,  Well, im going to try both of them.Thnx all.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:how do i add flags from OFP's flags?
« Reply #8 on: 15 Oct 2004, 11:40:17 »
That was what I saw: a recommendation to de-pbo the file.  I forgot.  
I recommend you have a look at that - there are more flags than I know what to do with

Cpt. Red Nain

  • Guest
Re:how do i add flags from OFP's flags?
« Reply #9 on: 15 Oct 2004, 16:39:16 »
In fact, i began to use my method, when OFP 1.30 had just been released. Some friends of mine didn't have it, so i'd place the flag (generally, USA, NATO, USSR, Russia and some times France  ;D)....

Since then, i always use this way... And i wont change!!! no! no! no!

 :D

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:how do i add flags from OFP's flags?
« Reply #10 on: 17 Oct 2004, 04:36:37 »
The official flag pack was a god send... gone now are the cumbersome inclusion of dodgey jpg's in the mission pbo ;D

Here's the official readme:

Code: [Select]
OFFICIAL FLAG PACK FOR OPERATION FLASHPOINT
===========================================

Copyright (c) 2001 BOHEMIA INTERACTIVE STUDIO and CODEMASTERS. All rights reserved.

For more information about Operation Flashpoint see http://www.flashpoint1985.com or http://www.codemasters.com/flashpoint

The "Flag Pack" is simple addOn with many national flags and some bonus flags.

How to use flags:

Insert new EMPTY object "Flag (international)" into your mission (please don't use the original Flag - only use Flag (international) to make sure people playing your mission will have installed the Flag Pack with all files needed.

To the "init" line type following:
   this setFlagTexture "\Flags\FlagName.jpg"
   
   where FlagName should be replaced with a name from the list below.

Example:
   this setFlagTexture "\Flags\Czech.jpg"

NOTE:
   Flag textures are slightly misplaced in version 1.20. This problem will be fixed in upcoming version 1.30.
   

List of all flags:
==================
States:
==================

Afghanistan
Albania
Algeria
Andorra
Angola
Argentina
Austria
Azerbaijan
Bangladesh
Barbados
Belarus
Belgium
Belgium-Flanders
Belgium-Wallonia
Belize
Benin
Bhutan
Bolivia
Bosna-Herzegovina
Botswana
Brazil
Brunei
Bulgaria
BurkinaFaso
Cambodia
Cameroon
Canada
CapeVerde
Chile
China
Columbia
Comoros
Congo
Costarica
Croatia
Cuba
Cyprus
Czech
Denmark
Dominica
DominicanRepublic
Ecuador
Egypt
Estonia
Ethiopia
EU
FaroeIslands
Finland
France
FrenchPolynesia
Gambia
Germany
Greece
Greenland
Guernsey
Haiti
Honduras
Hungary
Iceland
India
Indonesia
Iran
Iraq
Ireland
IsleOfMan
Israel
Italy
IvoryCoast
Jamaica
Japan
Jordan
Kazakstan
Kenya
Korea-North
Korea-South
Kuwait
Kyrgyzstan
Laos
Latvia
Lebanon
Liechtenstein
Lithuania
Luxembourg
Madagascar
Malaysia
Malta
Mexico
Mongolia
Mozambique
Myanmar
Namibia
Nauru
Netherlands
NewZealand
Nicaragua
Nigeria
NorfolkIsland
Norway
Oman
Pakistan
Palestine
Panama
Paraguay
Peru
Philippines
Poland
Portugal
Qatar
Romania
Russia
Sahara-Western
Samoa
SaudiArabia
SierraLeone
Singapore
Slovakia
Slovenia
Somalia
SouthAfrica
Spain
SriLanka
Sudan
Sweden
Switzerland
Thailand
Togo
Tonga
TrinidadAndTobago
Tunisia
Turkey
Uganda
Ukraine
UnitedArabEmirates
UnitedKingdom
Uruguay
USA
USAHistory
USSR
Venezuela
Vietnam
Yemen
Yugoslavia
Zimbabwe


==================
Organisations:
==================

BIS_Black
BIS_White
Codemasters
FIA
FIABlack
NATO
RedCross

So to set a flag texture, you'd use:

flag setflagtexture "\flags\NewZealand.jpg"

Happy flag waving :)

Offline Chammy

  • Members
  • *
  • I'm a llama!
Re:how do i add flags from OFP's flags?
« Reply #11 on: 17 Oct 2004, 08:05:47 »
Yippeee!!!!!!!! Thnx all.