The Glest Wiki
Register
Advertisement

Faction logos are logos which appear where the unit information usually is when nothing is selected. They consist of two images, one which defines the team color intensity, and one which is a true-color image rendered on top of the team color. Both are optional, and modders can use both, one, or none, at their discretion.

XML[]

<logo value="true">
	<team-colour path="logo_team.png" />
	<rgba-colour path="logo_rgba.png" />
</logo>

Elements[]

[]

This is the holder element, and value must be set to "true" for the logo to be displayed.

team-colour[]

This is the path to the teamcolor image. This is a greyscale image where white represents brighter teamcolor and black represents darker. Alpha (transparency) will be maintained.

rgba-colour[]

This is the path to the true-color image. It will be rendered as it is on top of the teamcolor image.

Example[]

Faction logos

The image at the top-left is the true-color, top-right is the teamcolor, and the bottom is the result.

See also[]

Advertisement