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.

Descr battle map lighting and fog control.txt

From TWC Wiki
Revision as of 14:46, 30 July 2007 by Makanyane (talk | contribs) (link added)
Jump to navigationJump to search

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.

YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.