Page MenuHomeFeedback Tracker

If wind strength is ever 0, all wind effects become disabled for the rest of the mission
New, WishlistPublic

Description

Obs:
If the wind strength is ever exactly 0, all wind effects become disabled for the rest of the mission, even if the wind is subsequently increased by either the in built weather system or script commands. The returned value of windStr continues to change as expected, but no environmental effects are observed (moving vegetation and clouds), and the wind vector remains at [0,0,0].

Exp:
Wind effects and wind vector should always reflect the current wind strength.

Details

Legacy ID
3415117413
Severity
None
Resolution
Open
Reproducibility
Always
Category
Other
Steps To Reproduce
  1. In mission editor, create new mission.
  2. Place any player unit in a location where vegetation is visible.
  3. Open intel dialogue.
  4. Set starting and forecast cloud to 50.
  5. Set wind to manual.

Mission weather method:

  1. Set starting wind strength to 0.
  2. Set forecast wind strength to 100.
  3. Preview mission.
  4. Accelerate time as much as possible.
  5. Periodically check the return value of windStr and wind. Notice that windStr increases toward 1, but no wind effects are ever apparent, and wind vector remains at [0,0,0].

Script method:

  1. Set starting wind strength to 100.
  2. Set forecast wind strength to 100.
  3. Preview mission. Notice wind effects.
  4. Open debug console. In two watch fields, check return value of windStr and wind. Watch them for each of the following steps.
  5. Execute this line: 0 setWindStr 0
  6. Close debug console. Notice zero wind vector and no wind effects as expected.
  7. Open debug console. Execute this line: 0 setWindStr 1
  8. Close debug console. Notice zero wind vector and no wind effects, even though windStr return value is now 1.
Additional Information

Tested using Dev build 1.21.124754
Only tested in the mission editor.

Event Timeline

ceeeb edited Steps To Reproduce. (Show Details)May 31 2014, 4:07 AM
ceeeb edited Additional Information. (Show Details)
ceeeb set Category to Other.
ceeeb set Reproducibility to Always.
ceeeb set Severity to None.
ceeeb set Resolution to Open.
ceeeb set Legacy ID to 3415117413.May 7 2016, 6:41 PM
unfei added a subscriber: unfei.May 7 2016, 6:41 PM
unfei added a comment.Aug 23 2014, 3:50 PM

User tortuosit here, cannot login with that account any more... :-(

There are also problems with setwind array:

[setWind]

  • setWind [10, 10]: No change of wind. The third argument (force direction) seems to be mandatory.
  • setWind [10, 10, false]: Wind strong at first, but goes down to zero after maybe 2 seconds.
  • setWind [10, 10, true]: Wind works. But with true, direction is not dynamic.

Also wind vector values should be limited to like 12 beaufort, i.e. ~30m/s.

[n setGusts [0-1]]:
Does it work at all? I see no effect.

Another observation: If you do
setwind [10,10,true];
1000 setwindstr 0;
the wind immediately stops with the second command, i.e. you won't see the strong wind set first.

My workaround currently is to use a moderate setwind array at init and then keep the windstr always =>0.01.
I avoid using setwind array in scripting. It can create stronger wind, BUT can never change seemless.

ceeeb added a comment.Jul 29 2015, 3:47 AM

Still an issue using dev build 1.49.131644

Still an issue in 1.60.