Author Topic: Playing Cutscenes  (Read 2927 times)

0 Members and 1 Guest are viewing this topic.

Offline LoneKnight

  • 27
  • One does not simply ALT-J into Mordor.
I'm trying to figure out how to play cutscenes at the end of a mission. I examined the mission file for Clash of the Titans II and the mission ends with a Red Alert, but I can't locate where and when the Player is supposed to designate the cutscene file.
Burning Heaven

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
you mean a video that's supposed to play after the mission ends? (note: cutscene is not the same than intel-animation)

If you want a video inside the mission itself you need to script with sexps the cutscene.
If you want an intel-anim to play after the mission you should check the campaign file or something like that IIRC.
el hombre vicio...

 

Offline LoneKnight

  • 27
  • One does not simply ALT-J into Mordor.
Sorry, I meant one of the pre-rendered videos, such as Hallfight, Supernova, etc, not the in-game FRED camera controlled cutscenes or Command Briefing anims.
Burning Heaven

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
I think you should be eyeing the campaign file, not mission files.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline niffiwan

  • 211
  • Eluder Class
For Clash of the Titans II, the cutscene is played before the briefing of the next mission, Apocalpse.  i.e. it's defined as "before the next mission", not "after the last mission". 

As for how the cutscenes are played after Apocalpse - it's hardcoded into the exec, and just all round ugly :D

Mjn.mixael mentioned in this post that it was possible to play a cutscene after a mission finished, maybe he can help out?
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Here is the relevant post. I've tested it and it indeed works. But there is not FRED interface, so you have to add it manually.

It should also be noted that according to the code "$Campaign End Cutscene:" is also a valid type (and works because I've tested it). IIRC, it is called when the end-campaign sexp is called. (same one that ends the FS2 campaign). However, I have also noticed that that sexp doesn't actually end the campaign.. so take your pick.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
I really should get around to writing the GUI for that feature. :p
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
I really should get around to writing the GUI for that feature. :p

I would love you forever for that...
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
The main issue is getting the SEXP code up and running. Everything else is a piece of cake compared to that. I will get it done eventually as topics like this are kind of upsetting for me. The feature's been in for over a year but surprisingly few people remember it exists.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
I only discovered it because of some commit log by Goober stating that "campaign end" type was added. I was like  :wtf: is that? So I looked into it and discovered this handy little feature.. especially handy for a cutscene savvy person like myself!
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline LoneKnight

  • 27
  • One does not simply ALT-J into Mordor.
Okay, so I read through karajorma's thread on implementing this. It's seems straightforward enough.

Code: [Select]
$AI Profile: BURNING HEAVEN

#Cutscenes
$Command Brief Cutscene: intro.ogg
+formula: ( true )
$Briefing Cutscene: endpart1.ogg
+formula: ( true )
$Debriefing Cutscene: bastion.ogg
+formula: ( false )
#end

#Command Briefing

Unfortunately, it doesn't play the files. It doesn't toss up any errors, so I'm thinking that maybe the actual movie files themselves are wrong?

My installed version of FS2 is from CD, and I have 3612, if that makes any difference.

EDIT: Checked the Debug log and the only issue that came up was:

Movie Error:  Unable to open 'intro' movie in any supported format.

EDIT AGAIN: Popped the CD in and it worked like a charm. It just couldn't find the files, which were on the CD. It proves that this works!
« Last Edit: September 02, 2011, 01:45:00 pm by LoneKnight »
Burning Heaven

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
 :wtf:

You still run FSO with the CDs? Dude, head over to fsmods.net and download the cutscenes in OGG and then place your cds safely in the shelf. You shouldn't really need them.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline LoneKnight

  • 27
  • One does not simply ALT-J into Mordor.
Gotta keep it old school. I still have original FS1, FS1 Demo, Silent Threat, and FS2 CDs. :D

Where do the movies go after they are downloaded?
« Last Edit: September 02, 2011, 03:06:54 pm by LoneKnight »
Burning Heaven

 

Offline niffiwan

  • 211
  • Eluder Class
Individual OGG files go into data/movies while the OGG .vp is put into the FS2 base directory.
Creating a fs2_open.log | Red Alert Bug = Hex Edit | MediaVPs 2014: Bigger HUD gauges | 32bit libs for 64bit Ubuntu
----
Debian Packages (testing/unstable): Freespace2 | wxLauncher
----
m|m: I think I'm suffering from Stockholm syndrome. Bmpman is starting to make sense and it's actually written reasonably well...

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Heh, I'm down with having the discs.. I have them too... but you shouldn't need them to run the cutscenes with FSO.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

  

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
He doesn't need to download the movies you know! Unless he wants the newer updated ones he can just pull them straight off the CDs.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]