jordi98cat
Member-
Content Count
11 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout jordi98cat
-
Rank
Private First Class
-
Show video on a server to all players.
jordi98cat replied to jordi98cat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Could you pass me one of your mods with the video inside as an example to see exactly how it is and be able to replicate it? Maybe I ask too much but it would be great and as soon as I find the one I would bring it here so that the solution is written. Could you pass me one of your mods with the video inside as an example to see exactly how it is and be able to replicate it? Maybe I ask too much but it would be great and as soon as I find the one I would bring it here so that the solution is written. sorry again, thank you very much. -
Show video on a server to all players.
jordi98cat replied to jordi98cat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I have tried exactly the same but with the P: drive mounted but it does not work, I get the same error as above: Picture \327thstarcorps\addons\327thvideo\video1.ogv not found -
Show video on a server to all players.
jordi98cat replied to jordi98cat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, now with the changes the previous error was solved but when executing the script gives this error: Picture \327thstarcorps\addons\327thvideo\video1.ogv not found I will also try to do it with the P drive to see how it works. Thank you very much, I know it is tedious but I think we are on the right track 😃 -
Show video on a server to all players.
jordi98cat replied to jordi98cat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hi, (I don't know what the "P: drive:" I have the 327thStarCorps mod on the desktop.) This time I have organized everything like this: 327thStarCorps/ ├─ addons/ │ ├─ 327thVideo.pbo/ │ ├─ 327thmusic.pbo/(this one was already in place and works fine) inside the 327thVideo.pob packaging there are: video1.ogg config.cpp PBOPREFIX.txt the config.cpp contains this: class CfgPatches { class 327thStarCorps { name = "327thStarCorps"; author = "Reaper"; url = "http://xkcd.com"; requiredVersion = 1.60; requiredAddons[] = { }; }; }; and my PBOPREFIX: 327thStarCorps\addons\327thVideo After, in game I put the command in the thisaction or in the debug console but I get the following error when saving the mission and executing the command. this addAction ["video", {["\327thStarCorps\addons\327thVideo\Video1.ogv"] remoteExec ["BIS_fnc_playVideo", 0]}]; ["\327thStarCorps\addons\327thVideo\Video1.ogv"] remoteExec ["BIS_fnc_playVideo", 0]; No entry 'bin\config.bin/CfgPatches/327thVideo.units'. Thanks again for all your patience. -
Show video on a server to all players.
jordi98cat replied to jordi98cat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am a bit confused. I have tried the same thing but handwritten and I get the same error. What I want is to have the video in the 327thVideo folder (addon) inside the mod and call it through a thisaddaction. Could you tell me the correct way to do it, with the folders and the organization I should have, at some point I must be lost because it does not work. Thank you very much again and I'm sorry for so many questions, I'm embarrassed. -
Show video on a server to all players.
jordi98cat replied to jordi98cat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Okay, this time I have tried it: Mod is called: 327thStarCorps. The addon I made for this is called: 327thVideo. Inside the folder: 327thVideo there is; Folder: category Inside category there is: fn_Video1.sqf Containing: [getMissionPath "327thVideo\film\video1.ogv"] spawn BIS_fnc_playVideo; Folder: film Inside film there is: Video1.ogv Config.cpp In the Config.cpp there are: class CfgPatches { class 327thVideo { name = "327thVideo"; author = "reaper"; url = "" requiredVersion = 1.00; requiredAddons[] = {}; units[] = {}; weapons[] = {}; }; }; class CfgFunctions { class 327th { class category { class Video1 {}; }; }; }; txt file: PBOPREFIX 327thStarCorps\327thVideo with all this, when I enter weapon 3 in the main menu I get the error: Script \category\fn_Video1.sqf not found with all this I have entered the mission and I have tested it in hosted server and when entering: ["\327thVideo\film\video1.ogv"] remoteExec ["BIS_fnc_playVideo", 0]; (in the extended debug console) has shown the following error: '["\327thVideo\film\video1.ogv"] I#IremoteExec ["BIS_fnc_playVideo", 0...' error missing ; again I am sorry to bring so many doubts but it is quite confusing. Thanks for your patience. -
Show video on a server to all players.
jordi98cat replied to jordi98cat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
First of all, thank you very much for the help, I will look at the guide you have given me very carefully as it will be very useful. The issue of putting the video in the mod and not in the mission is because of its weight, the load of the mission would be too long. That said I have tried the last option that you indicated me in the following way: My mod is called: 327thStarCorps. The mod I made for this is called: 327thVideo. Inside the folder: 327thVideo there is; Folder: category Inside category there is: fn_Video1.sqf Containing: [getMissionPath "327thVideo\film\video1.ogv"] spawn BIS_fnc_playVideo; Folder: film Inside film there is: Video1.ogv Config.cpp In the Config.cpp there are: class CfgFunctions { class 327th { class category { class Video1 {}; }; }; }; Having this as you have told me, I have compressed the addon in the Arma3 addon Build (binarized). I put it in the addon folder of my mod. 327thStarCorps. I updated the mod with the Arma3 publisher. I repaired the 327thStarCorps mod in the launcher to make sure it downloaded the latest version. I entered an editable mission, tested it on a hosted server on the internet. There I hit ESC and in the execution console I put: [] remoteExec ["327th_fnc_Video1", 0]; nothing happened, it didn't even give me an error, but the video didn't play either. I also tried with [] remoteExec ["327th_fnc_Video1.sqf", 0]; nothing happened either. Again thank you very much for helping me, I hope you can help me again. -
Show video on a server to all players.
jordi98cat replied to jordi98cat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I would like it to be played at a certain point in the mission to all players at the same time, although knowing the other way would not be bad either. Since the video is heavy, I would like to put it inside a mod but I don't know if it has to go as an addon with its config.cpp. So I don't know if I should put it in the mod by itself and call it in some way or if it should be done in another way. Thank you very much for your attention. -
Show video on a server to all players.
jordi98cat replied to jordi98cat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
-
Show video on a server to all players.
jordi98cat replied to jordi98cat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
For 7erra (sorry I didn't know how to quote you, it's my first reply in this forum, sorry) I would like it to be played at a certain point in the mission to all players at the same time, although knowing the other way would not be bad either. Since the video is heavy, I would like to put it inside a mod but I don't know if it has to go as an addon with its config.cpp. So I don't know if I should put it in the mod by itself and call it in some way or if it should be done in another way. Thank you very much for your attention. -
jordi98cat started following Show video on a server to all players.
-
Show video on a server to all players.
jordi98cat posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Good morning, I would like to know if it is possible to put a video in a workshop mod and then show it on a server to all players. Currently I know how to create a mod in the workshop to put custom music but I would like to know if it is possible and how to put a video in the mod to subsequently put a command on a server to be played to all players. I have tried to search but I have not found a way, if anyone knows how to do it I would be very grateful.