Results 1 to 10 of 16

Thread: .roq videos as textures

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    You can play .roq files, like the CoD2 intro sequence when you first start the game, but only fullscreen.

    You can use atlas-textures to play 'videos' or more gifs.
    However you have to export every frame of the video into such an atlas texture.
    I've done it with something like 144p resolution or even smaller, as these textures grow really big really fast.

    It its possible - yes, but not really practical.
    Last edited by serthy; 26th July 2020 at 06:46. Reason: Its atlas-texture, not alias...

  2. The Following 2 Users Say Thank You to serthy For This Useful Post:

    kung foo man (27th July 2020),pollo (26th July 2020)

  3. #2
    Private pollo's Avatar
    Join Date
    Jul 2012
    Location
    Spain
    Posts
    116
    Thanks
    93
    Thanked 69 Times in 35 Posts
    Quote Originally Posted by serthy View Post
    You can play .roq files, like the CoD2 intro sequence when you first start the game, but only fullscreen.

    You can use alias-textures to play 'videos' or more gifs.
    However you have to export every frame of the video into such an aliax texture.
    I've done it with something like 144p resolution or even smaller, as these textures grow really big really fast.

    It its possible - yes, but not really practical.
    Yeah, I know it is possible to play a full-screen .roq video and back in time I used a similar technique of playing gifs, exporting every frame and playing with hide() show() in script (maybe you mean the same with the aliax? ).

    The idea is to play a .roq looping on a surface, eg. make a case texture similar to the water one, and somehow with asset manager, link it with the shader above that plays the .roq video in-game. Because as you rightly say using a lot of images is unpractical and makes the map fat.

    Thanks for the reply

  4. #3
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    Quote Originally Posted by serthy View Post
    You can use atlas-textures to play 'videos' or more gifs.
    However you have to export every frame of the video into such an atlas texture.
    I've done it with something like 144p resolution or even smaller, as these textures grow really big really fast.

    It its possible - yes, but not really practical.
    Any quick n dirty "howto" on these atlas textures?
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  5. #4
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by IzNoGoD View Post
    Any quick n dirty "howto" on these atlas textures?
    Sorry, my first reply was misleading.
    I have done it using an effect and placing this in the world, not a rela texture.

    I've played with CoD2 shaders several years ago, the only thing I managed to get to work was changing the speed of the scroll-texture on xmodels, as far as I can remember. Not even the yellow-pulsating glow on objective-textures changed colors. I gave shaders a couple of hours/days to try to modify them and getting the CoD engine to accept them, but I did not 'understand' them well.

    CoD4 got those TV's that display a short video, I remember recreating these without much success.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •