Skip to content
perfk edited this page Aug 7, 2016 · 5 revisions

The settings.sqf file handles the settings for the framework itself.

The time limit

The time limit is in minutes and it is built into the framework since the mission has to have a time limit. You can however disable it by setting it to 0.

Example: 25 minutes

FW_TimeLimit = 25;

View distances

There are lots of things to consider when setting the view distances because it is a huge performance factor for both the client and server and the view distance has to be set for both of them separately. The server and client should have the same view distance for the most balanced and realistic experience.

Server considerations

  • The view distance dictates from how far away the ai can spot and engage you.
  • The higher the view distance, the less ai's you can have in your mission without server lag.

Client considerations

  • If the client can see further then the server (ai), then the player can spot and engage the ai without them being able to fight back.
  • If the view distance is too high, for the players computer to handle, then the player will have to lower the view distance which allows the ai to spot and engage from further away then the player.

Important note

If you set the view distance to 5 km then it is technically possible that when your flying, in a helicopter or plane, that a you get shot down by ZSU-23-4 Shilka from 5 km away. If your unsure about what to set the view distance to, set it to the maximum range of the longest range direct fire weapon in the mission plus a couple of hundred of meters.

Example:

if (isServer) then {

    setViewDistance 2500; //View distance for the server (the ai's)

};

if (!isDedicated) then {

    setViewDistance 2500; //View distance for the player
	
};

Setting up teams

About setting up the teams please read about the end screen.