Stormfog (again)
by Howard Dortch · in Torque Game Engine · 01/29/2005 (8:20 am) · 4 replies
I know how to make the fog work but having problems getting it to work on a client. The server(host) computer has fog but none of the clients do. Anyone got a hint on how to get the client fog to work?
#2
01/29/2005 (1:13 pm)
I'm using sky.stormfog(1,1); since that seems the only way to get the fog layers to work. I was told they were off by default so you have to force them to work somewhere in the code. I thought I would do it on the server side after the mission load but the clients that havent joined dont get fog when they do join. So does this call need to be made for each client that joins?
#3
The only thing you need to update client side is if you change the preciptation percentage dynamicly.
01/29/2005 (3:44 pm)
Stormfog,stormclouds updates all clients . The only thing you need to update client side is if you change the preciptation percentage dynamicly.
#4
01/29/2005 (4:26 pm)
Thanks Billy, where do you think would be a good place to call it? I tried from startGame but it didn't activate. seems it only activates after the player is created, and that doesn't sound right to me.
Associate Kyle Carter
Are you directly setting fields or are you calling the storm fog helper methods?