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

Lighting: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
m Removed redundant category
Testid123 (talk | contribs)
mNo edit summary
Line 34: Line 34:
|-
|-
| Maps || {{s|Lighting}} || {{f|IonLevel|link}} || float ||
| Maps || {{s|Lighting}} || {{f|IonLevel|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|DominatorAmbient|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|DominatorRed|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|DominatorGreen|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|DominatorBlue|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|DominatorGround|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|DominatorLevel|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|DominatorAmbientChangeRate|link}} || float ||
|-
|}
|}
</onlyinclude>
</onlyinclude>

Revision as of 09:31, 15 October 2024

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
Maps [Lighting] DominatorAmbient float
Maps [Lighting] DominatorRed float
Maps [Lighting] DominatorGreen float
Maps [Lighting] DominatorBlue float
Maps [Lighting] DominatorGround float
Maps [Lighting] DominatorLevel float
Maps [Lighting] DominatorAmbientChangeRate float


See also