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

From TWC Wiki
Revision as of 00:19, 29 July 2007 by Makanyane (talk | contribs) (WIP article)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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 for a battle during what game thinks is daytime.

experiment with night lighting settings used during daytime

Theoretical night-time switches to day at hour 7 and back to night again at hour 21.


Mods

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

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