Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
custom flag (bear with me here)
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: custom flag (bear with me here) (Read 1625 times)
0 Members and 1 Guest are viewing this topic.
Messiah
Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
Honoured Contributor
OFPEC Veteran
custom flag (bear with me here)
«
on:
24 Aug 2002, 16:49:51 »
basically - the official flag pack used jpgs that u accesed by typing in where they were and their name:
this setflagtexture "\flags\flagname.jpg"
so since it uses jpgs i was wondering if i could just make a red square (what are the dimentions for the flag ?) and put it in the mission folder and then place that on the flag pole?
reason being is that i want a red flag to mark out a firing range
cheers
:thumbsup:
«
Last Edit: 24 Aug 2002, 16:52:43 by Messiah
»
Logged
Proud Member of the
Volunteer Commando Battalion
mikeb
Guest
Re:custom flag (bear with me here)
«
Reply #1 on:
24 Aug 2002, 16:52:48 »
You pretty much answered your own question. create any jpg file where the dimensions are ^2 (i.e.1024,512,256, etc) and then place the jpg in the misssions folder. You can then call it with setflagtexture "nameofpic.jpg"
Logged
Messiah
Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
Honoured Contributor
OFPEC Veteran
Re:custom flag (bear with me here)
«
Reply #2 on:
24 Aug 2002, 16:55:46 »
aaah ok.... so these have to b 2^n as well... ok, i'll try
cheers
:thumbsup:
Logged
Proud Member of the
Volunteer Commando Battalion
mikeb
Guest
Re:custom flag (bear with me here)
«
Reply #3 on:
24 Aug 2002, 16:56:35 »
So I've been told, haven't tried it myself
Logged
Messiah
Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
Honoured Contributor
OFPEC Veteran
Re:custom flag (bear with me here)
«
Reply #4 on:
24 Aug 2002, 17:07:32 »
hey... cool... that was damn easy... isnt life like that :hmm:
thanx again mikey
:thumbsup:
Logged
Proud Member of the
Volunteer Commando Battalion
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
custom flag (bear with me here)
Top of page