View unanswered posts | View active topics It is currently Thu Mar 28, 2024 2:47 pm



Reply to topic  [ 8 posts ] 
 Example: Custom music/video player 
Author Message
Site Admin
Site Admin

Joined: Thu Feb 07, 2013 11:16 am
Posts: 1865
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
screenshot4.jpg [ 139.42 KiB | Viewed 24896 times ]


So you can play any video/sound on any rigid object you like.


Tue Sep 17, 2013 4:09 pm
Profile
Rank 14
Rank 14
User avatar

Joined: Sat Mar 30, 2013 8:43 pm
Posts: 164
This is just awesome, it is one of the few things I wanted to request for future versions. Thanks.


Sun Sep 22, 2013 11:08 pm
Profile
Rank 5
Rank 5

Joined: Tue Oct 08, 2013 3:52 pm
Posts: 16
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?


Thu Oct 10, 2013 3:42 pm
Profile
Site Admin
Site Admin

Joined: Thu Feb 07, 2013 11:16 am
Posts: 1865
We support most codecs and formats. Simply reference a video somewhere and it should run. Online streaming is not (yet) supported.


Thu Oct 10, 2013 3:47 pm
Profile
Site Admin
Site Admin

Joined: Thu Feb 07, 2013 11:16 am
Posts: 1865
We support most codecs and container formats. Simply reference a video somewhere and it should run. Online streaming is not (yet) supported.


Thu Oct 10, 2013 3:47 pm
Profile
Rank 5
Rank 5

Joined: Tue Oct 08, 2013 3:52 pm
Posts: 16
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?


Thu Oct 10, 2013 4:01 pm
Profile
Rank 1
Rank 1

Joined: Sat Jan 11, 2014 9:25 am
Posts: 1
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?


Sat Jan 11, 2014 9:27 am
Profile
Rank 13
Rank 13
User avatar

Joined: Sun Dec 14, 2014 3:59 pm
Posts: 120
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 :mrgreen:


Sun Jul 19, 2015 9:19 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group.
Designed by X-Moon Productions.