Author Topic: Is it possible to have a .bik cutscene in the middle of your module  (Read 328 times)

Legacy_jlgagne

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0


                
Basically I want clicking on a certain item to trigger a cutscene. The cutscene in question is a .bik movie. Right now I'm able to play these movies at the start of modules by putting them under the "starting movie" option in the module's properties; but I really need to have this happen in the middle of the level.

This forum really saved the day the last time I had a question so I'm coming to you again. Is it possible? 
               
               

               
            

Legacy_Rolo Kipp

  • Hero Member
  • *****
  • Posts: 4349
  • Karma: +0/-0
Is it possible to have a .bik cutscene in the middle of your module
« Reply #1 on: April 01, 2012, 01:21:45 am »


               <offering little...>

After a quick scan of the Lexicon, I don't see any functions for playing the movies directly.  
There's a good tutorial on scripting your own cutscenes, but if you want that bik, my only suggestion is to make clicking on that item the end of a chapter, play the movie and start a new chapter (mod) with everything put back.

<...cuz he has little to offer>
               
               

               
            

Legacy_Shemsu-Heru

  • Hero Member
  • *****
  • Posts: 1007
  • Karma: +0/-0
Is it possible to have a .bik cutscene in the middle of your module
« Reply #2 on: April 01, 2012, 03:35:31 am »


               I don't Know too much about scripts; but in the "hordes of the underdark" campaign, the first time what you use the services of the ferryman it's play a cutscene, but it's never take place again no matter how many times you ask to the ferryman. I was very interesting in that because I would like to insert a cutscene of sailing, when players travel by boat in game, instead of appeared immediately in their destination. But as i had said like i don't know to much about scripts and programing i couldn't work more in that way...
               
               

               
            

Legacy_OldTimeRadio

  • Hero Member
  • *****
  • Posts: 2307
  • Karma: +0/-0
Is it possible to have a .bik cutscene in the middle of your module
« Reply #3 on: April 01, 2012, 05:27:02 am »


               

jlgagne wrote...
[color=rgb(170, 170, 170)">Basically I want clicking on a certain item to trigger a cutscene. The cutscene in question is a .bik movie. Right now I'm able to play these movies at the start of modules by putting them under the "starting movie" option in the module's properties] [/color]


I looked into this quite a bit a year or so ago and you're out of luck AFAIK.  NWN's implementation of the Bink video stuff is very basic and it appears to be its own separate thing.  More like part of NWMain.exe wich handles the setup options, finding a server in GameSpy, et al., than part of the 3D engine.  Which is why video is either going to come before the module or after it.

Splitting up your module and attaching the cutscene to the approrpiate segment is the only way I know of and I really don't think there is another way.

That is, of course, all talking about cutscenes in the .bik sense.
               
               

               
            

Legacy_Master Jax

  • Hero Member
  • *****
  • Posts: 618
  • Karma: +0/-0
Is it possible to have a .bik cutscene in the middle of your module
« Reply #4 on: April 01, 2012, 07:27:13 am »


               Precisely. OTR is right. The Bik files are not activated during gameplay by the engine, they are always used out of it. The only thing you may do, as the previously mentioned cutscene from HOTU, is make the cutscene in real-time graphics on the toolset.
               
               

               
            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
Is it possible to have a .bik cutscene in the middle of your module
« Reply #5 on: April 01, 2012, 07:09:58 pm »


               Follow OTR's tutorial on animated textures. One could simulate a Bink-type movie using a flat plane displaying the 'movie', along with camera control to keep the focus straight down onto the plane displaying it. You could even switch out planes for 'longer' movies.

-JFK
               
               

               


                     Modifié par Frith5, 01 avril 2012 - 06:13 .
                     
                  


            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Is it possible to have a .bik cutscene in the middle of your module
« Reply #6 on: April 03, 2012, 05:25:01 pm »


               You could just make a module just for the movie, and then start module(with movie) then just start your original module. You have to save the pc data to a item/DB and reload when you reload the main module so they do not lose there information. Just theory, should go ask about this more in the scripting forum.