Hard Light Productions Forums

Modding, Mission Design, and Coding => The Scripting Workshop => Topic started by: origin on August 02, 2009, 10:10:19 pm

Title: script to activate a cutscene or movie
Post by: origin on August 02, 2009, 10:10:19 pm
Is there a way to write a script to show a movie if an area of the mainhall is clicked, (not the ani that is shown during the mouse over).  I have a new mainhall scene and would like to add this feature but I suck at scripting and need some help.

thanks
Title: Re: script to activate a cutscene or movie
Post by: The E on August 03, 2009, 06:25:52 am
AFAICT, there is no function currently in the scripting API that would allow that. It's probably possible to implement it, but that takes a bit of coding.
Title: Re: script to activate a cutscene or movie
Post by: origin on August 03, 2009, 07:11:03 am
Well crap! (spins out of control and hits the wall)
Title: Re: script to activate a cutscene or movie
Post by: The E on August 03, 2009, 07:44:03 am
What effect do you wish to achieve? There may be a workaround...
Title: Re: script to activate a cutscene or movie
Post by: origin on August 03, 2009, 09:40:26 am
First, thanks for your help.
 
The 20,000 ft overview is essentially that there is a video describing the mission you should fly, instead of a briefing screen.

The thought was that this would be lauched from the mainhall.  The overall affect was to make the enviroment a little more immersive.
Title: Re: script to activate a cutscene or movie
Post by: The E on August 03, 2009, 09:45:05 am
According to karajorma, it is possible to do just that (play a movie before a briefing) in 3.6.11. You'd have to ask him how that works, though.

You'd probably still need a briefing, though, since using the "No Briefing" flag in FRED will not only skip the Briefing, but the ship/weapon select screen as well.
Title: Re: script to activate a cutscene or movie
Post by: origin on August 03, 2009, 12:08:19 pm
Thank you.  Actually that is exactly what I want.  I guess I am a control freak or something because I don't want the player to access the weapons load out either.

Things are looking up.  Go 3.6.11!!