Jump to content

How do you make a basic cutscene for talking


Guest Jayson126@yahoo.com

Recommended Posts

Guest Jayson126@yahoo.com

Could someone write me a basic script for a basic IWD Cutscene with two people talking between each other and then the character?

Link to comment

I would guess (just guess, mind you) that the IWD and BGII cutscenes use similar scripts. If you've got BGII you could rip open one of the cutscenes from that and have a look-see at how they're made. Just a suggestion, 'cos at the moment, I couldn't script a statue. :)

Link to comment

It's easy, BigRob:

// Statue-code

IF
  StateChecK(Myself,STATUE)
THEN RESPONSE #100
  Stare()
  Wait(29384723984723984723942)
  LandPigeons(5)
  GetPoopedOn(True)
END

 

And Jayson, check out the IESDP for IWD actions you might need:

http://www.gibberlings3.net/iesdp/scripting/totlactions.htm

 

Look at entry 120, which is StartCutScene(S:CutScene*). There's an example in the text, but generally, you want to have the following code when it's time for your cutscene to appear:

 

ClearAllActions()
StartCutSceneMode() // gets rid of GUI
StartCutScene("Name_of_cutscene_script")

 

 

Then in your cutscene script, you'd have

IF
  True()
THEN RESPONSE #100
  CutSceneID(Player1)     // this means Player1 controls this action block
  DisplayStringHead(Myself,StringRef) // displays the StringRef over 
                                     // someone's head. 
                                     //If you're using WeiDU, this 
                                     //StringRef can be a .tra entry.
                                     // ie DisplayStringHead(Myself,@53)
  Wait(3)   // or however long you think
            // it'll take for the string to be read
  DisplayStringHead(Player2,@54)
  Wait(3)
// etc
  EndCutSceneMode()   // Restores the GUI 
END

Link to comment
It's easy, BigRob:

// Statue-code

IF
  StateChecK(Myself,STATUE)
THEN RESPONSE #100
  Stare()
  Wait(29384723984723984723942)
  LandPigeons(5)
  GetPoopedOn(True)
END

:) Thanks Cliffette, I really needed that script!

Link to comment
It's easy, BigRob:

// Statue-code

IF
  StateChecK(Myself,STATUE)
THEN RESPONSE #100
  Stare()
  Wait(29384723984723984723942)
  LandPigeons(5)
  GetPoopedOn(True)
END

:( A, too bad that this joke will be lost on so many people :p

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...