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 daytypes.txt"

From TWC Wiki
Jump to navigationJump to search
(WIP article)
 
Line 26: Line 26:
 
==Weather Conditions==
 
==Weather Conditions==
 
==Lighting Effects==
 
==Lighting Effects==
It is quite easy to get very strange effects when editing this file, see screenshot of using the night settings for a battle during what game thinks is daytime.<br>
+
It is quite easy to get very strange effects when editing this file, see screenshot of using the night settings throughout daytime:<br>
[[Image:Night at day.jpg|right|experiment with night lighting settings used during daytime]]
+
[[Image:Night at day.jpg|right|experiment with night daytype settings used in midday custom battle]]
Theoretical night-time switches to day at hour 7 and back to night again at hour 21.
+
Lighting effects appear to be combined with some overall settings for the time of day described in [[descr_pallete.txt]], [[descr_skydome.txt]] and possibly [[descr_battle_map_lighting_and_fog_control.txt]]
  
  

Revision as of 01:49, 29 July 2007

WIP Article - please help add to this if you know more about it - is currently being written as effects are investigated

Descr_daytypes.txt controls the weather and lighting conditions applied to the battle maps for each of the various climates. Which climate the battle takes place in is determined by the originating position on the campaign map and the climate colour used for that location on map_climates.tga. Custom battles occur at pre-set locations on the campaign map as defined in custom_locations.txt

Relationship to Climates

A section start from the vanilla file looks like this:

daytype	temperate_summer 

	climates		temperate_grassland_fertile temperate_grassland_infertile 
  temperate_forest_open temperate_forest_deep swamp alpine
	seasons			summer 
	weatherevents	calm 0.25, hazy 0.4, light_fog 0.15, rain_summer_shower 0.13,.... 
	next_day		temperate_summer 1.0

In order to split up the climates new daytypes may be added so you could have:

daytype	temperate_summer 
 
 	climates		temperate_grassland_fertile temperate_grassland_infertile 
 	seasons			summer 

and

daytype	freds_forest_temperate_summer 
 
	climates		temperate_forest_open temperate_forest_deep swamp alpine
	seasons			summer 

note that the daytypes are also referenced in the next_day line, so you would need to change those as well to suit.

Weather Conditions

Lighting Effects

It is quite easy to get very strange effects when editing this file, see screenshot of using the night settings throughout daytime:

experiment with night daytype settings used in midday custom battle

Lighting effects appear to be combined with some overall settings for the time of day described in descr_pallete.txt, descr_skydome.txt and possibly descr_battle_map_lighting_and_fog_control.txt


Mods

The best know modification that deals with changes to descr_daytypes.txt is SkyMod by HorseArcher