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
TAK02 (talk | contribs)
Created page with "This section of a map file controls the lighting of the map. Here's an example: [Lighting] Red=1.000000 Blue=0.800000 Green=0.800000 Level=0.032000 Ground=0.000000 Ion..."
 
Testid123 (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This section of a map file controls the lighting of the map.
{{WrongTitle|[{{PAGENAME}}]}}
{{MappingBar}}


Here's an example:
This section of a [[maps|map]] file controls the lighting of the map.
[Lighting]
 
Red=1.000000
== Applicable INI Flags ==
Blue=0.800000
 
Green=0.800000
{{Applicable INI Flags}}
Level=0.032000
 
Ground=0.000000
<onlyinclude>
IonRed=1.000000
{{Applicable INI Flags Header|[SpecialFlags]}}
Ambient=0.800000
|-
IonBlue=1.000000
| Maps || {{s|Lighting}} || {{f|Ambient|link}} || float || 1.0
IonGreen=1.000000
|-
IonLevel=0.032000
| Maps || {{s|Lighting}} || {{f|Red|link}} || float || 1.0
IonGround=0.000000
|-
IonAmbient=1.000000
| Maps || {{s|Lighting}} || {{f|Green|link}} || float || 1.0
|-
| Maps || {{s|Lighting}} || {{f|Blue|link}} || float || 1.0
|-
| Maps || {{s|Lighting}} || {{f|Ground|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|Level|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|IonAmbient|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|IonRed|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|IonGreen|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|IonBlue|link}} || float ||
|-
| Maps || {{s|Lighting}} || {{f|IonGround|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 ||
|-
| Maps || {{s|Lighting}} || {{f|NukeAmbientChangeRate|link}} || float ||
|-
|}
</onlyinclude>


==See also==
==See also==
[https://ppmforums.com/topic-32318/day-night-loop-settings/ PPM thread on Lighting]
*[[:Category:{{PAGENAME}} Flags]]
*[https://ppmforums.com/topic-32318/day-night-loop-settings/ PPM thread on Lighting]
*[https://ppmforums.com/topic-48270/can-someone-enlighten-me-on-map-lighting-triggers/ PPM thread on Lighting triggers]


[https://ppmforums.com/topic-48270/can-someone-enlighten-me-on-map-lighting-triggers/ PPM thread on Lighting triggers]
[[Category:{{PAGENAME}} Flags]]

Latest revision as of 14:47, 22 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
Maps [Lighting] NukeAmbientChangeRate float


See also