0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 08:50:43 -05:00
server/project/assets/configs/weather.json
Dev 0b729fba11 Improvements to how weather temperature is calculated - takes into account current season
Centralised the season override into `getActiveWeatherSeason()`
Adjusted weather values based on client data
2024-10-17 13:05:01 +01:00

116 lines
2.4 KiB
JSON

{
"acceleration": 7,
"weather": {
"generateWeatherAmountHours": 24,
"clouds": {
"values": [-1, 0, 0.5, 1, 1.5],
"weights": [100, 15, 5, 4, 3]
},
"windSpeed": {
"values": [0, 1, 2, 3, 4],
"weights": [6, 3, 2, 1, 1]
},
"windDirection": {
"values": [1, 2, 3, 4, 5, 6, 7, 8],
"weights": [1, 1, 1, 1, 1, 1, 1, 1]
},
"windGustiness": {
"min": 0,
"max": 1
},
"rain": {
"values": [1, 2, 3, 4, 5],
"weights": [25, 1, 1, 1, 1]
},
"rainIntensity": {
"min": 0,
"max": 1
},
"fog": {
"values": [0.002, 0.004, 0.008, 0.012, 0.087],
"weights": [25, 8, 5, 5, 1]
},
"temp": {
"0": {
"min": 17,
"max": 32
},
"1": {
"min": 7,
"max": 15
},
"2": {
"min": -10,
"max": 5
},
"3": {
"min": 1,
"max": 15
},
"4": {
"min": 0,
"max": 24
}
},
"pressure": {
"min": 760,
"max": 780
},
"timePeriod": {
"values": [15, 30],
"weights": [1, 2]
}
},
"seasonDates": [
{
"seasonType": 0,
"name": "SUMMER",
"startDay": "2",
"startMonth": "6",
"endDay": "15",
"endMonth": "10"
},
{
"seasonType": 1,
"name": "AUTUMN",
"startDay": "15",
"startMonth": "10",
"endDay": "1",
"endMonth": "11"
},
{
"seasonType": 2,
"name": "WINTER_END",
"startDay": "1",
"startMonth": "11",
"endDay": "31",
"endMonth": "12"
},
{
"seasonType": 2,
"name": "WINTER_START",
"startDay": "1",
"startMonth": "1",
"endDay": "24",
"endMonth": "3"
},
{
"seasonType": 3,
"name": "SPRING",
"startDay": "25",
"startMonth": "3",
"endDay": "2",
"endMonth": "6"
},
{
"seasonType": 4,
"name": "STORM",
"startDay": "24",
"startMonth": "10",
"endDay": "4",
"endMonth": "11"
}
],
"overrideSeason": null
}