Destroyable camera...
Post Reply
Quote
Re: Destroyable camera...
Posted by Paladin[NL] on Wed Jan 26th at 7:54pm 2005


I want to make a camera (making a camera I can do) but I want it to be destroyable and then the screen which projects the camera's view should turn blurry/should project snow/ or something else...

A) is this do-able

B) how, invisble func_breakable or such?

Plz help





Quote
Re: Destroyable camera...
Posted by Degenatron on Wed Jan 26th at 8:39pm 2005


Definately sounds do-able.

I'd say, put an invisible trigger around the camera. Make it shootable. When shot, make it tigger a little explosion around the camera, and swap the model of the camera with a broken one. That will achieve the effect on the camera-end.

At the monitor-end, have the shootable trigger switch the camera (like you can do manually in-game) to a different camera location which is looking at an animated static background.

That's the general gist of it. I'm sure someone can give the exact details of how to set your triggers and make that static effect.





Quote
Re: Destroyable camera...
Posted by DrGlass on Wed Jan 26th at 8:45pm 2005


There are two ways I would think. Make a second camera in a room outside of the map and point it at a brush with some kind of static texture on it. Then once the real camera is broken switch to the static cam. It may be hard to find a good static texture so you may want to stick with some kind of solid color or picture.

The other way would be to make a func_wall_toggle and have a static texture in the screen that your TV plays on. Once problem is that you would have to do this to all TV sets.

As for breaking the camera, I'd just make a func_breakable and tie its output onbreak to turn off the 'rea' camera and turn on the static camera. You could even make this a toggle, like if you shut off the power to the cameras.
[addsig]




Quote
Re: Destroyable camera...
Posted by Rof on Wed Jan 26th at 10:08pm 2005


Some of the camera effects in the single player game, BTW, are done by making the camera look through a partially-transparent animated texture. You know, for adding noise or fuzz or occasional picture glitches.

Some of the other effects (including one that looks quite a bit like random static) are done using different material-proxies in the camera render target texture's .vmt file. I've not messed much with them, but they might be a good way to get static without having to animate the texture yourself.
[addsig]




Quote
Re: Destroyable camera...
Posted by Ragnarocker on Thu Jan 27th at 3:40am 2005


I have a very easy idea depending on where the camera is. Why not just make an indestructable glass window infront of it? That way when it gets damaged it'll look just like the lense got smashed up. Ofcourse this is all depends on where it is since some places it wouldn't look right.




Quote
Re: Destroyable camera...
Posted by DrGlass on Thu Jan 27th at 5:30am 2005


? quote:
I have a very easy idea depending on where the camera is. Why not just make an indestructable glass window infront of it? That way when it gets damaged it'll look just like the lense got smashed up. Ofcourse this is all depends on where it is since some places it wouldn't look right.


Do bullet holes show on both sides of glass?
[addsig]





Post Reply