Michael Braun
f3e8a8ae42
Updated wind indicator to use head direction instead of player direction. Fixes #1892 .
2015-08-02 03:29:53 +02:00
PabstMirror
c1dd2df57a
Move grid funcs and map long,lat,altitude to common
2015-06-30 12:26:51 -05:00
ulteq
b2221b683f
Introduced ACE_Rain
2015-06-07 18:57:16 +02:00
ulteq
0364975c12
Implemented Density Altitude calculation
2015-06-01 16:09:35 +02:00
ulteq
903fb89d77
Overcast > 0.7 no longer implies rain:
...
* The higher the overcast value the higher the chance for rain
* But you can end up having no rain with an overcast value of 1.0
2015-05-31 17:30:52 +02:00
ulteq
1ec37aabed
Merge pull request #1424 from acemod/barometricPressureFix
...
Fixed incorrect barometric pressure calculation
2015-05-29 12:40:17 +02:00
ulteq
abf0149b1d
Added speed of sound calculation:
...
* Influences the advanced ballistics transonic instability
* Influences the ATragMX range card output
2015-05-29 11:36:37 +02:00
ulteq
69b9d0e122
More in-depth barometric pressure calculation:
...
* Temperature is now taken into account
2015-05-29 11:18:40 +02:00
ulteq
83f2e35907
Fixed incorrect unit conversion in the barometric pressure calculation
2015-05-29 10:30:30 +02:00
jaynus
c924baefd7
All instances of time and diagTicktime changed to ACE_time / ACE_diagTime.
2015-05-21 09:42:44 -07:00
ulteq
f9b7e3c6f7
Fixed clashing MACRO names
2015-05-16 21:10:34 +02:00
ulteq
03b478aeee
Reworked dew point, heat index and wind chill calculations
2015-05-16 12:39:52 +02:00
ulteq
0377526a7c
Finished heat index and wet bulb functions
2015-05-16 11:12:29 +02:00
ulteq
7f966de28c
Added wet bulb calculation, fixed macros
2015-05-15 21:10:46 +02:00
ulteq
2f7d7ece56
Added utility function to calculate the dew point
2015-05-15 19:58:24 +02:00
ulteq
e6ed1e5dbd
Added utility functions to calculate heat index and wind chill
2015-05-15 19:00:11 +02:00
ulteq
7a95e2a7bd
Weather module macro cleanup
2015-05-15 14:20:18 +02:00
ulteq
cf487b544e
Moved all temperature calculations into the weather module.
2015-05-14 16:07:41 +02:00
ulteq
b03333c9e8
Moved all wind calculations into the weather module
2015-05-11 10:59:07 +02:00
PabstMirror
4733818e9b
Fix weather array for zargabad
2015-05-09 15:10:01 -05:00
ulteq
05f34e5d6a
Attempt to fix https://github.com/acemod/ACE3/issues/1025
2015-05-05 22:21:29 +02:00
ulteq
19864d5be6
Fixed a bug in the humidity calculation
2015-05-05 10:37:51 +02:00
ulteq
4f44bcdf46
Added wind data for Chernarus (Prag)
2015-05-05 10:36:12 +02:00
ulteq
f81e53bb33
Added wind data for Takistan (Kabul)
2015-05-04 22:17:26 +02:00
ulteq
be7391bf47
Added wind data for F.A.T.A
2015-05-04 21:28:12 +02:00
ulteq
76eaa5ded1
Added wind data for Bornholm
2015-05-04 20:35:39 +02:00
ulteq
061b77e375
Fixed completely fucked up temperature day/night cycle
2015-05-03 23:32:53 +02:00
ulteq
30c27bf689
Added weather data for kunduz map
2015-05-03 23:21:56 +02:00
ulteq
1b5756d33c
Added weather update interval module setting
2015-04-27 12:47:26 +02:00
ulteq
04d3a31b5b
Fixed a typo
2015-04-27 12:34:21 +02:00
ulteq
3c91f6abe3
Added ace/module settings for ace_weather:
...
*enableServerController // weather propagation on the server
*useACEWeather // disable ace weather
*syncRain
*syncWind
*syncMisc
2015-04-27 12:28:56 +02:00
ulteq
eb88f94cf7
Removed unused privates
2015-04-24 11:53:06 +02:00
ulteq
b3bf44fa1e
Code cleanup
2015-04-24 10:58:55 +02:00
ulteq
b3f4bf306d
Moved the global weather controls into preInit
2015-04-24 10:46:33 +02:00
ulteq
062aeae6e6
Fixed several bugs in the rain simulation:
...
*Added missing rain initialization based on overcast value
*Added proper fade out when the overcast changes from >=0.7 to <0.7
*Removed duplicate code
2015-04-24 10:25:31 +02:00
ulteq
50546646fa
Added missing rain_period_count reset to 0
2015-04-24 10:05:13 +02:00
ulteq
5a90ef6207
Added global variables (syncRain, syncWind, syncMisc) which give some control over the weather module:
...
*Removed duplicate debug output
2015-04-24 10:03:48 +02:00
ulteq
ddf62b6db4
Added missing privates
2015-04-23 16:08:02 +02:00
ulteq
be595d9c9e
Made the wind speed change less often during good weather
2015-04-23 11:54:24 +02:00
ulteq
09ff217e93
Improved the init process
2015-04-22 21:16:01 +02:00
ulteq
a9726d2b60
Simplified the wind direction change calculation
2015-04-22 19:46:27 +02:00
ulteq
caf2f12eb9
Improved the wind direction selection based on the probability array
2015-04-22 19:46:09 +02:00
ulteq
ac5d593271
Switched to an improved version of the old getWind function
2015-04-22 12:56:07 +02:00
ulteq
d7f67970a4
Fixed a bug in the wind direction init code
2015-04-21 20:55:04 +02:00
ulteq
1db9f055e2
Removed debug output
2015-04-21 20:54:47 +02:00
ulteq
428baefc2c
Added random temperatureShift, badWeatherShift, humidityShift
2015-04-21 20:41:50 +02:00
ulteq
30d1b1b5e5
Fixed a typo in the updateTemperature function
2015-04-21 20:20:22 +02:00
ulteq
af4fdda477
Continued work on the new wind system:
...
* Moved the wind data into CfgWorlds.hpp
* Modified the contents of ACE_WIND_PARAMS
* new getWind function for the clients
* new wind init based on the real world weather data
2015-04-21 20:20:05 +02:00
ulteq
ac74e6c611
More WIP
2015-04-20 16:33:36 +02:00
ulteq
8aa69663d6
More WIP
2015-04-20 16:01:13 +02:00