Source Filmmaker

Source Filmmaker

164 ratings
Editable Computer Screens
 
Rate  
Favorite
Favorited
Unfavorite
Universe: Team Fortress
Model
Models: Indoor
Tags: Sfm
File Size
Posted
65.461 MB
Jul 16, 2015 @ 5:31pm
1 Change Note ( view )

Subscribe to download
Editable Computer Screens

Subscribed
Unsubscribe
Description
>> Important! This relies on Override Materials and Element Viewer! First rule: Right click on the model name and Add Override Materials! <<
>> Get VTFEdit, SFM does not support other image files except VTF, so convert your images with this: http://nemesis.thewavelength.net/index.php?c=238 <<
>> For videos, render your videos as image sequence and import them all at once in VTFEdit, then save as a VTF <<

This is an edit of the Spytech computer_screen_bank prop for use with multiple animated VTFs with manual control over the frame rate and an option to switch to automatic loop of textures.
All screens can be set to display a manually-controlled or automatic animated VTF and, of course, allow change of texture through the string $basetexture.

Thanks goes to:
Vintage for basically guiding me throughout the whole modding process.

episoder for the VMT settings required to switch between manual and automatic texture animation.

64GIGS.exe for providing info on creating VMTs for animated textures.

Rimpula™ for demonstrating a possible use in a poster http://steamcommunity.com/sharedfiles/filedetails/?id=486392074

VALVe for making this prop's model and for SFM.

I just edited this thing in Blender, followed instructions, made the static and base VTFs and uploaded it to the workshop.

------------------------------
FAQ and important notes:
------------------------------
Q: The screens! They do nothing! Why?
A: By default, it is in manual mode. Add Override Materials, go to Show in Element Viewer > Model. Go to the + of materials. Use Add Attribute by right-clicking on a Scr material to add float $frame to one of the 15 Scr materials (each is a screen, with 7 being the big one, and numbering starts from top-left), set its value to max number of frames your custom VTF has minus one (or around 30 if you want to test the static it comes with), then use "Create AnimationSet for Element" to acquire the frame control slider. Animate it based on your VTF's video's original speed.

Q: How do I loop textures on these things?
A: Add Override Materials, go to Show in Element Viewer > Model. Add int $manual and it should be on 0 by default. This will allow any texture you assign to that screen to loop endlessly. Note that it will start from a random frame and play all frames in order. This can be useful for looping static (snow/noise) or certain graphics. Its default settings are 30fps, so either your sessions (current one and the one where you've recorded the video for the VTF) should have 30fps or you can edit the VMTs' framerate or just put it on manual mode again (set $manual to 1).
TIP: You can instead choose bool and you will get a checkbox. Unticked = it's on auto. Ticked = it's on manual.

Q: I-is it s-safe?
A: It might crash sometimes when animating textures. Save often and have backups of the sessions whenever you use this thing.

Q: What can I do with this thing?
A: Use it to display (pre-recorded) surveillance camera views on multiple screens or perhaps for a Master Control Room to show various TV stuff in your movies.
Just build your animated VTFs, shove them in the folder of the materials (path is: workshop\materials\models\detonatress\props) for faster access and then add the string $basetexture, copy the material path from mtlName above it and edit the file name at the end of the string with the name of your new VTF.

Q: Do I really have to type $basetexture all the time? Can't I load the textures faster?
A: Yes you can, but on one condition: usermod folder must have highest priority in SFM. By default it has it, unless you've put workshop as highest priority.
Here's what you have to do: create your custom VTFs (SFM accepts VTF only so convert your PNGs and anything else with VTFEdit) in a folder on your desktop, name them scr<number of screen you need it on> and scr7main for the big one, and then go to SFM's usermod/materials/models and create a folder named detonatress, then create a folder named props in that new folder. Throw your newly-created VTFs in that props folder and:
a) If you were running SFM already, with this model already in your scene, go to Console and type mat_reloadallmaterials. Your new VTFs should be loaded after it finishes.
b) If you didn't have SFM running, they should update automatically and your model should already have the new VTFs loaded when you start SFM and pick it from the list.
NOTE: If your textures are too heavy and they crash SFM upon loading the model, downscale them to 360p or 420p.

For those who prefer post-processing: Green Screens that you could use for overriding using usermod: https://copy.com/Cb0tOrzcHFQcjF1k They're already named as the 15 screens and are placed in the right folders, so all you need to do is extract the materials folder in usermod and they should override the workshop ones.

Good luck!

Includes:
detonatress\props\editable_computer_screens.mdl
< >
105 Comments
🍁Ruffian🍁 Jun 30 @ 3:56pm 
This gives me a very good idea for a welcome sign for my profile.
Detonatress  [author] Jun 5 @ 3:51am 
@Master Theria 97 You'd have to apply RT camera to the screen's texture, but note: SFM does not support more than 2 RT cameras and you can only use those RT cameras within the same map. This thing was made for animated textures so that you can simulate signal from more than 2 cameras and show scenes pre-recorded in other maps without the need to use green screens in video editors.
Master Theria 97 Jun 4 @ 3:17pm 
does it work with RT Camera too?
Detonatress  [author] Mar 27 @ 1:25pm 
@
MLP Fire Lily Any video, as long as it has been converted to Animated VTF. The frame rate might be a problem if you don't know the original's frame rate.
MLP Fire Lily Mar 24 @ 8:46pm 
Would i be able to add a custom video that wasnt made in SFM into the model??
Detonatress  [author] Jan 1 @ 3:15pm 
Yeah, the scene hierarchy thing, I forgot what it was called and thought it was grouping.
SemperFi-Mantis Jan 1 @ 8:23am 
@Detonatress found the problem lol.. what you said for the grouping and to click on the gear ontop of anim set editor. grouping isn't in it, so i just clicked the ones in it on and of. the one who showed me the scr7main1 slider is the show scene hierarchy this one has to be off to see it.. yeahhhh
SemperFi-Mantis Jan 1 @ 5:14am 
@Detonatress the only thing i did was the things explained in the tutorial. but i will start over and try again. hopefully i get it. thx mate.
Detonatress  [author] Jan 1 @ 3:34am 
@SemperFi-Mantis, make sure that you did not enable grouping, as this might not show the element you've created. If you did, go to the gear on top of the anim set editor and uncheck that thing.
SemperFi-Mantis Dec 31, 2016 @ 6:43am 
Hi guys, I'm following this tutorial, all goes well till i have to set create animation-set for element, it will not show up in my animation set editor. i'm doing it over and over again and follow the tut step by step even pause it. but when on the point for create animation-set for element i'm stuck. anybody know a solution