mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
New feature: localized weather adds more weather types, different weather can happen in different sectors at the same time.
For more info, see http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=23094&#msg_345949 git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2325 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -2545,34 +2545,26 @@ MIN_DISTANCE_FRIENDLY_SUPPRESSION = 30
|
||||
;------------------------------------------------------------------------------------------------------------------------------
|
||||
; Rain settings
|
||||
;
|
||||
; (For slow CPUs, you may want to disable rain entirely.
|
||||
; (For slow CPUs, you may want to disable this)
|
||||
;------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
; Enable/Disable rain appearing in the game.
|
||||
; Enable/Disable weather appearing in the game.
|
||||
ALLOW_RAIN = TRUE
|
||||
|
||||
; Chance of rain to be triggered once per day.
|
||||
RAIN_CHANCE_PER_DAY = 40
|
||||
; Possible number of weather events happening per day
|
||||
RAIN_EVENTS_PER_DAY = 5
|
||||
|
||||
; Minimum/Maximum length of rain.
|
||||
; Chance of weather being triggered, evaluated for each of RAIN_EVENTS_PER_DAY.
|
||||
RAIN_CHANCE_PER_DAY = 70
|
||||
|
||||
; Minimum/Maximum length of waether.
|
||||
RAIN_MIN_LENGTH_IN_MINUTES = 60
|
||||
RAIN_MAX_LENGTH_IN_MINUTES = 300
|
||||
RAIN_MAX_LENGTH_IN_MINUTES = 240
|
||||
|
||||
; Number of raindrops per given time. Note that this multiplied according to the screen resolution and weather type
|
||||
; For slow CPUs decrease the MAX_RAIN_DROPS.
|
||||
MAX_RAIN_DROPS = 80
|
||||
|
||||
; Controls how rain affects visual distance
|
||||
; Range: 0-100%
|
||||
; 0% = Rain doesn't decrease sightrange.
|
||||
; 100% = Can't see anything in the rain.
|
||||
VISUAL_DISTANCE_DECREASE_PER_RAIN_INTENSITY = 30
|
||||
|
||||
; Reduction of weapon reliability, causing weapons to deteriorate faster in rain and possibly jam more often.
|
||||
WEAPON_RELIABILITY_REDUCTION_PER_RAIN_INTENSITY = 0
|
||||
|
||||
; Reduction of the speed of regaining your breath (stamina) when it is raining.
|
||||
BREATH_GAIN_REDUCTION_PER_RAIN_INTENSITY = 25
|
||||
|
||||
; This is the base setting for each weather
|
||||
MAX_RAIN_DROPS = 100
|
||||
|
||||
;------------------------------------------------------------------------------------------------------------------------------
|
||||
; Lightning settings
|
||||
@@ -2597,6 +2589,76 @@ DELAY_IN_SECONDS_IF_SEEN_SOMEONE_DURING_LIGHTNING_IN_TURNBASED = 5
|
||||
; In Turn-Based mode, lightning only occurs between turns. This is the chance of it occuring (out of 100).
|
||||
CHANCE_TO_DO_LIGHTNING_BETWEEN_TURNS = 35
|
||||
|
||||
;------------------------------------------------------------------------------------------------------------------------------
|
||||
; Sandstorm settings
|
||||
;
|
||||
; (For slow CPUs, you may want to disable this)
|
||||
;------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
; Enable/Disable this weather appearing in the game.
|
||||
ALLOW_SANDSTORM = TRUE
|
||||
|
||||
; Possible number of weather events happening per day
|
||||
SANDSTORM_EVENTS_PER_DAY = 3
|
||||
|
||||
; Chance of weather being triggered, evaluated for each of SANDSTORM_EVENTS_PER_DAY.
|
||||
SANDSTORM_CHANCE_PER_DAY = 70
|
||||
|
||||
; Minimum/Maximum length of weather.
|
||||
SANDSTORM_MIN_LENGTH_IN_MINUTES = 120
|
||||
SANDSTORM_MAX_LENGTH_IN_MINUTES = 240
|
||||
|
||||
;------------------------------------------------------------------------------------------------------------------------------
|
||||
; Snow settings
|
||||
;
|
||||
; (For slow CPUs, you may want to disable this)
|
||||
;------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
; Enable/Disable this weather appearing in the game.
|
||||
ALLOW_SNOW = TRUE
|
||||
|
||||
; Possible number of weather events happening per day
|
||||
SNOW_EVENTS_PER_DAY = 1
|
||||
|
||||
; Chance of weather being triggered, evaluated for each of SNOW_EVENTS_PER_DAY.
|
||||
SNOW_CHANCE_PER_DAY = 70
|
||||
|
||||
; Minimum/Maximum length of weather.
|
||||
SNOW_MIN_LENGTH_IN_MINUTES = 120
|
||||
SNOW_MAX_LENGTH_IN_MINUTES = 360
|
||||
|
||||
;------------------------------------------------------------------------------------------------------------------------------
|
||||
; Various environment modifiers during weather
|
||||
;------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
; Reduction of weapon reliability, causing weapons to deteriorate faster and possibly jam more often. Values from 0 to 10.
|
||||
WEAPON_RELIABILITY_REDUCTION_RAIN = 0
|
||||
WEAPON_RELIABILITY_REDUCTION_THUNDERSTORM = 1
|
||||
WEAPON_RELIABILITY_REDUCTION_SANDSTORM = 4
|
||||
WEAPON_RELIABILITY_REDUCTION_SNOW = 2
|
||||
|
||||
; Reduction of the speed of regaining your breath (stamina). Values from 0.0 to 1.0.
|
||||
BREATH_GAIN_REDUCTION_RAIN = 0.05
|
||||
BREATH_GAIN_REDUCTION_THUNDERSTORM = 0.4
|
||||
BREATH_GAIN_REDUCTION_SANDSTORM = 0.7
|
||||
BREATH_GAIN_REDUCTION_SNOW = 0.2
|
||||
|
||||
; Sightrange reduction, range 0.0-1.0
|
||||
; 0.0 = Weather doesn't decrease sightrange.
|
||||
; 1.0 = Can't see anything at all.
|
||||
VISUAL_DISTANCE_DECREASE_RAIN = 0.05
|
||||
VISUAL_DISTANCE_DECREASE_THUNDERSTORM = 0.15
|
||||
VISUAL_DISTANCE_DECREASE_SANDSTORM = 0.4
|
||||
VISUAL_DISTANCE_DECREASE_SNOW = 0.3
|
||||
|
||||
; Hearing reduction, range 0.0-1.0
|
||||
; 0.0 = No reduction
|
||||
; 1.0 = Can't hear anything at all.
|
||||
HEARING_REDUCTION_RAIN = 0.3
|
||||
HEARING_REDUCTION_THUNDERSTORM = 0.8
|
||||
HEARING_REDUCTION_SANDSTORM = 0.6
|
||||
HEARING_REDUCTION_SNOW = 0.1
|
||||
|
||||
|
||||
;******************************************************************************************************************************
|
||||
;******************************************************************************************************************************
|
||||
|
||||
@@ -847,8 +847,8 @@ MAX_STACKABLE_LESS_TRAVEL_TIME_BONUSES = 2
|
||||
; (This only applies for survivalist himself.)
|
||||
ENERGY_SPENT_TRAVEL_REDUCTION = 50
|
||||
|
||||
; Percentage of weather penalties reduced
|
||||
WEATHER_PENALTIES_REDUCTION = 35
|
||||
; Percentage of weather penalties reduced. Values from 0.0 to 1.0.
|
||||
WEATHER_PENALTIES_REDUCTION = 0.35
|
||||
|
||||
; Camouflage wear out percentage speed reduction
|
||||
CAMO_WORNOUT_SPEED_REDUCTION = 75
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Reference in New Issue
Block a user