Custom "movie" textures Created 17 years ago2006-06-18 12:18:25 UTC by a a

Created 17 years ago2006-06-18 12:18:25 UTC by a a

Posted 17 years ago2006-06-18 12:18:25 UTC Post #185655
im curious as to if it is possible for me to record something on a digital or web-camera and put it somewhere in my mod as a texture - for instance having a "movie projector" in a level and have, say, a film of my dog chasing his tail - is this possible?
Posted 17 years ago2006-06-18 12:21:54 UTC Post #185657
You'll need a series of textures named:

~+0movie1
~+1movie1
~+2movie1
~+3movie1
~+4movie1
~+5movie1
~+6movie1
~+7movie1
~+8movie1
~+9movie1

Half-Life will automatically play the textures in that order. You cannot change the fps and there is a maximum of 10 individual textures.
The Mad Carrot The Mad CarrotMad Carrot
Posted 17 years ago2006-06-18 13:02:35 UTC Post #185670
would it be possible to create a sprite to do this wherever i place it?

And would i be capable of creating moving switches in this mannor as well?
Posted 17 years ago2006-06-18 13:37:21 UTC Post #185683
A: Yes.
B: Er, what? You want a switch that flicks itself ten times a second? You can use foo and +foo for toggling things, I think. Maybe it's +a... search the forums.
Seventh-Monkey Seventh-MonkeyPretty nifty
Posted 17 years ago2006-06-18 16:51:04 UTC Post #185719
Muzzie's mehtod will be easiest probably. Add a "~+Amovie1" and then you can toggle the video on and off. You can also add "~-0movie1" through "~-9movie1" to have an two sets of frames--one "off" and one "on".

SlayerWraith did a nice example using env_renders...but he's since deleted it. Maybe if you PM him, he'll send it to you.

3DMike did this too on his cs_bikini map, but I'm not exactly sure how he did it. You could drop him an email and ask, or decompile lol.
Posted 17 years ago2006-06-18 17:01:06 UTC Post #185720
Put the animated textures on a func_wall_toggle and trigger it, for a triggerable screen.

Alternatively, use a env_render to switch between Texture and Normal render modes (with render amount 0).
Posted 17 years ago2006-06-18 17:10:43 UTC Post #185721
To change the framerate, you would need to repeat each texture several times.
However, making a "movie" display would mean a lot of texture memory and a lot of Wally work.
Posted 17 years ago2006-06-18 17:41:49 UTC Post #185729
And a lot of mb
You must be logged in to post a response.