Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "Descr battle map lighting and fog control.txt"

From TWC Wiki
Jump to navigationJump to search
(New page: This file effects all the lighting settings for battle maps regardless of climate and season, separate settings are used for day and night battles though. Extract from '''lighting''' secti...)
 
(ambient increase comment and category)
Line 1: Line 1:
 +
''WIP article based on RTW/BI only so far.''
 +
 
This file effects all the lighting settings for battle maps regardless of climate and season, separate settings are used for day and night battles though.
 
This file effects all the lighting settings for battle maps regardless of climate and season, separate settings are used for day and night battles though.
 
Extract from '''lighting''' section of file:
 
Extract from '''lighting''' section of file:
Line 8: Line 10:
 
  ambient_blue_increase_proportion 0.5
 
  ambient_blue_increase_proportion 0.5
 
the ambient_ _ increase proportion lines affect how much the colour of the sunlight as set in descr_daytypes.txt is altered for shadow areas.  The vanilla example shown will increase the amount of blue in the shadows more than the other colours.
 
the ambient_ _ increase proportion lines affect how much the colour of the sunlight as set in descr_daytypes.txt is altered for shadow areas.  The vanilla example shown will increase the amount of blue in the shadows more than the other colours.
 +
 +
A high ambient_ _increase_proportion eg. 0.9 can actually produce more light in the shadow areas than in the lit areas.  A low value can make most of map very dark.  The equivalent lines in the unit lighting section seem to have negligible effect.
 +
 +
[[Category:Modding]]

Revision as of 14:18, 30 July 2007

WIP article based on RTW/BI only so far.

This file effects all the lighting settings for battle maps regardless of climate and season, separate settings are used for day and night battles though. Extract from lighting section of file:

min_light_intensity							1.0
max_light_intensity							1.4
ambient_reduce_proportion					0.75
ambient_red_increase_proportion				0.25
ambient_green_increase_proportion			0.25
ambient_blue_increase_proportion			0.5

the ambient_ _ increase proportion lines affect how much the colour of the sunlight as set in descr_daytypes.txt is altered for shadow areas. The vanilla example shown will increase the amount of blue in the shadows more than the other colours.

A high ambient_ _increase_proportion eg. 0.9 can actually produce more light in the shadow areas than in the lit areas. A low value can make most of map very dark. The equivalent lines in the unit lighting section seem to have negligible effect.