Home   Help Search Login Register  

Author Topic: Flags  (Read 752 times)

0 Members and 1 Guest are viewing this topic.

slat3r

  • Guest
Flags
« on: 23 Feb 2003, 19:18:54 »
how do i add flags for:-
U.S.A
UK - england
Scotland
austria
could you tell me the individual lines please, as im not very good with scipting.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Flags
« Reply #1 on: 23 Feb 2003, 19:26:36 »
hmmm, isnÂ't there a flag pack in the addons depot? I dont know if its that yer looking for bu check it out. ;)

Kaliyuga

  • Guest
Re:Flags
« Reply #2 on: 23 Feb 2003, 19:42:06 »
 this SetFlagTexture "usa_vlajka.pac"

is the code for the U.S. flag that's already in-game

and if you want to add any of the other ones.. you'll need to grab one of the flag packs that  Armstrong mentioned.. when you get the custom flag pack, you just need to place a copy of the flag inside your mission folder and then use this bit of code on the flagpole's init field:

this setflagtexture "nameofflag.jpg"

any .jpg will work, it just needs to be the same size as the flags in the flag pack

seanver

  • Guest
Re:Flags
« Reply #3 on: 23 Feb 2003, 20:17:56 »
Well, I think that a flag pack was included since version 1.30. Create a flag (international). Put in its init field:

this setFlagTexture "\Flags\usa.jpg"

Put instead of usa (leaving .jpg as it is) the name of the country you want. I.e.:

austria
scotland
england

Here is the flag list:

List of all flags:


==================
States:
==================



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



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

BIS_Black
BIS_White
Codemasters
FIA
FIABlack
NATO
RedCross
Pirates
White


Hope this helps

PsyWarrior

  • Guest
Re:Flags
« Reply #4 on: 23 Feb 2003, 21:15:57 »
Excellent work SeAnVer. I've been trying to get that to work for ages (forgot the "\" at the begginning.  :-[ ).
Thanks
--PsyWarrior