Jump to content

Recommended Posts

I've been trying to change the view distance on my server. I'm using a clean mpmission i created with one player unit.

 

I've tried setting viewDistance=10000 in the Arma3Profile and basic.cfg files, but it refuses to change the view distance in my test mission or any other.

 

Arma3Profile:

class Difficulties
{
	class recruit
	{
		class Flags
		{
			Armor=1;
			FriendlyTag=0;
			EnemyTag=0;
			MineTag=1;
			HUD=1;
			HUDPerm=1;
			HUDWp=1;
			HUDWpPerm=1;
			HUDGroupInfo=1;
			AutoSpot=1;
			Map=1;
			WeaponCursor=1;
			AutoGuideAT=1;
			ClockIndicator=1;
			3rdPersonView=1;
			UltraAI=0;
			CameraShake=0;
			UnlimitedSaves=1;
			DeathMessages=1;
			NetStats=1;
			VonID=1;
			ExtendedInfoType=1;
		};
		skillFriendly=0.60000002;
		skillEnemy=0.60000002;
		precisionFriendly=0.28;
		precisionEnemy=0.28;
	};
	class regular
	{
		class Flags
		{
			Armor=1;
			FriendlyTag=1;
			EnemyTag=0;
			MineTag=1;
			HUD=1;
			HUDPerm=1;
			HUDWp=1;
			HUDWpPerm=1;
			HUDGroupInfo=1;
			AutoSpot=1;
			Map=1;
			WeaponCursor=1;
			AutoGuideAT=1;
			ClockIndicator=1;
			3rdPersonView=1;
			UltraAI=0;
			CameraShake=1;
			UnlimitedSaves=1;
			DeathMessages=1;
			NetStats=1;
			VonID=1;
			ExtendedInfoType=1;
		};
		skillFriendly=0.60000002;
		skillEnemy=0.60000002;
		precisionFriendly=0.28;
		precisionEnemy=0.28;
	};
	class veteran
	{
		class Flags
		{
			Armor=0;
			FriendlyTag=0;
			EnemyTag=0;
			MineTag=1;
			HUD=1;
			HUDWp=1;
			HUDWpPerm=1;
			HUDGroupInfo=1;
			AutoSpot=0;
			WeaponCursor=0;
			ClockIndicator=1;
			3rdPersonView=0;
			UltraAI=0;
			CameraShake=0;
			DeathMessages=0;
			NetStats=1;
			VonID=1;
			ExtendedInfoType=0;
		};
		skillFriendly=0.60000002;
		skillEnemy=0.60000002;
		precisionFriendly=0.28;
		precisionEnemy=0.28;
	};
	class mercenary
	{
		class Flags
		{
			HUD=1;
			AutoSpot=0;
			WeaponCursor=0;
			DeathMessages=0;
			NetStats=1;
			VonID=1;
		};
		skillFriendly=0.60000002;
		skillEnemy=0.60000002;
		precisionFriendly=0.28;
		precisionEnemy=0.28;
	};
};
singleVoice=0;
soundEnableEAX=1;
soundEnableHW=0;
volumeCD=5;
volumeFX=5;
volumeSpeech=5;
viewDistance=10000;

Basic.cfg:

language="English";
viewDistance=10000;

Startup line:

SCREEN -LAmdS arma3 /home/games/arma3/arma3server -config=server.cfg -name=server -ip=xxx -port=2302 -cfg=basic.cfg -mod="@JS_JC_FA18;@JS_JC_SU35;@FA18X_Black_Wasp"

Share this post


Link to post
Share on other sites

init.sqf:

 

setViewDistance VALUE;

 

I don't think there's a way to use the server settings, but rather good ol' script commands.

Share this post


Link to post
Share on other sites

So each mission would need to be edited in order to change the view distance? 0_o

 

Or is there a global init.sqf that can be placed somewhere?

Share this post


Link to post
Share on other sites

So each mission would need to be edited in order to change the view distance? 0_o

 

Or is there a global init.sqf that can be placed somewhere?

You could theoretically create a mod that would execute this command globally on preInit or postInit (whichever is needed). But besides that, no.

  • Like 1

Share this post


Link to post
Share on other sites

viewdistance is given the following priority for overwriting values on lower priorities

 

mission/addon : Highest

Server: second highest

client: lowest

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

×