Light Configuration

The Light configuration file is hardcoded to accept only a single file as valid: light.odf . This file defines the attributes for the in-game light conditions for immovable units (GameObjects with no engine subsystem) under the Fog of War. Animations are disabled if the GameObject is under the Fog of War.

Stock Configuration ODF Commands

ghostAmbient

Float, Default: ???, Array

Light hitting the GameObjects equally from all directions (no shadows). The red, green, blue (RGB) color specified here is multiplied by the colors in the texture. Three float values between 0.0 and 1.0

ghostambient = 1 0 0 //Only the red component of the textures will be unaffected by shadow

ghostDiffuse

Float, Default: ???, Array

The red, green, blue (RGB) color of the texture. Three float values between 0.0 and 1.0

ghostdiffuse = 0.1 0.1 0.1 //Greys and lightens the textures

ghostSpecular

Float, Default: ???, Array

The red, green, blue (RGB) color of the specularity (shininess) of the texture. Three float values between 0.0 and 1.0

ghostspecular = 0.0 0.0 0.0 //Is specularity used in Armada II?

ghostTeamColorFactor

Float, Default: ???, Array

Determines how dark the Team Colors on GameObjects appear.

ghostteamcolorfactor = 0.5