# Arma 2: Patch v1.03.58899 Beta

4,827个页面创建

Filesize: 39.4MB

## Change Log编辑

The change log for this beta patch does not show anything new, however the readme has a section on a new way of adding multiple parameters to multiplayer missions.

### Arma 2 Public Beta Build编辑

Latest public beta patches are available from http://www.arma2.com/beta-patch.php including change logs.

Please note: Arma 2 Beta is a public preview release intended for developer testing and community feedback. It may be updated often and we use them to verify that a bug we are tracking has been fixed. We make the beta builds for testing only and also to allow developers in the community to test their content with the upcoming versions before they are released as the official release. We write code and post the results frequently so people like you can join our testing process and report bugs but Arma 2 Beta might crash on startup or cause any other kind of unpredicted problems so please do not bother downloading Arma 2 beta builds if you're unwilling to put up with problems or help with the testing of the game and stick with the latest official release instead.

### Multiplayer Compatibility编辑

Usually, beta versions will be compatible in multiplayer with either previous or the upcoming public final release (unlike in Arma 1 where beta versions were causing large incompatibility in the multiplayer community).

### System Requirements编辑

• ANY ORIGINAL VERSION OF ARMA 2 from 1.03 (including Steam version)
• DirectX 9 March 2009 is required

### How to Install and run the Beta Patch编辑

Run the patch exe to apply the patch setup automatically (you may be prompted to choose your exact version in some occasions).

• It will install all beta content to a mod folder "Beta", including the beta exe (that has to be run properly with working directory set to the main game installation, see below for more information)
• To launch Arma2 beta patch you need to go to the main game directory and click on shortcut "Launch Arma2 Beta Patch"
• You can configure your Arma 2 with Beta Patch including other mods etc., just make make sure that:
in your ArmA Shortcut start-up Target line;
• You are running the Arma2.exe from your "beta" folder.
• You have "beta" in your modfolder as in -mod=beta
    example: "C:\Program Files\Bohemia Interactive\ArmA 2\beta\arma2.exe" -mod=beta

• Make sure the shortcut's "Start In" section refers to main "Arma 2 " main working folder and NOT "Arma 2/beta"
    example: "C:\Program Files\Bohemia Interactive\ArmA 2"


You can always run your Arma 2 final version in the main Arma 2 folder if you use default application shortcuts, start menu or run the regular arma2.exe without the beta mod folder.

### How to add multiple parameters to your MP mission编辑

• to your description.ext add following class

class Params { class Score { title = "$STR_mp_param_score"; values[] = {10,200}; texts[] = {"10","200"}; default = 10; }; class Duration { title = "$STR_mp_param_duration"; values[] = {1,2}; texts[] = {"one hour","two hours"}; default = 1; }; etc. ..... }

• old style of parametrs definiton can be still used
• Reading of parameter from a file

// added by Slon

• Parameters appoint to variables:

_para0 = paramsArray select 0; _para1 = paramsArray select 1; etc. ..... 

• For use of parameters in the editor and single mission, use a line:

if (isNil "paramsArray") then {paramsArray = [12.5,5000,etc. .....]}; 

• One of application variants:

Switch (paramsArray select 0) do { case 0:{_as = [] execVM "file.sqf"}; case 1:{}; etc. ..... }

on the amount of parameters

How to use multiple parameters in your MP mission:

• values can be read from new variable paramsArray
• variables param1 and param2 are still present
• if param1 and param2 are defined, they can be read from paramsArray[0] and paramsArray[1] as well

Example of new mission definition in server.cfg (for 5 variables):

  // added by Anunnaki
class misionName
{
template = misionName.Chernarus;
difficulty = "recruit";
paramsArray = [1,0,5,40,10];
};