Home   Help Search Login Register  

Author Topic: custom flag (bear with me here)  (Read 1392 times)

0 Members and 1 Guest are viewing this topic.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
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 »
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"

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
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:
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

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
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:
Proud Member of the Volunteer Commando Battalion