Video Players Mod

7 days to die video players mod, 7 days to die electricity

This A21 mod now combines several A18/A19 mods (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.

Description

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

Billboards

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 Screens

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

Video Players

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

TVWall 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 disaster message of your choice.

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

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 Xyth need to active them on start as he 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 he’s 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.

Installing

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

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.

Changelog

  • (new) Business Glass Plane: Fixed in todays update. Uses glassvarianthelperblocks now.
  • Update the Mod to A21.1. Nothing has changed except removed perk requirements from the recipe so folks can enjoy this in early game, and exported from the latest version of Unity.
  • Updated the mod to 20.6, fixed a minor issue spamming the logfile due to no baseline encoding on the static video.
  • Uploaded new version. Drive-in screens shader changed for full brightness at night. Increase sound range to 100M on Drive-in screen, 50M on smaller theater screen. Increased activation distance in xml on drive-in screen to 30M so you don’t have to fly up to the screen to change movies.
  • Added a “DriveInScreen” block to the mod. A couple of issues: The screen is 21x10x1, but the xml multidim property is set to (10,10,1) because values larger than 15 or so causes “Not a parent” red errors in the console. The other is because the screen is so big, its very difficult to place, so use helper column of blocks to find the center then remove those after its placed. Even then, the screen wont actually place unless you get just the right angle. This game doesn’t like huge blocks, so you will need some patience to place this screen.

DOWNLOAD (40,6 MB)

The forum topic of the mod is here.

Credits: Xyth

Share this with your friends:

13 thoughts on “Video Players Mod

  1. It doesn’t replace any of the default game items, does it?
    I would like it to, so I can just explore my world with those things going on without me having to craft them

    1. This mod just straight up doesn’t work for me. Is there anything special you did with the mp4’s besides aspect ratio?

    1. The guy joining you would need to also install the mods and videos to his %appdata%/7DaysToDie/Mods folder to work correctly. I don’t think this mod is server-side only.

    1. Nevermind Very finicky, seems to kinda work if you wait 15 seconds between switching to the next video, didnt mean to come across like i fixed it, mean i thought i found a fix

Leave a Reply

Your email address will not be published. Required fields are marked *