Home   Help Search Login Register  

Author Topic: flags  (Read 1021 times)

0 Members and 1 Guest are viewing this topic.

MPME

  • Guest
flags
« on: 04 Apr 2005, 08:07:39 »
i know the usa and rus flags, are there others?
i need them for a mission i hav almost finished, except that the rus and usa and res basses all look the same, and i have flagged them as much as possible, except for the res base.
i would like to try to acheive this purpose without addons, using the existing textures in ofp (if there are any others)

thanks,
MPME

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:flags
« Reply #1 on: 04 Apr 2005, 09:22:44 »
You can always include your own flag in your mission file. It just has to be 2^n by 2^y pixels (256x126, 512x256, etc), and it has to be .jpg, .paa or .pac. Plop the picture in your main mission folder, call it "myflag.jpg" (or whatever), and write this in the flagpole's init field:

this setflagtexture "myflag.jpg"

There are also a ton of flags in the official flags.pbo addon, although I'm not sure what they all are. I think there is a list of them somewhere.... or else grab a depbo program, and open up the addon yourself.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:flags
« Reply #2 on: 04 Apr 2005, 19:58:12 »
As GB has pointed out the Flags.pbo in your Addons folder contains a lot of flags..........172 in fact.

Think of a country, and its flag is probably in there.

this setflagtexture "\flags\Tajikistan.jpg"

This will give you the flag of Tajikistan.   ;D


Planck
I know a little about a lot, and a lot about a little.

pazuzu

  • Guest
Re:flags
« Reply #3 on: 04 Apr 2005, 20:53:04 »
Check this out.

How can I place customized flags on flagpoles in my missions?
As of OFP version 1.30, the previously available official Flag Pack is now contained in file FLAGS.PBO in OFP's ADDONS subdirectory.

So whether you want to use one of the country flag JPG files packed into the FLAGS.PBO file or whether you've got a customized version of the Jolly Roger you want to hoist (actually, there's one included in the FLAGS.PBO file, named PIRATES.JPG), here are the step-by-step instructions to implement displaying flags in your missions:

Flags must be non-progressive (zero progressive passes) 24-bit color 128x256 pixel flag JPG images, like this NATO flag, for example:


Customized flag's JPG files must be placed into the directory where your other mission files are located. If you're using a country flag from OFP's FLAGS.PBO file, OFP will automatically locate it in OFP's ADDONS directory.
In the mission, define the flag for a given flagpole with one of the following statement:
For flags from the FLAGS.PBO file, specify:

unit_name SetFlagTexture "\Flags\flag_name.jpg"
For flags from a customized flag image file, specify:

unit_name SetFlagTexture "\flag_name.jpg"
(NOTES: Change "unit_name" in the above examples to the name of the flag bearing object to be modified. Change "flag_name.jpg" in the above examples to the actual country or customized flag JPG image file name you want used for this flagpole).

List of all flag JPG files in ADDONS file FLAGS.PBO:

Countries:

Afghanistan
Albania
Algeria
Andorra
Angola
Argentina
Armenia
Australia
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
Chad
Chile
China
Columbia
Comoros
Congo
Costarica
Croatia
Cuba
Cyprus
Czech
Denmark
Dominica
DominicanRepublic
Ecuador
England
Egypt
ElSalvador
Estonia
Ethiopia
EU
FaroeIslands
Fiji
Finland
France
FrenchPolynesia
Gambia
Germany
Ghana
Greece
Greenland
Guatemala
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
Libya
Liechtenstein
Lithuania
Luxembourg
Macedonia
Madagascar
Malaysia
Malta
Mexico
Moldova
Mongolia
Morocco
Mozambique
Myanmar
Namibia
Nauru
Netherlands
NewZealand
Nicaragua
Nigeria
NorfolkIsland
Norway
Oman
Pakistan
Palestine
Panama
Paraguay
Peru
Philippines
Poland
Portugal
Qatar
Quebec
Romania
Russia
Sahara-Western
Samoa
SaudiArabia
Scotland
SierraLeone
Singapore
Slovakia
Slovenia
Somalia
SouthAfrica
Spain
SriLanka
Sudan
Sweden
Switzerland
Syria
Taiwan
Tajikistan
Thailand
Togo
Tonga
TrinidadAndTobago
Tunisia
Turkey
Turkmenistan
Uganda
Ukraine
UnitedArabEmirates
UnitedKingdom
Uruguay
Uzbekistan
USA
USAHistory
USSR
Venezuela
Vietnam
Wales
Yemen
Yugoslavia
Zimbabwe

Organizations:

BIS_Black
BIS_White
Codemasters
FIA
FIABlack
NATO
RedCross
Pirates
White
« Last Edit: 04 Apr 2005, 20:54:35 by pazuzu »

Offline Morglor9

  • Members
  • *
Re:flags
« Reply #4 on: 04 Apr 2005, 20:59:02 »
notice also that there are 2 FIA flags and the Red Cross flag at the bottom of the list
Cymbaline