Search the Community
Showing results for tags 'playback'.
Found 2 results
-
Video Playback Drastically Sped Up when Using BIS_fnc_playVideo
EveMakya posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am designing a horror themed operation and needed a cut scene for my big bad's evil speech. I cut together a video and put it in the .ogv video format and am calling it via a trigger and a script. The script moves the players to specific spots and faces them, disables their simulation and damage, plays the video, times music to play in sync with a specific point of the video, and then re-enables their damage and simulation. Everything is moving perfectly and is timed up with uIsleeps with the exception of the video itself. The video appears to be playing back at a speed ratio of almost 2:1. The audio sounds normal, but the visuals are incredibly sped up and the video ends drastically ahead of schedule, cutting the audio out when the visuals finish. I've tried calling the video in two different ways, the first being: ["videos\TimorSpeech.ogv"] call BIS_fnc_playvideo; and the second: ["videos\TimorSpeech.ogv"] remoteExec ["BIS_fnc_playVideo", ([0, -2] select isDedicated)]; Both work in calling the video, both result in the same issue. The playback of the video is remarkably consistent and is ending at about the same time each time. I have nothing in the script or the trigger that should be adjusting time speed or scale. Below is the entirety of the script. The script is called with execVM "scripts\BigBad.sqf"; Any idea why the video playback would be so accelerated or how I might remedy it? Also please forgive the lack of a for loop here, I know it's not as streamlined but I suck at building for loops and was just operating for something that worked out the gate. //Set position and direction of hitman teams zCurator setPos [2373, 6767, 5]; if (!isNil "H1Actual") then {H1Actual setDir 0; H1Actual setPos [2373, 6767, 0];} else {}; if (!isNil "H12IC") then {H12IC setDir 0; H12IC setPos [2373.5, 6765, 0]} else {}; if (!isNil "H1Medic") then {H1Medic setDir 0; H1Medic setPos [2373, 6769, 0]} else {}; if (!isNil "H1Operator") then {H1Operator setDir 0; H1Operator setPos [2372, 6763, 0]} else {}; if (!isNil "H2TL") then {H2TL setDir 0; H2TL setPos [2376.9, 6766.8, 0]} else {}; if (!isNil "H22IC") then {H22IC setDir 0; H22IC setPos [2375, 6766, 0]} else {}; if (!isNil "H2Medic") then {H2Medic setDir 0; H2Medic setPos [2374, 6764,0]} else {}; if (!isNil "H2Operator") then {H2Operator setDir 0; H2Operator setPos [2374, 6762,0]} else {}; //Disable Simulation of Hitman teams if (!isNil "H1Actual") then {H1Actual enableSimulationGlobal False; H1Actual allowdamage False;} else {}; if (!isNil "H12IC") then {H12IC enableSimulationGlobal False; H12IC allowdamage false;} else {}; if (!isNil "H1Medic") then {H1Medic enableSimulationGlobal False; H1Medic allowdamage False;} else {}; if (!isNil "H1Operator") then {H1Operator enableSimulationGlobal False; H1Operator allowdamage False;} else {}; if (!isNil "H2TL") then {H2TL enableSimulationGlobal False; H2TL allowdamage False;} else {}; if (!isNil "H22IC") then {H22IC enableSimulationGlobal False; H22IC allowdamage False;} else {}; if (!isNil "H2Medic") then {H2Medic enableSimulationGlobal False; H2Medic allowdamage False;} else {}; if (!isNil "H2Operator") then {H2Operator enableSimulationGlobal False; H2Operator allowdamage False;} else {}; "Simulation Disabled, Video Playing" remoteExec ["Hint", zCurator]; //UiSleep combined duration of cut scene, broken up for timing of music track with video. ["videos\TimorSpeech.ogv"] remoteExec ["BIS_fnc_playVideo", ([0, -2] select isDedicated)]; uiSleep 254; playMusic ["BossBattle", 1]; "Music Playing" remoteExec ["Hint", zCurator]; uiSleep 39; //Enable Simulation and Damage of Hitman teams if (!isNil "H1Actual") then {H1Actual enableSimulationGlobal True; H1Actual allowdamage True;} else {}; if (!isNil "H12IC") then {H12IC enableSimulationGlobal True; H12IC allowdamage True;} else {}; if (!isNil "H1Medic") then {H1Medic enableSimulationGlobal True; H1Medic allowdamage True;} else {}; if (!isNil "H1Operator") then {H1Operator enableSimulationGlobal True; H1Operator allowdamage True;} else {}; if (!isNil "H2TL") then {H2TL enableSimulationGlobal True; H2TL allowdamage True;} else {}; if (!isNil "H22IC") then {H22IC enableSimulationGlobal True; H22IC allowdamage True;} else {}; if (!isNil "H2Medic") then {H2Medic enableSimulationGlobal True; H2Medic allowdamage True;} else {}; if (!isNil "H2Operator") then {H2Operator enableSimulationGlobal True; H2Operator allowdamage True;} else {}; "Simulation Enabled" remoteExec ["Hint", zCurator]; uiSleep 1; "BigBad Script has Executed" remoteExec ["Hint", zCurator];- 2 replies
-
- video
- mission building
-
(and 5 more)
Tagged with:
-
OCAP - Op Capture And Playback (AAR/Replay)
Gudsawn posted a topic in ARMA 3 - ADDONS & MODS: COMPLETE
Operation Capture And Playback (BETA) What is it? OCAP lets you record and replay operations on an interactive (web-based) map. Reveal where the enemy were located. Discover how each group carried out their assaults. See who engaged who, when, and how. Use it simply for fun or as a training tool to see how well your group performs on ops. Features Interactive web-based playback. All you need is a browser. Captures positions of all units and vehicles throughout an operation. Captures events such as shots fired, kills, and hits. Event log displays events as they happened in realtime. Clicking on a unit lets you follow them. Server based capture - no mods required for clients. Download Download via GitHub OCAP is not yet compatible with 64-bit servers. Please wait until a new version is released. ETA: 2018 Credits - 3 Commando Brigade for testing and moral-boosting. - Leaflet - an awesome JS interactive map library. - Maca134 for his tutorial on writing Arma extensions in C#. Changelog & Known Issues Known Issues - Web client was created using Chrome, other browsers (e.g. Firefox) are known to have some compatibility issues. - When using ACE with insta-death off, kill/hit events report victim as the killer. Changelog- 189 replies
-
- 32