News:

One Minute Game Review by The Happy Friar: https://ugetube.com/@OneMinteGameReviews
Also on Rumble: https://rumble.com/c/c-1115371

idTech 4 (aka Doom 3 tech) Discord Server! https://discord.gg/9wtCGHa

Main Menu

Chaingun ROQ Movie

Started by douglas quaid, January 11, 2016, 08:17:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

douglas quaid

Hey guys,

I'm working on another multiplayer map and am trying to set up an in-game gui that showcases the chaingun video. The trouble is, I can't seem to find it in the gui search. Any ideas?

Thanks.
TOTAL RECALL - Singleplayer mod for Doom 3 starring Arnold Schwarzenegger
BLACKOUT - Free indie horror game based on the id Tech 4 engine

motorsep

Quote from: douglas quaid on January 11, 2016, 08:17:09 AM
Hey guys,

I'm working on another multiplayer map and am trying to set up an in-game gui that showcases the chaingun video. The trouble is, I can't seem to find it in the gui search. Any ideas?

Thanks.

You will find in materials/ and material that contains RoQ video is used in the GUI.

aphexjh

Does anyone know of any tools for making roq videos?

The Happy Friar

Q3A tools includes a ROQ encoder: ftp://ftp.idsoftware.com/idstuff/quake3/tools/

as far as I know same was used for D3.

argoon

Quote from: aphexjh on January 11, 2016, 11:11:20 AM
Does anyone know of any tools for making roq videos?

Here http://www.moddb.com/games/overdose/downloads/overdose-tools-set

QuoteODVideo - Another major tool that we get a lot of requests about. ODVideo takes any outputted images in animation form (For example, dumped right from the console with aviDemo) and turns them into a .ROQ video (complete with custom sounds), all in a handy GUI. But wait, that's not all! It has separate frame rate and bit rate settings with a higher resolution, which, simply put, allow for stunning 720p 30fps 20mbit/sec videos.

motorsep

Quote from: argoon on January 11, 2016, 12:22:19 PM
Here http://www.moddb.com/games/overdose/downloads/overdose-tools-set

Downloads empty .zip for me from ModdDb. Managed to download it from Gamefront.  No source code available.

The Happy Friar

The zip from moddb.com worked for me.  Maybe some happened on the download.

MrC

#7
I also got an empty .zip, not sure why.
Was using Chrome. Tried in Edge and it worked... odd.

motorsep


The Happy Friar

Strange that's be on moddb, but maybe a plugin is blocking it (think's it's an issue when it isn't?)

douglas quaid

Thanks motorsep. Well, I've found the material but how would I implement it as I can't find it within the editor.

video/video_chaingun {
translucent {
videomap "sound/VO/video/video_chaingun.roq"
linear
}
}
TOTAL RECALL - Singleplayer mod for Doom 3 starring Arnold Schwarzenegger
BLACKOUT - Free indie horror game based on the id Tech 4 engine

motorsep

Quote from: douglas quaid on January 12, 2016, 09:56:50 AM
Thanks motorsep. Well, I've found the material but how would I implement it as I can't find it within the editor.

video/video_chaingun {
translucent {
videomap "sound/VO/video/video_chaingun.roq"
linear
}
}


What do you mean by "implement it" ? Make material in notepad++ (or whatever text editor you use) and open your  gui file in your text editor and add material name to the gui element.

douglas quaid

I've added this to my new gui file after creating my new material file but in-game only displays a blank screen.

windowDef ChaingunVid
{
rect 0,0,640,480
visible 1
background "video/video_chaingun"
matcolor 1,1,1,1
notime 1

onTime 0 {
resetCinematics ;
}

}
TOTAL RECALL - Singleplayer mod for Doom 3 starring Arnold Schwarzenegger
BLACKOUT - Free indie horror game based on the id Tech 4 engine

motorsep

Sounds like as soon as video starts playing you reset it. Try onTime 1000 instead of onTime 0.

motorsep

#14
So, all those weapon videos are used in fullscreen GUIs (in PDAs).

Check out windowDef VidFrame inside \base\guis\movies\uac_welcome.gui

So I think it should just be:

                windowDef YouVideoGUI
{
rect 0,0,536,290
visible 1
background "video/video_chaingun"
matcolor 1,1,1,1
}


So it just plays in a loop (if it's looped). I think....

I haven't really worked yet with RoQs in GUIs, but if that doesn't work, then it will be a bit tricky. You'd have to make windowDef with animation, onTime 0 to onTime <length of you RoQ> and on that last frame you would have to resetCinematics to make it loop.