I personally don't get the lightening error, but I don't get some of the effects either. Fog, rain etc works just fine, snow and sandstorms don't do anything?
I personally don't get the lightening error, but I don't get some of the effects either. Fog, rain etc works just fine, snow and sandstorms don't do anything?
Visit {USI} at {USI} home
Ok I love this addon but I seem to have problem. I run a test mission on my LAN and saw that my fog was different in every machine. My main pc had a bit of mist in the distance, two other pc had heavy fog all around that killed visibility and the fourth had almost no fog at all.
Is it random for every pc that plays in the same mission? Because you can imagine how many problems that can cause "HEY on the left side machinegunner running down the hill" "what? Where it's too bloody foggy here!" "No it isn't!" "Yes! Yes it is Where are you?"
Hey Master-gamawa. I suppose your problem is caused by different view distances on all clients, because amount of fog visible is related to view distance. I think the only solution would be to use a fixed view distance for all clients ..
Ι have set all my pcs to the same graphics settings. All identical (apart from screen res because my main pc has a big monitor).
All graphics are set on the exact same config. View distance 4000, AA low, PP off and all the rest to High.
But the weather effects aren't synched and I don't know why. It has happened with rain too. My main pc was showing a storm and the other two... just a nice spring drizzle.
Oh, extra question. As I understand, the pcs on my LAN get their graphics settings from the "server" pc, right? If I set my server pc to view distance 3000 and terrain detail to normal, all the other pcs are going to follow that?
Or do I have to get those settings in some sort of config file in the mission folder? That was never clear to me.
Is the weather and fog random? If so maybe the author forgot to synch it over MP?
\"Det är bara att placera den ena foten framför den andra och upprepa det tills man har kommit fram\"
Ltn Vuorensola
Yes... it's called random anyway... Random fog, random snow blizzard etc. I thought that meant that the effects are created randomly when the mission starts but are the same for everyone after that.
I swear that has happened with the original rain in the editor. Sometimes I set the weather to "suck" and everything is fine until I tell my friends "I can't see anything let's wait until the rain stops" and my friends usually respond with "rain? what rain?"
It's kind of annoying...
Yes, to make a MP compatible weather one need to use global variables with fog, overcast and rain so all machines get the same values.
Ok I don't want to fudge this thread up anymore. can you direct me to some sort of info about global variables and how to set those up?
pm me if you got it.
I ment public variables, not global.. You have to rewrite the scripts, and then the bikeys will be wrong. But if you want to do it have a look at the scripting forum and on the biki
But in short; you need to have a server check (a gamelogic can work with a check if its there), then let only the server define the random values that will be used, after that you make the variables public so they will be broadcasted and used by the clients so the code use the same values on all machines.
http://community.bistudio.com/wiki/publicVariable
Im sorry, but I cant help you more now, + I dont know how the code looks in this addon so as I dont really know I might make a fool out of myself :P
Last edited by andersson; Nov 3 2009 at 13:51.
Me and Sentinel have spoken and have decided to rework some of the effects to maximize the possible effects for Arma2. (more details soon)
As for the fog issue, the main reason is due to the fact that this is not being hosted via a dedicated server. I’m pretty sure when me and Sentinel tested this, that the effects can only be shown/synced via a dedi server.
If your hosting a game with a friend, or via LAN, you will find that the effects will never be in sync or sometimes not show at all.