lfnetwork.com mark read register faq members calendar

Thread: Playing a movie via script
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 11-10-2004, 05:31 PM   #1
Doc Valentine
Ha-Ha Kotor Modding
 
Doc Valentine's Avatar
 
Join Date: Sep 2003
Location: In the eye of the beholder.
Posts: 1,133
Veteran Modder Helpful! 
What script can I use to start a movie (cutscene)?


Original thread


I don't need you no more in this world. I'll meet you in the next one, and don't be late.

Last edited by tk102; 01-23-2005 at 04:00 PM.
Doc Valentine is offline   you may: quote & reply,
Old 12-17-2004, 02:45 PM   #2
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,295
You can use either the StartNewModule function (if you want an inter-module movie, or the PlayMovie/QueueMovie functions (for intra-module movies)

To play movies during a transition between two modules:

Code:
void main()
{
// Send you to the caves on Dantoine after
// playing a video showing the Leviathan
// the movie's name is "05r"
StartNewModule("danm14ae","", "05r");
}
To simply play a movie inside your current module, use:
Code:
// usage: PlayMovie( string sMovie );
// example:
PlayMovie("05r");
You can also use the Queue movie script:
Code:
//replace FALSE by TRUE if you want it to be skipable when hitting esc.
// usage: QueueMovie( string sMovie, FALSE);
//example:
QueueMovie("05r",FALSE);
QueueMovie("06r",FALSE);
PlayMovieQueue();
QueueMovie is best to use when playing several movie clips in sequence since it prevents breaks (and often screen resolution changes) between each clip.

Be sure to put any new movie file in the Movies folder

Last edited by tk102; 01-23-2005 at 04:07 PM.
Darth333 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Tutorials: Scripting > Playing a movie via script

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:08 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.