====== bis ArmA 2 Benchmark ======
[[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|ArmA 2 Tools]]
Mission has no triggers or markers.
description.ext
briefing = 0;
debriefing = 0;
init.sqf
//light film grain
"filmGrain" ppEffectEnable true;
"filmGrain" ppEffectAdjust [0.02, 1, 1, 0.1, 1, false];
"filmGrain" ppEffectCommit 0;
"radialBlur" ppEffectEnable false;
"wetDistortion" ppEffectEnable false;
"chromAberration" ppEffectEnable false;
"dynamicBlur" ppEffectEnable false;
setAperture 0.5;
enableradio FALSE;
// start camera here
_camera = "camera" camCreate [11218.64,12355.84,85.58];
_camera cameraEffect ["internal", "back"];
_camera camPrepareTarget [103643.61,37965.05,-28024.75];
_camera camPreparePos [11218.64,12355.84,85.58];
_camera camPrepareFOV 0.700;
_camera camCommitPrepared 0;
_camera camPrepareTarget [103643.61,37965.05,-28025.12];
_camera camPreparePos [12209.02,12578.74,54.09];
_camera camPrepareFOV 0.700;
_camera camCommitPrepared 110;
enableSaving [false,false];
sleep 0.1;
showCinemaBorder FALSE;
sleep 2;
_time = diag_tickTime;
_frame = diag_frameno;
sleep 100;
_timePassed = diag_tickTime - _time;
_framesPassed = diag_frameno - _frame;
5 fadeMusic 0;
5 fadeSound 0;
titleCut ["", "BLACK OUT", 4];
sleep 5;
titleText [format["ARMA2 BENCHMARK \nAVERAGE FPS: %1\n\n\n\n\n\n[ Press Space to continue. ]", round ( _framesPassed / _timePassed)], "BLACK FADED", 999999];
spaceCheck = (findDisplay 46) displayAddEventHandler ["KEYDOWN"," if (_this select 1 == 57) then {endMission ""End1""}"];