cypher2012 Posted September 4, 2017 Share Posted September 4, 2017 Hey guys, Just out of curiosity, is there a way to paint a video to texture. To essentially play a video on an object. A bit like the TV object when it is turned on. Link to comment Share on other sites More sharing options...
AGreatWeight Posted September 4, 2017 Share Posted September 4, 2017 Not sure exactly what you mean by 'paint a video to texture'. The game engine doesn't possess the ability to actually play video files in-game, what you're seeing (for example, the Pre-War Sanctuary TV announcement about the bombs dropping) is actually a sequential series of still images from a texture file, that switch every 10th of a second to mimic motion video. The various images that comprise the 'video' are laid out in a grid like fashion, 16x16 on a 2048x2048 texture for the TV's. The behavior files of a .nif control what part of the texture is displayed on the mesh (of the object, in this exampe a TV screen), the duration it's displayed for, and other variables, before changing to a different area of the texture to be displayed etc. Also, scripting is used for certain aspects of making this method work. Basically, it's a 'flip-book' method of giving the impression of video, and it's the only way that the Creation Engine allows this. It's the method that the Videos of the Wasteland mod uses to display video from holotape content (or film-reels if using the Starlight Drive-In plug-in)Over the last year or so i've read numerous posts where others alluded to the potential ability to directly display video or flash files, but no working prototype has ever been disclosed, so I imagine that those attempting alternative ways to display 'video' in-game have come up against impasses, unsurprisingly. Link to comment Share on other sites More sharing options...
cypher2012 Posted September 4, 2017 Author Share Posted September 4, 2017 Not sure exactly what you mean by 'paint a video to texture'. The game engine doesn't possess the ability to actually play video files in-game, what you're seeing (for example, the Pre-War Sanctuary TV announcement about the bombs dropping) is actually a sequential series of still images from a texture file, that switch every 10th of a second to mimic motion video. The various images that comprise the 'video' are laid out in a grid like fashion, 16x16 on a 2048x2048 texture for the TV's. The behavior files of a .nif control what part of the texture is displayed on the mesh (of the object, in this exampe a TV screen), the duration it's displayed for, and other variables, before changing to a different area of the texture to be displayed etc. Also, scripting is used for certain aspects of making this method work. Basically, it's a 'flip-book' method of giving the impression of video, and it's the only way that the Creation Engine allows this. It's the method that the Videos of the Wasteland mod uses to display video from holotape content (or film-reels if using the Starlight Drive-In plug-in)Over the last year or so i've read numerous posts where others alluded to the potential ability to directly display video or flash files, but no working prototype has ever been disclosed, so I imagine that those attempting alternative ways to display 'video' in-game have come up against impasses, unsurprisingly. That's interesting. certainly gives me a lead to go on. I will take some time to study the nif file of the pre war telly! Thanks! Link to comment Share on other sites More sharing options...
AGreatWeight Posted September 4, 2017 Share Posted September 4, 2017 That's interesting. certainly gives me a lead to go on. I will take some time to study the nif file of the pre war telly! Thanks!No problem, if you've got any other questions regarding this, I may be able to help (but I'm no expert - Myself and Dertspovar06 are currently looking into ways to create a working projector for VotW, along with other developments) Link to comment Share on other sites More sharing options...
orbital13 Posted February 23, 2019 Share Posted February 23, 2019 hey, gentlemen how i can activate VotW_TVSpecial1Screen from my script without player or projector? Link to comment Share on other sites More sharing options...
ChuckYufarley Posted February 24, 2019 Share Posted February 24, 2019 (edited) *NM* Edited February 24, 2019 by ChuckYufarley Link to comment Share on other sites More sharing options...
orbital13 Posted February 25, 2019 Share Posted February 25, 2019 (edited) This can make my life easypssorry, my english is so so)) Edited February 25, 2019 by orbital13 Link to comment Share on other sites More sharing options...
niston Posted February 26, 2019 Share Posted February 26, 2019 I suspect that it could be possible through DirectX Render To Texture facility. Likely not without some serious heavy-lifting done by injected code tho, if at all. Link to comment Share on other sites More sharing options...
thousande Posted March 1, 2019 Share Posted March 1, 2019 Check out Videos of the Commonwealth https://www.nexusmods.com/fallout4/mods/24435/? You'll find a nice tutorial / "making of" on YouTube https://www.youtube.com/channel/UCzDg2-J0RnilLB5Q6BUv6bw/videos Link to comment Share on other sites More sharing options...
Recommended Posts