|
本帖最后由 L0op8ack 于 2015-4-8 12:48 编辑
DCS World 中动态天气设置对气象参数的影响, 基本思路是:
气旋决定压差 -> 压差影响云量/风速/风向 -> 云量影响湿度/雨量/可视距离
合理设置,完全可以做出“东边日出西边雨”的效果
效果演示:
DCSW-动态天气演示
可以看到天气现象:晴朗、多云、下雨
一、动态天气模板
DCS World动态天气设置,可以存为模板,以便以后使用
设置完成后,输入名称,点击保存即可;使用时,选择模板,点击打开即可
模板文件存在如下目录:
C:\Users\[你的用户名]\Saved Games\DCS\MissionEditor\weather\dynamic\
其中cyclones部分为气旋参数设置
动态天气设置示例:
-------------- DCSW-DW-Test.lua ---------------
- vdata =
- {
- name = "DCSW-DW-Test",
- atmosphere_type = 1,
- qnh = 760,
- wind = -- 如果启用了动态天气,则风速是动态生成的,此设置无效
- {
- at8000 =
- {
- speed = 0,
- dir = 0,
- }, -- end of at8000
- atGround =
- {
- speed = 0,
- dir = 0,
- }, -- end of atGround
- at2000 =
- {
- speed = 0,
- dir = 0,
- }, -- end of at2000
- }, -- end of wind
- turbulence =
- {
- at8000 = 0,
- atGround = 0,
- at2000 = 0,
- }, -- end of turbulence
- season =
- {
- iseason = 1,
- temperature = 25,
- }, -- end of season
- cyclones =
- {
- [1] =
- {
- pressure_spread = 800000,
- centerZ = 700000,
- groupId = 2387,
- ellipticity = 1.5,
- rotation = 0.5,
- pressure_excess = -800,
- centerX = -300000,
- }, -- end of [1]
- [2] =
- {
- pressure_spread = 50000,
- centerZ = 550000,
- groupId = 2383,
- ellipticity = 3,
- rotation = 1,
- pressure_excess = -100,
- centerX = -275000,
- }, -- end of [2]
- [3] =
- {
- pressure_spread = 50000,
- centerZ = 600000,
- groupId = 2385,
- ellipticity = 3,
- rotation = 1,
- pressure_excess = -100,
- centerX = -200000,
- }, -- end of [3]
- [4] =
- {
- pressure_spread = 50000,
- centerZ = 650000,
- groupId = 2389,
- ellipticity = 3,
- rotation = 1,
- pressure_excess = -100,
- centerX = -125000,
- }, -- end of [4]
- [5] =
- {
- pressure_spread = 50000,
- centerZ = 700000,
- groupId = 2391,
- ellipticity = 3,
- rotation = 1,
- pressure_excess = -100,
- centerX = -50000,
- }, -- end of [5]
- }, -- end of cyclones
- enable_fog = false,
- fog =
- {
- thickness = 0,
- visibility = 25,
- density = 7,
- }, -- end of fog
- visibility =
- {
- distance = 80000,
- }, -- end of visibility
- clouds =
- {
- thickness = 0,
- density = 0,
- base = 0,
- iprecptns = 0,
- }, -- end of clouds
- } -- end of vdata
复制代码
-----------------------------------------------
二、气旋参数
- cyclones =
- {
- [1] =
- {
- pressure_spread = 800000,
- centerZ = 700000,
- groupId = 2387,
- ellipticity = 1.5,
- rotation = 0.5,
- pressure_excess = -800,
- centerX = -300000,
- }, -- end of [1]
- }
复制代码
pressure_spread: 气旋作用范围,米。如果一个地方在多个气旋作用范围内,那这个地方的天气情况将受多个气旋综合影响
centerX,centerZ: 气旋中心位置, (0,0)对应的经纬度坐标为(N 45°07'18",E 34°16'16"),位于克里米亚半岛
pressure_excess: 气旋中心与边缘的气压差,帕(Pa)。负值为低压,逆时针旋转,风向为边缘->中心;正值为高压,顺时针转动,风向为中心->边缘
ellipticity: ???疑似气旋范围椭圆的纵横比
rotation: ???气旋旋转速度,米每秒,
其中pressure_excess参数是影响天气极端程度的最重要参数,例:
-100 少云风轻
-300 多云强风
三、定制动态天气
DCS Wolrd现在支持最多6个气旋
合理设置气旋位置(centerX,centerZ)、影响范围(pressure_spread)及压差(pressure_excess),可以设定一片区域内的天气状况
完全可以做出“东边日出西边雨”的效果
|
评分
-
2
查看全部评分
-
|