Roadblock Posted September 22, 2021 Posted September 22, 2021 How do you get Pinball Y or X to show Loading Videos on a per table basis?
scutters Posted September 22, 2021 Posted September 22, 2021 Use this plugin for PinballX; https://forums.gameex.com/forums/topic/23127-plugin-pinballx-loading-video-image-changer-de-randomiser-v2/ Drop me a post in that thread if you have any problems.
Roadblock Posted September 23, 2021 Author Posted September 23, 2021 Thanks Scutters that works like a charm in Pinball X. Now how do I make it work in Pinball Y ?
scutters Posted September 28, 2021 Posted September 28, 2021 On 9/24/2021 at 12:40 AM, Roadblock said: Thanks Scutters that works like a charm in Pinball X. Now how do I make it work in Pinball Y ? Sorry, i can't help with Y
Tikimaster Posted April 1, 2022 Posted April 1, 2022 You can do it with javascript. There is a Solution for a common loading video from Richard LIncoln. LaunchVideo.js Run launch.mp4 on game launches.. Maybe there will follow a solution for Table-Loading-Videos..https://github.com/RichardL64/Visual-Pinball/tree/main/PinballY This Version should hide wheel and loading.. Text: Source: Pinball Y Group on Facebook. Thanks to Richard - he is a nice guy.. // // LaunchVideo // https://github.com/RichardL64 // // Play video during game launch // Plays ../PinballY/Media/Videos/Launch.mp4 // // R.Lincoln April 2022 // // On game launch // function myOverlayShow(ev) { mainWindow.launchOverlay.bg.clear(0xff000000); let video = gameList.resolveMedia("Videos","Launch.mp4" ); mainWindow.launchOverlay.bg.loadVideo(video); ev.preventDefault(); } // On game startup // Stop the video // function myGameStarted(ev) { mainWindow.launchOverlay.bg.clear(0xff000000); } // Overlay message // Hide the PBY display items // function myOverlayMessage(ev) { ev.hideWheelImage = true; ev.message = ""; } // Setup the launch hook // mainWindow.on("launchoverlayshow", myOverlayShow); mainWindow.on("gamestarted", myGameStarted); mainWindow.on("launchoverlaymessage", myOverlayMessage); logfile.log("[LaunchVideo] Initialised"); // End
Roadblock Posted August 21, 2022 Author Posted August 21, 2022 Just got back to this and tried Richard's script. Got it working! Thanks Retsamikit and RichardL64.
monoculero Posted December 12, 2022 Posted December 12, 2022 On 8/22/2022 at 12:09 AM, Roadblock said: Just got back to this and tried Richard's script. Got it working! Thanks Retsamikit and RichardL64. Hello mates. Im using LaunchVideo.js script on my PinballY machine but something its going wrong. I have the files into correct path: PinballY/Media/Launch Videos/nametable (manufacturer year).mp4 And log file show something like this: Playing White Water (Williams 1993) This video file exists, and if it doesnt, show something like this: Playing Launch, but any video appears ... Any idea? What im doing wrong? Thanks!
Tikimaster Posted December 12, 2022 Posted December 12, 2022 Have a look on this: https://github.com/RichardL64/Visual-Pinball/tree/main/PinballY The launch script has been updated. try the updated one. good luck...
csfieldmusic Posted January 5, 2023 Posted January 5, 2023 I am having trouble understanding what to do with this script. Do I copy the updated script and paste it somewhere? If so where. Please explain how to use this script. Thank you.
Tikimaster Posted January 5, 2023 Posted January 5, 2023 Scripts are in the script folder. You can save a script as a normal txt file and rename it to *.js Open the Main.js in a txt editor and have a look. The Main.js is calling the scripts you want to use with: import "seamless-launch.js"; If you do not want to launch a script, it looks like this: //import "LaunchFade.js";
csfieldmusic Posted January 5, 2023 Posted January 5, 2023 Thanks for the quick reply! I will definatley try this as soon as I get home!
csfieldmusic Posted January 6, 2023 Posted January 6, 2023 Still can't this work. I can not rename text file to *. Js windows will not let me use * in the name. Also can not find the main.js file either..
Tikimaster Posted January 6, 2023 Posted January 6, 2023 4 minutes ago, csfieldmusic said: Also can not find the main.js file either.. here is everything https://github.com/RichardL64/Visual-Pinball/tree/main/PinballY * is used in computer technology as a placeholder. I meant myname.js where myname is a freely chosen filename.
csfieldmusic Posted January 6, 2023 Posted January 6, 2023 OK cool.. I was under the impression I only need the one script. I will add all of those to the script folder and see what happens. Thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.