Jump to content
Maxik

Help with Multimedia Plugin

Recommended Posts

Hello, help me set up the Multimedia Interface System plugin ( https://www.armaholic.com/page.php?id=29895 ) can not figure out how to turn off the video when it is already running, the author wrote that this can not be done, but a Russian man was able to somehow to do it, and how to make the sound from the source ( if you move away, the sound becomes quieter)

Share this post


Link to post
Share on other sites

Hello @Melody_Mik.  Thanks for the answer) video from this author (

).
I have been to rewrite scripts, but I'm not very good at it, so it didn't work out for me.) The problem is that when I turn on the video, it goes like sound throughout the whole map and if I want to switch the video, then the sound from the first starts to go along with the second at the same time and I cannot turn it off at all, only by restarting the mission.


Code
"Action 1"

tv setobjecttextureglobal [0,"TV\Youtube\Videos\action1.ogv"];

["TV\Youtube\Videos\action1.ogv",[10,10]] spawn bis_fnc_playvideo; [/code]

tv say3D 'bip';

"Open video"

removeallactions tv;
tv setobjecttextureglobal [0, "TV\Youtube\Pictures\screen.jpg"];
tv addAction ["Menu Screen", "TV\Youtube\Scripts\screen.sqf"]; 
tv addAction ["Close Youtube", "TV\close.sqf"]; 




tv addAction ["Watch FAIL ARMY", "TV\Youtube\Scripts\action1.sqf"];
tv addAction ["Watch Moe and ET Hood Pranks", "TV\Youtube\Scripts\action2.sqf"];
tv addAction ["Watch Funny Vines Compilation", "TV\Youtube\Scripts\action3.sqf"];




tv say3D 'bip'; 

And this plugin have "description"

class CfgSounds
{
// List of sounds (.ogg files without the .ogg extension)
sounds[] = {rap,house,rock,bip,bip2};

// Definition for each sound
class rap
{
// Name for mission editor
name = "rap"; 
//Path of the .ogg file. since it's in the same folder just use the filename
sound[] = {TV\Media Player\Music\rap.ogg, 1, 1.0}; 
titles[] = {};
};
class house
{
// Name for mission editor
name = "house"; 
//Path of the .ogg file. since it's in the same folder just use the filename
sound[] = {TV\Media Player\Music\house.ogg, 1, 1.0}; 
titles[] = {};
};
class rock
{
// Name for mission editor
name = "rock"; 
//Path of the .ogg file. since it's in the same folder just use the filename
sound[] = {TV\Media Player\Music\rock.ogg, 1, 1.0}; 
titles[] = {};
};
class bip
{
// Name for mission editor
name = "bip"; 
//Path of the .ogg file. since it's in the same folder just use the filename
sound[] = {TV\TV logo & beep\Sounds\bip.ogg, 1, 1.0}; 
titles[] = {};
};
class bip2
{
// Name for mission editor
name = "bip2"; 
//Path of the .ogg file. since it's in the same folder just use the filename
sound[] = {TV\TV logo & beep\Sounds\bip2.ogg, 1, 1.0}; 
titles[] = {};
};

};

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×