News:

Come Chat with us live! Learn how HERE!

Main Menu

Looping video / flash files. And how to add keys?

Started by Henzo, May 14, 2011, 02:20:35 PM

Henzo

Ok, I'm planning for new map, and I want to know (don't tell google, I allrdy tried) how you can add looping video (.wmv or .swf or .avi + .wav) file in the map. How to import it, how to do scripts for it, and how to get it loopin'?
I can say, that will be secret nobuild room, where is that secret.  ;)


And btw, how I add keys to entities?
Quote from: F50 on May 23, 2011, 09:26:55 PM
I'm pretty sure that is only happening to you.
^^Yeah.
Quote from: CreatureofHell on April 22, 2011, 12:19:23 PMI need Tremulous when there are games like Portal 2.

A Spork

You cant.
closest you can get is making a shader that flips between every frame as a still image every x seconds, then having a speaker.
Don't shoot friend :basilisk:! Friend :basilisk: only wants to give you hugz and to be your hat

Proud Member of the S.O.B.F.O.B.S.A.D: The Society Of Basilisks For Other Basilisks Safety and Dominance
:basilisk:    :basilisk:    :basilisk:

UniqPhoeniX

I think Trem can handle .roq video files, http://q3map2.everyonelookbusy.net/shader_manual/ch6.htm#map Ctrl+F 'videomap'.
If you don't know how to add keys to entities, then read some guides.

Ingar

If it is like more an 'animated gif' than a video (only 8 frames and low fps) than you can use an animated shader.

Henzo

#4
Quote from: Ingar on May 15, 2011, 12:56:55 PM
If it is like more an 'animated gif' than a video (only 8 frames and low fps) than you can use an animated shader.

Ok, I didn't understand a shit from that webpage (I'm not good coder). Btw, I got the key adding thing...
^^What I did understand, that is .shader file in .pk3 file. So, can someone try to explain me how i do it, or is there any good tutorial for noobs?
And, how to add it into map?

And I think I want to make it with trigger, like someone walks near it, and it starts to play... I gonna learn that myself, maybe looking example from Paint10 (or was it 9?)
Quote from: F50 on May 23, 2011, 09:26:55 PM
I'm pretty sure that is only happening to you.
^^Yeah.
Quote from: CreatureofHell on April 22, 2011, 12:19:23 PMI need Tremulous when there are games like Portal 2.