Page MenuHomeFeedback Tracker

Wind and wind gusts need to be synced in multiplayer
Closed, ResolvedPublic

Description

Wind and wind gusts need to be synced across all clients in multiplayer and be JIP compatible. This is because any mod or script that utilizes wind would want for all players to experience the same environment.

Details

Legacy ID
3485990246
Severity
None
Resolution
Open
Reproducibility
Have Not Tried
Category
Visual-Environment
Additional Information

All wind related commands need to be global.

Event Timeline

ProGamer edited Steps To Reproduce. (Show Details)Nov 12 2013, 3:53 PM
ProGamer edited Additional Information. (Show Details)
ProGamer set Category to Visual-Environment.
ProGamer set Reproducibility to Have Not Tried.
ProGamer set Severity to None.
ProGamer set Resolution to Open.
ProGamer set Legacy ID to 3485990246.May 7 2016, 5:24 PM
StJimmy added a subscriber: StJimmy.May 7 2016, 5:24 PM

I've done some tests and everything seems to be syncing just fine. I even made a video to demonstrate it:

http://www.youtube.com/watch?v=_LcamB1-Ww4

1st array is client, 2nd is server and values are read simultaneously. Array of values:

[wind, windDir, windStr, gusts, rainbow, rain, fog, fogForecast, fogParams, overcast, overcastForecast, waves, humidity, daytime]

I tested this with JIP and it also syncs correctly. Do you have solid proof that weather doesn't sync properly?

What doesn't work however is if you use any of the setXXXX command and affect weather on the server expecting it to sync to the clients. It is not just not automatically propagate to clients, any JIP joining server with manually affected weather doesn't sync. So yes in this respect this is a big mess.

So in other words, do not touch weather commands, kids, or you might find yourself in a big trouble trying to make it all work together.

It would really be nice for BIS to put server in charge of the weather. This would require 1 more command, something like

serverWeatherSync

So after you've changed weather you run serverWeatherSync which syncs all clients and JIP. there is simulWeatherSync command, but I don't think it is relevant in this case as it does something else.

StJimmy removed a subscriber: StJimmy.May 31 2016, 6:17 PM