Can we play an avi?
Moderator: Moderators
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
Can we play an avi?
Or any kind of movie besides a texture on a wall written as a movie in the shader?
Thanks
Thanks
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
How big is the file you wanna play? Ive seen in other games based on a similar engine small animations which used over 100 different frames, but im sad to say they used the animap function in shaders to get it done. If its not too large you may wanna consider this idea.
If you have something that can break down animations frame by frame and convert them to tga's it most likely will number them in sequence for you. After that just do alot of copy paste or something to create the shader. Time consuming i know but if it is vital i dont know of any other way.
Hope this helps.
If you have something that can break down animations frame by frame and convert them to tga's it most likely will number them in sequence for you. After that just do alot of copy paste or something to create the shader. Time consuming i know but if it is vital i dont know of any other way.
Hope this helps.
Moderator


-
omniscient
- Major General
- Posts: 694
- Joined: Tue Sep 16, 2003 12:02 am
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
That was my first idea to make a little movie with the camera facing a brush that was textured in a movie kinda texture.Balr14 wrote:I believe you can reference an avi or roq in a script, but I have no idea if it would work, or exactly how it would manifest itself. You can play a pretty long set of frames using shader animation.
But an avi or this roq thing sounds better so I thought I would ask about it first. Is there a way to test this, would someoen give it a try. To play one in a mp game. You wouldnt have to make one cos they are already in the game. I just have no idea how to script it in, I wouldnt know where to start.
Thanks
here is the link to the roq maker http://www.swift-tools.net/Quake/QVM/
In briefing 1 of spearhead they had this to play a roq
main:
level waittill prespawn
drawhud 0
level waittill spawn
thread briefingskip
thread freezeplayer
playmovie credits.roq
thread endbriefing
end
In briefing 1 of spearhead they had this to play a roq
main:
level waittill prespawn
drawhud 0
level waittill spawn
thread briefingskip
thread freezeplayer
playmovie credits.roq
thread endbriefing
end
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:
- small_sumo
- Lieutenant General
- Posts: 953
- Joined: Mon Jul 01, 2002 4:17 pm
- Contact:


