Jump to content
Sign in to follow this  
wass24

Distance issue in Multiplayer?

Recommended Posts

Has anyone else had this problem? I can see an object at a distance fine in the mission editor preview, but standing in the same spot with the same configuation the obect is out of view. I have tried adjusting the distance setting in options and it still won't appear. I can obviously move the object closer in the editor but that's not the point. Any suggestions? Thanks.

Share this post


Link to post
Share on other sites

Try setting the viewdistance in the initfield of your soldier or the object. I dont know exactly what the problem is because I dont know exactly what you have done.

Example of problems:

You are on a dedicated server and are trying to increase the viewdistance but you cant do that so the object doesnt appear.

You are camcreating the object so the client cant see it.

You had a version of the mission in MP before you added the object and after you added the object to tried to save over the old mission but it wasnt overwritten.

Share this post


Link to post
Share on other sites

The object I am trying to view is just a large building. The building eventually appears when I walk a decent amount toward it. I am running on a LAN and all clients can see it in the mission editor. It's almost like the fog setting was set higher for the multiplayer mission, but I have it as far down as it will go in the editor.

Share this post


Link to post
Share on other sites

Viewdistance in multiplayer is ALWAYS 900m, except you set it differently in the mission.

Share this post


Link to post
Share on other sites

I did not know that. How do I change that? Do I need an init.sqs for the mission? Is it for each client or is it a global setting?

Share this post


Link to post
Share on other sites

Check the online comref:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">setViewDistance distance

Operand types:

distance: Number

Type of returned value:

Nothing

Description:

Set rendering distance. Default is 900 m, accepted range is 500 to 5000.

Example:

setviewdistance 2000

Init.sqs would be a good place to set it for all clients.

Share this post


Link to post
Share on other sites
Quote[/b] ]Try setting the viewdistance in the initfield of your soldier or the object

The first thing I said..........

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×