Lighting: Difference between revisions
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..." |
Added applicable INI flags, categories, removed redundant example. |
||
Line 1: | Line 1: | ||
{{WrongTitle|[{{PAGENAME}}]}} | |||
{{MappingBar}} | |||
This section of a [[maps|map]] file controls the lighting of the map. | |||
== Applicable INI Flags == | |||
{{Applicable INI Flags}} | |||
<onlyinclude> | |||
{{Applicable INI Flags Header|[SpecialFlags]}} | |||
|- | |||
| Maps || {{s|Lighting}} || {{f|Ambient|link}} || float || 1.0 | |||
|- | |||
| Maps || {{s|Lighting}} || {{f|Red|link}} || float || 1.0 | |||
|- | |||
| 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 || | |||
|} | |||
</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] | |||
[ | [[Category:{{PAGENAME}} Flags]] | ||
[[Category:Map Sections]] |
Revision as of 20:46, 23 February 2024
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.
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 |