• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

A21.1 VideoPlayers Mod

The mod needs to be loaded on both the client and the server.   The server may need its startup config edited depending if it has a graphics card or not but I dont see that error in your screenshot.  Link to log needed for more support.

 
How do we set up 2 TVs with different playlists? All TVs in my built have the same playlist now. Can you dublicate this mod so we can use it twice but with different video lists? 

 
It might be possible to duplicate the Mod under a different name, then renaming the unity3d file in that mod, and editing the xml to use the new name.  Never tried that though.

 
It might be possible to duplicate the Mod under a different name, then renaming the unity3d file in that mod, and editing the xml to use the new name.  Never tried that though.


I think inside your unity3d file, your models also need to have unique names from the original copy of the mod. I seem to remember trying this before, and it choked on two mods/unity3d files using the exact same model name.

 
This mod totally good, I love it. But unfortunately also there is a disadvantage: The videos have to much contrast and in generell to bright. Gray becomes white, nuances in the skin tones disappear. The shadows are without details, there grays are turned into black. (on the tv screens). To be honest, good videos with lots of subtle details in colors are looking bad.

I assume that this is because the blocks are provided with additional brightness, so that you can see the videos even in the dark? In fact, the screens are almost lightsources now.

I think this was not the case in the version for Alpha 19, so better.  Is it possible to turn off this artificial brightening?

 
Last edited by a moderator:
Each new alpha seems to change how the game handles particular shaders, which control things like brightness.  A21 will bring even greater changes, so its unlikely I will be able to do much with this until A21 drops.

 
Can't seem to get this mod to work. I connect a wire to a screen, turn it on, and all i get is a black screen. I haven't changed any of the video files that came with the mod so it's most likely not an encoding issue.

 
Can't seem to get this mod to work. I connect a wire to a screen, turn it on, and all i get is a black screen. I haven't changed any of the video files that came with the mod so it's most likely not an encoding issue.
Did you try to change the channel by pressing the E key?  If that doesn't work, the mod likely didn't load properly.  If you link your log file, we can help.

 
Each new alpha seems to change how the game handles particular shaders, which control things like brightness.  A21 will bring even greater changes, so its unlikely I will be able to do much with this until A21 drops.
Ok. I understand. Thanks for the answer. Luckely your A19 mod workds in 20 also. The difference is really huge, like day from night, so I use the "old" one. Nonetheless - it makes fun, it's great.

 
im getting a pink screen and no sound for it now. back in a19 it was working fine but this updated version for a20 not working for me

 
Have them working on my dedicated server but can't seem to find a way so that the videos in the server's mod files are the ones my server members see. At the moment its working individually. Any help is much appreciated, was planning on playing thick44 marathon on server.

 
Have them working on my dedicated server but can't seem to find a way so that the videos in the server's mod files are the ones my server members see. At the moment its working individually. Any help is much appreciated, was planning on playing thick44 marathon on server.
The video files on the server and client need to be the same.  I'm guessing your talking about sync between the server and clients, so all clients see the same video?  I dont think that's possible in this codeless version. 

XDM said:
im getting a pink screen and no sound for it now. back in a19 it was working fine but this updated version for a20 not working for me
I'd need to see your game log to help identify your issue.

 
my problem with  this mod is, that it is not customizable. i wish i could make tvs play one specific video. all tvs start with the first video. it is annoying. 

we should be able to do that simple @%$#. 

 
VideoPlayers Modlet (Single Player Stable)

Note: Seems to work on Dedi, if you follow the install instructions, otherwise it will crash your server!  You were warned.

This A20 modlet now combines several A18/A19 modlets (Video Players, Billboards, and Theater Screens)

You must connect a wire to each device using the wire tool to activate it, then you can remove that wire.  

YouTube Video:

   

YouTube Video:






YouTube Video:







Description





 
Introduces mass media into the game.  Be sure to active each of these with a wire using the wire tool.  

Billboard01 is a mechanical billboard that shows 3 unique images on each side of the billboard. This is a single texture sheet which you can edit in a graphics program then import into unity and the reexport.

BillboardVideoMP4 is a electronic version, that will play 12 video clips in rotation. Like 12 TV channels.  Best part is you can replace the 12 video files in the mods/resources folder with your own.  In default, video0 is static, 1 is a cartoon clip, and 3 a classic video.  All the rest are static.  

Theater Screen  Adds a flat theater screen into the game. Designed with POI makers in mind, this screen is 16:9 format and 8x5 blocks in size. 

VideoTV is a large tabletop television that will play 12 video clips (or entire movies) in rotation. 

TVWall [SIZE=14.6px]is a wall mounted version setup to replace the existing small wall mounted televisions. Its currently set to replace 20% of them but that can be adjusted in xml.  Some will be on by default, playing static, but otherwise are broken.  Replace video0 with a public service [/SIZE]disaster[SIZE=14.6px] message of your choice.[/SIZE]

If you put down a land claim block you can pick these up by holding the E key.

Installing

Single Player

Normal mod install.  Drop the mod into your Mods folder and your done.  If you swap out any of the videos, they must have the exact same name and file extension as the one you're replacing. Those names are hard coded. It won't like strange .mp4 encoding so keep it simple.  Encoding help can be found in the old thread.





Dedi   Experimental - read carefully

For some reason, the dedicated servers default startup file named startdedicated.bat has a Unity startup parameter -nographics .   -nographics means dont load various shaders and the video decoding files needed to render video.  So your job is to edit that file before starting up the dedi.

On about line 69 of that file you will see this line:         start %GAMENAME% -logfile "%LOGFILE%" -quit -batchmode -nographics -configfile=serverconfig.xml -dedicated

Change it to:     start %GAMENAME% -logfile "%LOGFILE%" -quit -batchmode  -configfile=serverconfig.xml -dedicated

Failure to do this properly will crash your dedi hard and fast.

Download

The Modlet can be found here: https://github.com/7D2D/A20Mods/blob/main/VideoPlayers.zip or in the ModLauncher.

Known Issues

Sometimes the sound plays for a few seconds if you enter the game next to a billboard that has sound. This is because I need to active them on start as I can't use code to do that. Minor annoyance. 

You need to activate a newly placed video device by attaching a wire to it, but you can immediately remove that wire. That is because I'm using the switch class and it expects a wire to the switch. No way to fix that without code.

Videos need to be in .mp4 format.   There is a limit to how much memory can be allocated to video, so 12 long movies may well crash the server.
Thanks for sharing man.

 
ahhhh the classic @%$# answer. zero logic. "hey are you sick? then become a doctor... hey is your car broken? then become an engineer. you dont like the new game you bought? pfft, become a developer and make a better game. "
Hey, you don't like the mod someone made you for free? Learn how to mod and make what you want!

I've just only ever saw your posts being complaining about mods. Not exactly a good look when trying to get things changed/added in a mod. Maybe rethink your approach. And besides, you yourself said "we should be able to do that simple @%$#". If it is so simple, do it yourself. Problem solved.

 
Last edited by a moderator:
Hey, you don't like the mod someone made you for free? Learn how to mod and make what you want!

I've just only ever saw your posts being complaining about mods. Not exactly a good look when trying to get things changed/added in a mod. Maybe rethink your approach. And besides, you yourself said "we should be able to do that simple @%$#". If it is so simple, do it yourself. Problem solved.
i am a simple user, if i dont like anything i will just comment about it. the modder doesnt need to like the users as a person. if he wants his product to be better, then he should listen to facts. not if they come from a nice guy or a  mean and bad bad guy.

 
Last edited by a moderator:
Back
Top