Aller au contenu

Photo

Scripting for an Intro Cut Scene


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
jstolte19

jstolte19
  • Members
  • 2 messages
Hello all! I am starting to teach myself how to use the DA Toolset to create machinima, which has gone well, but I'm stuck at the export process.

Using the demo's intro video that comes with the toolset (demo100ct_intro), I've used Sunjammer's Cutscene Companion to export the TGA files, and then compiled them in Virtual Dub, which all worked great. However, I'm not sure how to make my own module work as far as scripting goes.

So, this is what I thihnk I need to know how to do, and feel free to let me know if I'm way off base:   What scripts do I have to write in order to make my cut scene the first thing that plays in my module? I don't need it to be playable at all, just for the first thing to happen to be my cut scene, so I can use Sunjammer's tool to compile it.  I've seen this wiki on the actual function that will make the cutscene play as an intro video, but I don't know where to put that function (in which script)? I also don't know what, if any other functions/scripts I need to change or create in order to make the module work once I export it?

Any help would be greatly appreciated! Thanks!

#2
Yara C.

Yara C.
  • Members
  • 240 messages
Hi, you can e.g. run a cutscene from a trigger you have placed in the area. (Set the starting area in the modules' properties to the cutscene´s area.) You can find a script for the placed trigger in the wiki.

FYI :
Youtube: Cutscene and trigger 
Dragon Age Toolset Cutscene Creators Guild: Scripts for CutScenes
Cutscene Editor Tips and Usage: How to preview your cutscene

Modifié par Yara Cousland, 08 février 2012 - 06:12 .


#3
DahliaLynn

DahliaLynn
  • Members
  • 1 387 messages
I believe the runcutscene script should be within the script associated with your module's designated starting area (within module properties). When you open the area itself within the toolset, you have the option to associate it with a script within the object inspector. The case EVENT_TYPE_AREALOAD_SPECIAL runcutscene command should be written within that script, if you want the scene to load automatically upon starting the module. 

Edit: That script is right there in that wiki you linked. Since I'm not sure on the exact placement within the script, perhaps someone with more knowledge in scripting can help you. But it needs to be written as stated above. 

Edit#2 If you don't need it to be playable at all, why do you want it to load upon module startup? There is no need for that, since there are many ways to have your the game engine play the cutscene as Yara mentioned above. 

Modifié par DahliaLynn, 08 février 2012 - 06:41 .