http://img8.imageshack.us/img8/5273/gmconstruct0110m.jpg
I’m working on a Movie Projector SENT. I starting it quite some time ago and decided to begin work on it again. It’s still got quite a ways to go so I figured I could use some help.
Questions/Answers:
Q: What does it do?
A: This SENT will feature a few different modes.
[ul]
[li]Still Frame:[/li]Projects a single image onto a wall.
[li]Slide Show:[/li]A set of images that are switched between by the player who spawned the SENT. These could either be a bunch of different materials, or one animated material.
[li]Web:[/li]This mode can be used to show what you’re doing on the web. Primary use would be to display a Youtube page.
[li]Animation:[/li]Shows an animated material while it plays a corresponding sound file.
[/ul]
Basically it projects stuff onto walls while it plays a corresponding sound clip. I am adding youtube capabilities as well.
Q: How does it work?
A: This SENT utilizes the Material library, which means in animation mode it can control what frame is shown whenever it needs to. It makes a new instance of the material for each SENT, which means you can have more than one of these in your map playing the same clips at different intervals in time!
Q: Can I place these in my map?
A: Yes, and I plan to make an FGD for it in case you want to manipulate it within a role play map or something.
Q: So what do you need help with?
A: Right now I need help with a few things. Below is my list of bugs/problems.
[ul]
[li]I am trying to make this work with Valve’s env_projectedtexture entity. This will allow me to project this stuff onto walls while bending like real light![/li]I intend to rout it through an RT texture and then use that as the texture projected onto the wall. That way I can make a realistic projection of just about anything!
Since it currently uses DrawQuadEasy to put stuff on walls, it always stays in a perfect square, and is restricted to one axis. This means it could be showing in places I don’t want it to show.
If I can get env_projectedtexture to work with this, any images (including youtube videos) could bend like real light around multiple axes, and wouldn’t leave the area I want them in. Unfortunately, my RT code is not working, and even the default RT texture (“pp/rt”) crashes my game when I use it on DrawQuadEasy. Furthermore, it shows up as the pink/black checkered texture when put through env_projectedtexture. This could very well be due to not setting up RT code correctly. Still, env_projectedtexture seems very limited. Perhaps a binary module could change that?
If anyone wants to work with me on that, I would very much appreciate it.
[/ul]
I plan on adding a control menu for this to play, pause, fast forward, and rewind the clips. For further customization, I plan to make a txt file that acts as a playlist of sorts. It would include the materials along with their corresponding sounds so that the user could simply select a clip name from a list and it would automatically throw it together for your viewing pleasure.
Help would be appreciated. Suggestions would be nice too.
Also, if anyone wants to submit their own animated texture/material along with a sound clip, I would be happy to include it in the release. All I have is an example texture which is just a bunch of my old avatars put together into an animation.