xmoonproductions.org https://www.xmoonproductions.org/ |
|
Example: Custom music/video player https://www.xmoonproductions.org/viewtopic.php?f=28&t=775 |
Page 1 of 1 |
Author: | xpadmin [ Tue Sep 17, 2013 4:09 pm ] |
Post subject: | Example: Custom music/video player |
Here is an example on how to use custom video/sound playlists and play them in a scene. scene APARTMENT2 { tv_objecti:TV TV1 { // Use wall instead of tv //obj_name = "tv:tv"; obj_name = "bedwall"; // Use these files as playlist channels { // The file(s) file = "C:\Users\XXX\Downloads\Affect3D_Girlfriends4Ever_Trailer_v1-1a\*.mp4"; // Distance where 3D sound starts to fade (in meters) pos3d_min = 1.0; } // Start playing status = true; } } By adding a remote control like this: scene APARTMENT2 { remote_objecti:REMOTE REMOTE1 { // Object controlled by remote object = APARTMENT2:TV1; // Remote location waypoint = "remoteWp"; // Cannot be moved between scenes locked = true; } } You can switch between channels as well. It then looks like this: Attachment: screenshot4.jpg [ 139.42 KiB | Viewed 34699 times ] So you can play any video/sound on any rigid object you like. |
Author: | weipai [ Sun Sep 22, 2013 11:08 pm ] |
Post subject: | Re: Example: Custom music/video player |
This is just awesome, it is one of the few things I wanted to request for future versions. Thanks. |
Author: | ironpipe [ Thu Oct 10, 2013 3:42 pm ] |
Post subject: | Re: Example: Custom music/video player |
Seeing all this inspired me to make a thread for a movie theater feature viewtopic.php?f=6&t=818 (story proposal thread to come later) Will the movies we display need to be re encoded & put through a bunch of programs to work ingame? Is there a limit to size or length of the movie? |
Author: | xpadmin [ Thu Oct 10, 2013 3:47 pm ] |
Post subject: | Re: Example: Custom music/video player |
We support most codecs and formats. Simply reference a video somewhere and it should run. Online streaming is not (yet) supported. |
Author: | xpadmin [ Thu Oct 10, 2013 3:47 pm ] |
Post subject: | Re: Example: Custom music/video player |
We support most codecs and container formats. Simply reference a video somewhere and it should run. Online streaming is not (yet) supported. |
Author: | ironpipe [ Thu Oct 10, 2013 4:01 pm ] |
Post subject: | Re: Example: Custom music/video player |
hella fast response! glad to see it will be that easy, thats so accessible anyone can do it. People will be programming their own TV channels as well lol online streaming? wow, did you want to hook in youtube/netflix/hulu ect? This could be just as awesome but what about the Ads that pop up? |
Author: | d0rk78 [ Sat Jan 11, 2014 9:27 am ] |
Post subject: | Re: Example: Custom music/video player |
Looks cool, would be even cooler to add a videocam feature for the game so you can record a sex scena and then play it back on the big screen ![]() Is it possible to use this script to change the livingroom tv settings? |
Author: | Blu3 [ Sun Jul 19, 2015 9:19 pm ] |
Post subject: | Re: Example: Custom music/video player |
Is there other arguments for video playing ? I tried pos3d = false; loop = false; none of them works I would like the video to stop after playing because if there a slow down in game audio desync with video and then at the end of the movie the game crash. I like to play music clips and would also like to have the sound from every speakers (I tried pos3d_min = 25.0; but it's still not the thing I'm looking for. Thanks in advance ![]() |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |