Fandom

武装突袭 Wiki

SetOvercast

简体 | 繁體

4,827个页面创建
于此维基上
添加新页面
评论0 Share

您使用了广告屏蔽软件!


Wikia通过广告运营为用户提供免费的服务。我们对用户通过嵌入广告屏蔽软件访问网站进行了使用调整。

如果您使用了广告屏蔽软件,将无法使用我们的服务。请您移除广告屏蔽软件,以确保页面正常加载。

Introduced with Operation Flashpoint version 1.00
  Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

点击图片可看到更多讯息

开始使用于

游戏:
Operation Flashpoint
版本:
1.00

描述

描述:
Set overcast to given value smoothly during given time (in seconds). Zero time means immediate change. An overcast setting of zero means clear (sunny) weather, and one means storms and rain are very likely. Higher overcast values also result in higher wind speeds.

基本句法

句法:
time setOvercast overcast
参数:
time: Number. In seconds

overcast: Number. Range 0 to 1
返回值:
Nothing

范例

范例1:
50 setOvercast 0.5

额外资讯

多人游戏:
Each client and the server can have differing overcast values.
也可以看看:

overcastnextWeatherChangesimulSetHumidity

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Posted on August 4, 2006 - 12:00
hardrock
Notes from before the conversion:

Use setRain if you want to make sure it rains.


Ceeeb
Only one script command induced weather change (either setOvercast or setFog) can be happening at a time. Starting a new weather change will immediately halt the current weather change. SetRain changes are independent and can occur simultaneously to a weather change.

Joris
Arma 3's volumetric clouds cannot be instantly changed (it would take up to a few seconds to do a full recompute). Therefore, 0 setOvercast 0 will not have the desired effect. You can use skipTime to get to the desired cloud coverage.

NOTE: To get instant, seamless overcast change to overcast 1 advance the time 24 hours with skipTime while setting overcast transition time to 86400 seconds (24 hours) -- Killzone_Kid

86400 setOvercast 1; skipTime 24;

//to remain on the same date: skipTime -24; 86400 setOvercast 1; skipTime 24;

Killzone_Kid
With removal of simulSetHumidity‎, in order to add instant cloud cover, execute simulWeatherSync with delay (for now): skipTime -24; 86400 setOvercast 1; skipTime 24; 0 = [] spawn { sleep 0.1; simulWeatherSync; }; There is slight freeze with simul command.

Adanteh
Delay in Arma 3 doesn't work for quick changes. Using 120 setOvercast 1 only reaches full overcast after about 50 minutes. Using setTimeMultiplier does speed up the overcast, but it doesn't render any clouds. You will need to skipTime or forceWeatherChange to render clouds if you want it to happen within the hour.

Bottom Section

更多维基

随机维基