Making Nights Darker

From Mod Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:54, 10 August 2008 (edit)
Soduka (Talk | contribs)
(New page: == Making Nights Darker == Inside the file weather_default.ltx: Config> weathers> weather_default.ltx, There are a few things to explain first. The first section, [sect_default_weathe...)
← Previous diff
Current revision (17:49, 10 August 2008) (edit) (undo)
Don Reba (Talk | contribs)
(removed superfluous second title)
 
(One intermediate revision not shown.)
Line 1: Line 1:
-== Making Nights Darker ==+Inside the file '''config\weathers\weather_default.ltx''', there are a few things to explain first. The first section, <tt>[sect_default_weather]</tt>, shows each hour and then refers to a weather setting later in the file to how the weather will appear. It is very straight forward. Now, to make nights darker, you need to go through the hours that it would be night, and change the ambient and hemi_color variables to somewhere around these:
- +
-Inside the file weather_default.ltx:+
- +
- +
-Config> weathers> weather_default.ltx,+
- +
- +
-There are a few things to explain first. The first section, [sect_default_weather], shows each hour and then refers to a weather setting later in the file to how the weather will appear. It is very straight forward. Now, to make nights darker, you need to go through the hours that it would be night, and change the ambient and hemi_color variables to somewhere around these:+
- +
- +
Dark night: Dark night:
- +<source lang="ini">
- +ambient = 0.0025, 0.005, 0.0075
-ambient = 0.0025, 0.005, 0.0075 +
hemi_color = 0.025, 0.05, 0.075, 0.1 hemi_color = 0.025, 0.05, 0.075, 0.1
- +</source>
- +
You need to be creative however, as it needs to slope from bright to dark to bright to make it look realistic. Experiment, not one setting will fit to what you want. You need to be creative however, as it needs to slope from bright to dark to bright to make it look realistic. Experiment, not one setting will fit to what you want.
- 
[[Category:Articles]] [[Category:Articles]]

Current revision

Inside the file config\weathers\weather_default.ltx, there are a few things to explain first. The first section, [sect_default_weather], shows each hour and then refers to a weather setting later in the file to how the weather will appear. It is very straight forward. Now, to make nights darker, you need to go through the hours that it would be night, and change the ambient and hemi_color variables to somewhere around these:

Dark night:

ambient    = 0.0025, 0.005, 0.0075  
hemi_color = 0.025, 0.05, 0.075, 0.1

You need to be creative however, as it needs to slope from bright to dark to bright to make it look realistic. Experiment, not one setting will fit to what you want.

Personal tools