Author Topic: Unique texture for each flag  (Read 2305 times)

0 Members and 1 Guest are viewing this topic.

Offline L[0ne]R

  • Soldat Beta Team
  • Rainbow Warrior
  • ******
  • Posts: 2079
  • need a life. looking for donors.
Unique texture for each flag
« on: October 27, 2014, 02:03:16 pm »
Right now we have two textures - one for both CTF flags, and one for both INF flags. Flag color is hard-coded and applied on top of the texture by the game. I'd like to see this changed, so each flag in each mode has its own unique texture, and so team color is painted into the texture rather than applied by the game.

This is to add just a bit more moddability, so we can change the look of each team's flag. For example, add different emblems for the blue and red flags, or recolor HTF/Pointmatch flags which currently use CTF texture, and make those flags just a bit more unique.

-----------

EDIT: Suggestion for texture file naming:

flag-ctf-a.bmp - Capture the Flag Alpha Team
flag-ctf-b.bmp - Capture the Flag Bravo Team
flag-inf-a.bmp - Infiltration Alpha Team
flag-inf-b.bmp - Infiltration Bravo Team
flag-pm.bmp - Pointmatch
flag-htf.bmp - Hold the Flag

Flag textures are located in .../Soldat/Textures/Objects
« Last Edit: October 27, 2014, 07:08:27 pm by L[0ne]R »

Offline Bistoufly

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 782
Re: Unique texture for each flag
« Reply #1 on: October 27, 2014, 02:54:44 pm »
f12

Offline Shoozza

  • Retired Soldat Developer
  • Veteran
  • ******
  • Posts: 1632
  • Soldat's Babysitter
    • Website
Re: Unique texture for each flag
« Reply #2 on: October 27, 2014, 04:51:21 pm »
Sounds good.
So ctf_alpha, ctf_bravo, inf_defend, inf_attack and htf. Did I forget one?
Rules
Tools: ARSSE - SARS - SRB - chatMod

Offline L[0ne]R

  • Soldat Beta Team
  • Rainbow Warrior
  • ******
  • Posts: 2079
  • need a life. looking for donors.
Re: Unique texture for each flag
« Reply #3 on: October 27, 2014, 05:01:03 pm »
Sounds good.
So ctf_alpha, ctf_bravo, inf_defend, inf_attack and htf. Did I forget one?
Yes, there's also a Pointmatch flag.

I suggest all flag-texture filenames start with the same prefix, so when you sort files by name - all flag textures are grouped together. INF flags should also be named "alpha/bravo" or "a/b" instead of "attack/defend" for the sake of consistency, because in INF teams are still called Alpha and Bravo. Also I'd use "-" instead of "_", again, for the sake of consistency. "-" is used in many of Soldat's images (for example weapons-gfx), while "_" is mostly used for map prefixes.
« Last Edit: October 27, 2014, 06:52:02 pm by L[0ne]R »

Offline Izzy Rose (PL)

  • Soldier
  • **
  • Posts: 118
  • I am tank! Get out my way!
Re: Unique texture for each flag
« Reply #4 on: November 07, 2014, 12:23:27 pm »
F12 and this below
http://forums.soldat.pl/index.php?topic=43760.0;topicseen

I'd like see flags like this in the game
Ingame known as just Izzy
[Barret]/
+