ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Lighting

From ModEnc
Revision as of 21:46, 23 February 2024 by Crimsonum (talk | contribs) (Added applicable INI flags, categories, removed redundant example.)
Jump to: navigation, search
This page should correctly be named "[Lighting]"; it is wrong due to technical restrictions.


This section of a map file controls the lighting of the map.

Applicable INI Flags

These tables show all INI flags applicable1 to Lighting. The flags are grouped by the internal classes the flags are inherited from, and then listed in the order they are read in by the game. You can re-sort the rows by column values by clicking the arrow icons in the column headings. Each flag can be clicked to visit its page for detailed information.

Please note that this section is accurate only for Yuri's Revenge. All other C&C games use different sets of flags.

1 "Applicable" in this context means "read from the INI files". Certain flags listed here don't have any effect ingame , but they are read and in certain cases cause a crash if not present. Again, refer to each flag's individual page for detailed information.


[SpecialFlags]
INI File Section Key Value Type Default Value Adds to list
Maps [Lighting] Ambient float 1.0
Maps [Lighting] Red float 1.0
Maps [Lighting] Green float 1.0
Maps [Lighting] Blue float 1.0
Maps [Lighting] Ground float
Maps [Lighting] Level float
Maps [Lighting] IonAmbient float
Maps [Lighting] IonRed float
Maps [Lighting] IonGreen float
Maps [Lighting] IonBlue float
Maps [Lighting] IonGround float
Maps [Lighting] IonLevel float


See also