User Tools

Site Tools


arma2:scripting:benchmark-cutscene

bis ArmA 2 Benchmark

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, 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""}"];
arma2/scripting/benchmark-cutscene.txt · Last modified: 2024/08/01 22:18 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.