OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: cokeleyRTF on 02 Apr 2004, 15:30:32

Title: how can i use a custom flag in mp ctf
Post by: cokeleyRTF on 02 Apr 2004, 15:30:32
im trying to use a custom flag in a ctf but cant find a tutorial please help me ???
Title: Re:how can i use a custom flag in mp ctf
Post by: rhysduk on 02 Apr 2004, 16:27:50
Do you mean set what the flag looks like?

If so use,

this setFlagTexture "nameoffile.ext"

this            = put in init feild of flag or change to name of flag (flag has to be named)
nameoffile = the name of the file that you want to be displayed on the flag
ext             = the extension of the file above.. JPEG or PAA i think

Rhys
Title: Re:how can i use a custom flag in mp ctf
Post by: revellion on 10 Apr 2004, 14:40:42
or you can use this( if you got OFP-R 1.75+)

this setflagtexture "\FLAGS\(COUNTRY).jpg"

Ex.

this setflagtexture "\FLAGS\usa.jpg" will make an USA flag

most countries are in the flags.pbo from OFP-R 1.75+ :D
hope i could be of help...