Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://www.youtube.com/watch?v=XnsQ7qepWzU
http://killzonekid.com/arma-scripting-tutorials-ogv-to-texture/
https://forums.bohemia.net/forums/topic/139681-play-a-video-for-the-intro/
edit: This should help you realy
www.armaholic.com/page.php?id=29895
Create in your mission folder the "TV" folder
Documents\Arma 3\missions\your_mission\TV
There create the files with the codes:
-------------------------------------
tv-init.sqf
tv addAction ["Open test", "TV\Video\Scripts\opentest.sqf"];
-----------------------
close.sqf
removeAllActions tv;
nul = execVM "TV\tv-init.sqf";
-----------------------------
Now create an "Video" folder in the "TV" folder!
Documents\Arma 3\missions\ogv%20test.Stratis\TV\Video
In this create 2 other folders: "Scripts" and "Video"
Documents\Arma 3\missions\ogv%20test.Stratis\TV\Video\Scripts
Documents\Arma 3\missions\ogv%20test.Stratis\TV\Video\Video
In the Video folder place your OGV file!
In the Scripts folder create 2 files:
-----------------------------
acion1.sqf
tv setobjecttextureglobal [0,"TV\Video\Video\test.ogv"];
["TV\Video\Video\test.ogv",[10,10]] spawn bis_fnc_playvideo; [/code]
---------------------------------------------------
opentest.sqf
removeallactions tv;
tv addAction ["Close test", "TV\close.sqf"];
tv addAction ["Watch test", "TV\Video\Scripts\action1.sqf"];
--------------------
Place an TV in the editor and paste this line in the init field:
tv addAction ["Turn ON", "TV\tv-init.sqf"];
----------------------------------
Notice: In every script where you see the word "test", change them to them what you need!
Notice2: You have to activate the TV two or three time to see the video! ( "Turn On"; "Watch TV"; "Play Test" {maybe})
Notice3: If you havent an OGV file you can find them in
Multimedia_Interface_System_script\Youtube\Videos
there are 3 ogv files!
If you follow the steps from above, than use this in the "action1" sqf file:
acion1.sqf
tv setobjecttextureglobal [0,"TV\Video\Video\test.ogv"];
play = ["TV\Video\Video\test.ogv"] spawn BIS_fnc_PlayVideo;
Notice: In Full Screen you can´t close the video!