Author Topic: Team Colour on unit Icons.  (Read 2743 times)

Psychedelic_hands

  • Guest
Team Colour on unit Icons.
« on: 3 December 2010, 05:53:06 »
Can this be done?
Possibly the same way the faction icon way was done. With two separate images?
« Last Edit: 3 December 2010, 07:18:41 by Psychedelic_hands »

Zoythrus

  • Guest
Re: Team Colour on Icons.
« Reply #1 on: 3 December 2010, 07:13:59 »
hello, I'm Zoythrus, and i endorse this thread.  :thumbup:

the warlord of the reich

  • Guest
Re: Team Colour on unit Icons.
« Reply #2 on: 3 December 2010, 08:53:51 »
so the point here is to change the icon colors?

does'nt need an entire thread at all

Psychedelic_hands

  • Guest
Re: Team Colour on unit Icons.
« Reply #3 on: 3 December 2010, 09:24:07 »
so the point here is to change the icon colors?

No, please read more carefully.

This is about TEAM colour on unit icon's.
Say if I were Blue player, the background on my unit's icons will be blue. If I was red player they would be red, etc. This is not for Magitech either, this is for other new mods.

Zoythrus

  • Guest
Re: Team Colour on unit Icons.
« Reply #4 on: 3 December 2010, 21:22:36 »
so the point here is to change the icon colors?

No, please read more carefully.

This is about TEAM colour on unit icon's.
Say if I were Blue player, the background on my unit's icons will be blue. If I was red player they would be red, etc. This is not for Magitech either, this is for other new mods.

not just backgrounds, but also unit clothing, emblems, and stuff that are shown in the picture

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Team Colour on unit Icons.
« Reply #5 on: 3 December 2010, 21:28:34 »
Theoretically, I suppose it could be done using the alpha channel, much like how it's done with our textures already.  Of course, we'd have to use a format other than bitmap (targa or portable network graphic).

Zoythrus

  • Guest
Re: Team Colour on unit Icons.
« Reply #6 on: 3 December 2010, 22:34:53 »
also, we need a way of making the background invisible, but the unit in the picture teamcolor (you cant just use tons of alpha)

Mark

  • Guest
Re: Team Colour on unit Icons.
« Reply #7 on: 3 December 2010, 23:02:10 »
Theoretically, I suppose it could be done using the alpha channel, much like how it's done with our textures already.  Of course, we'd have to use a format other than bitmap (targa or portable network graphic).
I was thinking maybe png would be best, but doesn't alpha in a png make a pixel see-through?  Maybe a particular shade of gray?

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Team Colour on unit Icons.
« Reply #8 on: 3 December 2010, 23:07:56 »
I was thinking maybe png would be best, but doesn't alpha in a png make a pixel see-through?  Maybe a particular shade of gray?
Yes, but same goes for targa.  It's the engine that interprets it as team color.  Think of it like taking the transparent image and putting it on top of a colored layer.

Psychedelic_hands

  • Guest
Re: Team Colour on unit Icons.
« Reply #9 on: 4 December 2010, 04:29:16 »
But what I have is the unit on transparency.... But I want the unit to be in team colour... hold on a sec and I'll show you.

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: Team Colour on unit Icons.
« Reply #10 on: 4 December 2010, 04:37:26 »
Tickets #261 and #262.

No milestone has been set at this stage.
Glest Advanced Engine - Code Monkey

Timeline | Downloads

Psychedelic_hands

  • Guest
Re: Team Colour on unit Icons.
« Reply #11 on: 4 December 2010, 04:37:41 »


As you can see the background is transparent, and the unit is heavy on teamcolour. It looks quite strange when you are green team, and in all your unit icons they're red.

Edit: Thanks Silnarm!   ;D

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Team Colour on unit Icons.
« Reply #12 on: 4 December 2010, 06:33:32 »
Support, but how would you, say, take an image of your unit with that team color? It'd be better off with solid, simple parts like the backs of buttons being that team color, unless you want to manually modify that image... Perhaps taking a page from Silnarm's book and using 2 images (like faction logos) to create both transparency and teamcolor? Abet, it seems a bit complicated, but works at least...

Then again, I don't know of any mods that use transparency in their buttons??
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Psychedelic_hands

  • Guest
Re: Team Colour on unit Icons.
« Reply #13 on: 4 December 2010, 06:37:23 »
Support, but how would you, say, take an image of your unit with that team color? It'd be better off with solid, simple parts like the backs of buttons being that team color, unless you want to manually modify that image... Perhaps taking a page from Silnarm's book and using 2 images (like faction logos) to create both transparency and teamcolor? Abet, it seems a bit complicated, but works at least...
It wouldn't be to hard just to select the colour of the units, then make an alpha channel would it?
Quote
Then again, I don't know of any mods that use transparency in their buttons??

We do.  :D

John.d.h

  • Moderator
  • Airship
  • ********
  • Posts: 3,757
  • I have to go now. My planet needs me.
    • View Profile
Re: Team Colour on unit Icons.
« Reply #14 on: 4 December 2010, 06:41:03 »
Support, but how would you, say, take an image of your unit with that team color?
Add an underlying layer of a particular color on the texture.  Render.  Color to alpha.

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: Team Colour on unit Icons.
« Reply #15 on: 4 December 2010, 16:17:44 »
I don't like this idea. Isn't the point of icons to be instantly recognisable? Changing them just because you're a different player doesn't make sense to me.

Psychedelic_hands

  • Guest
Re: Team Colour on unit Icons.
« Reply #16 on: 4 December 2010, 23:15:45 »
I don't like this idea. Isn't the point of icons to be instantly recognisable? Changing them just because you're a different player doesn't make sense to me.

Well the Crincillin don't really have a defined stlye without teamcolour....
The icons would still be very recognizable, they just match your units!

 

anything