Home   Help Search Login Register  

Author Topic: video  (Read 1347 times)

0 Members and 1 Guest are viewing this topic.

Offline supershooter

  • Members
  • *
  • 2+2=4
video
« on: 22 Aug 2006, 12:09:07 »
hi

Interesting question here. Is there anyway, maybe using CutRsc or something, to dispaly a video at the start of a mission. (I am sure I have seen it done before). Because maybe I was thinking that I could create a 20-30 second video for my intro and then play that video as the intro before the breifing.

Any help appreciated.

Thanks

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: video
« Reply #1 on: 22 Aug 2006, 12:23:25 »
the only way i've ever seen something similar done was in the stargate mod where the wormhole sequence from the movie was taken to bits, frame by frame, and then animated, frame by frame, in the cutscene.

if you consider the human eye needs about 10 frames per second to appreciate smooth movement, for a 20 second video you'd need at least 200 individual frames... a lot of work, but worth it in the end, as anyone who's seen the wormhole effect in the stargate mod will tell you.

some more info.

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: video
« Reply #2 on: 22 Aug 2006, 13:00:05 »
I have also seen a map where the intro wasnt a video, but was a cartoon style cutscene. It had about 10 full screen pictures and a background audio during the 10 images. Depends if you want a cartoon (will save missions space) or a 10FPS animation.

Offline DeanosBeano

  • Addons Depot Staff
  • *****
  • SirDeanosbeano bstowed on me by sui ;)
    • Fraghaus
Re: video
« Reply #3 on: 22 Aug 2006, 22:45:10 »
 turn your video into a gif and create x amount of pics try google if ya havent got a prog. conversion will creates x amount of pics.
 you have to then turn them into jpeg paa tga or whatever and then you must filter out the unessacery frames. then script them into pos using a script. with correct delay between pics.
 i once created a 4 second clip in bas heli dashboard simulating a missile nose camera. took 64 pictures.
 this is an old vid of it.
 it will only play if you select play url in your player, it dosent do direct linkage :).
 
Code: [Select]
http://www.angelfire.com/anime6/deanosbeano/deanosvid2.wmv
« Last Edit: 22 Aug 2006, 23:11:13 by DEANO »
I love ofp

Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Re: video
« Reply #4 on: 25 Aug 2006, 15:23:16 »
When I inserted the video for the intro to the Cruise Missiles (I believe that was the first use of video in an OFP mission  ), I followed this method:

A) Get video clip
B) Run a program that strips the clip to sequential .jpgs
C) set up a Photoshop Batch Process that loads each .jpg, redimensions to OFP dimensions (I think I picked 128x128), and saves (in superlossy jpeg) without the EXIF data (Save For Web) to a sequentially numbered files.

D) have a dialog with a CtrlPicture that covers the entire screen (x=0,y=0,h=1,w=1).
E) Call up the dialog in mission/cutscene
F) Use CtrlSetText and a proper timing loop to roll through the images in sequence.

I think BadAss put more details than this in his tutorial on cutscenes (in German).
Dinger/Cfit