server.armaprofile – Talk
Does the viewDistance= setting in the Dedicated server profile *LOCK* all players into the same viewdistance regardless of their client profile, or their client side scripts?
If it is LOCKED how do you tell the server leave viewDistance UNLOCKED? My first guess is comment the line out so the scripts can be used to change the view distance on the fly?
--ViperMaul 02:00, 13 April 2008 (CEST)
AFAIK the setting here only comes into play if a mission has no VD setting. Clientside settings are of course ignored in MP. If both mission and server have no VD setting, it defaults to 1200. --PROPER Q 09:06, 13 April 2008 (CEST)
Thanks for your response. Now once the VD is set on a Dedicated server, can this be changed for each individual client via script in game? (For example, GetIn EH to change VD for Aircraft to say 2000 and GetOut EH to change it back to 1200). This is hard to test for which is the reason I ask. Thanks in advance.
--ViperMaul 06:40, 14 April 2008 (CEST)
setViewDistance script command is local. This means you can have different settings for each client. The server entity VD is applied to all AI that are not under player control (in player groups?).
Now mission side setting has priority over ArmAProfile setting. Hope that helps. --PROPER Q 08:10, 14 April 2008 (CEST)