Author Topic: Transparency support for flag texture  (Read 1937 times)

0 Members and 2 Guests are viewing this topic.

Offline L[0ne]R

  • Soldat Beta Team
  • Rainbow Warrior
  • ******
  • Posts: 2079
  • need a life. looking for donors.
Transparency support for flag texture
« on: October 27, 2014, 03:46:48 pm »
As the title says, I'd like to see transparency support introduced for flag textures. Right now green color that's used for transparency in other graphics is still opaque on flag textures. Making that color transparent would make it possible to change the shape of the flags or add things like holes and torn edges.

Alternatively, flags could be changed to use a .PNG texture instead of .BMP, which would be even better.
« Last Edit: October 27, 2014, 03:52:14 pm by L[0ne]R »

Offline Shoozza

  • Retired Soldat Developer
  • Veteran
  • ******
  • Posts: 1632
  • Soldat's Babysitter
    • Website
Re: Transparency support for flag texture
« Reply #1 on: October 27, 2014, 04:45:17 pm »
To make it easier for us, can you mention the file(s) you are talking about with path?
Rules
Tools: ARSSE - SARS - SRB - chatMod

Offline L[0ne]R

  • Soldat Beta Team
  • Rainbow Warrior
  • ******
  • Posts: 2079
  • need a life. looking for donors.
Re: Transparency support for flag texture
« Reply #2 on: October 27, 2014, 04:58:10 pm »
Here are locations of existing textures:

.../Soldat/Textures/Objects/flag.bmp - flag texture for CTF, HTF and Pointmatch flags.
.../Soldat/Textures/Objects/infflag.bmp - flag texture for INF flags.

However as I mentioned in this thread, each flag in each mode should also be given a unique texture, and I suggested different filenames for the texture files.


EDIT: now supported in Soldat v1.7, w00t!
« Last Edit: February 04, 2016, 12:30:02 pm by L[0ne]R »