OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: John on 17 Jul 2006, 22:23:04

Title: How to change my flag?
Post by: John on 17 Jul 2006, 22:23:04
hi there?...

I wanna change the flag in a mission im making....how can I do it?
Title: Re: How to change my flag?
Post by: Cheetah on 17 Jul 2006, 22:41:16
Place a flagpole and type in its init:
Code: [Select]
this setFlagTexture "rus_vlajka.pac";or
Code: [Select]
this setFlagTexture "usa_vlajka.pac";
this gives you a Russian or American flag.
Title: Re: How to change my flag?
Post by: myke13021 on 17 Jul 2006, 23:23:53
...and if you would like to use your own flags use .jpg file format (someone knows relation of width/height of the flags?), put it into your mission folder and use

Code: [Select]
this setflagtexture "myflag.jpg"
Title: Re: How to change my flag?
Post by: Seven on 18 Jul 2006, 00:56:14
256 * 128
Title: Re: How to change my flag?
Post by: SniperAndy on 19 Jul 2006, 01:54:12
Quote
...and if you would like to use your own flags use .jpg file format

you can also save it as pac, doesn't need to be .jpg.
Title: Re: How to change my flag?
Post by: John on 20 Jul 2006, 14:13:04
Cheers me deers!

Great help.