Author Topic: Journal and Special Switch Script Question  (Read 616 times)

Legacy_Tythesly

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
Journal and Special Switch Script Question
« on: September 14, 2011, 10:41:18 pm »


               Is there anyway to make a script like this.

A person (or people if more then one person is playing) passes a trigger that adds something to their journal. It is possible to make it so that they cant move or continue until they read what was added?

Also here is another script I cant figure out.

I am making a starting area that the PCs start in. It give them a chance to meet and strategize before they start the adventure. The starting area has a door that leads to the begining of the adventure, however its locked until the PCs are ready. 

Is there a script that unlocks the door when all the PCs are in a small area it will unlock... and if one of them leave the door does not unlock. (Also is there a way for the computer to spawn the number of small areas depending on how many people are playing that module?



If you need any help understanding my request just ask lol... sometimes I confuse myself.
               
               

               
            

Legacy_Squatting Monk

  • Hero Member
  • *****
  • Posts: 776
  • Karma: +0/-0
Journal and Special Switch Script Question
« Reply #1 on: September 14, 2011, 11:10:50 pm »


               AFAIK, there's no way to detect the player opening their journal. However, you could paralyze the player and send them a message saying they need to read the journal. At the end of the journal entry, you could have a password that, when spoken by the PC (as determined by OnPlayerChat or a listener), unfreezes them (or unlocks the door or whatever).
               
               

               
            

Legacy_Tythesly

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
Journal and Special Switch Script Question
« Reply #2 on: September 14, 2011, 11:22:12 pm »


               Ok how would a script like that look?

And do you have any ideas about the door question?
               
               

               


                     Modifié par Tythesly, 14 septembre 2011 - 10:22 .
                     
                  


            

Legacy_SHOVA

  • Hero Member
  • *****
  • Posts: 893
  • Karma: +0/-0
Journal and Special Switch Script Question
« Reply #3 on: September 14, 2011, 11:27:41 pm »


               you could cut scene the player and have the words appear. End the cut scene after a few seconds of the last line of text.
               
               

               
            

Legacy_Tythesly

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
Journal and Special Switch Script Question
« Reply #4 on: September 14, 2011, 11:39:52 pm »


               How do you make cutscenes? I remember seeing it on the old bioware community site but now I cant find any information on it.
               
               

               
            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Journal and Special Switch Script Question
« Reply #5 on: September 14, 2011, 11:50:39 pm »


               You could do make a conversation which will test their knowledge of the journal, hehe very sneaky way to force them to KNOW the journal.. '<img'>

If they fail, they have to take the test over again till they get it correct!

That's a tough question about cutscenes..

Basically you would use a function in a script


To start a cutscene...

SetCutsceneMode(oPC, TRUE, FALSE);

You can fade thier monitor to black (conversation still shows up)

FadeToBlack(oPC, FADE_SPEED_FAST);

Just remember you have to use functions to turn those things off in another script...

like

FadeFromBlack(oPC, FADE_SPEED_FAST);
SetCutsceneMode(oPC, FALSE, TRUE);

Each script will need to define who/what object oPC is.

in a tracks trigger's OnEnter Event...

object oPC = GetEnteringObject();

From a conversation...

object oPC = GetPCSpeaker();

of course oPC will need to be at the very top of the script and...

You don't want the cutscene to begin for everyone...  (Like NPCs or Henchment or DMs)

therefore you would want to use..

if(!GetIsPC(oPC))
{ return;}

That stops the script if it's NOT a PC ....
               
               

               


                     Modifié par _Guile, 14 septembre 2011 - 10:58 .
                     
                  


            

Legacy_Tythesly

  • Newbie
  • *
  • Posts: 36
  • Karma: +0/-0
Journal and Special Switch Script Question
« Reply #6 on: September 14, 2011, 11:59:55 pm »


               But how do I make a cutscene?.... is it possible to make a cutscene movie because that would be amazing (but dont know what to use to make a movie lol).


Also how do I make my own starting movie?
               
               

               


                     Modifié par Tythesly, 14 septembre 2011 - 11:01 .
                     
                  


            

Legacy__Guile

  • Hero Member
  • *****
  • Posts: 1308
  • Karma: +0/-0
Journal and Special Switch Script Question
« Reply #7 on: September 15, 2011, 12:33:13 am »


               Movie & Cutscene are two different things entirely...

Cutscenes are simple, movies are actually stoping the game to play a movie...

There is a tutorial somewhere on how to make movies, though I've never read it...

Creating a Starting or End Movie

I have never done movies, so I cannot answer your question there, sorry..

Personally I use FRAPS to make the In Game Videos, this automatically makes AVI Files and you can convert those to .bic files with RAD Tools...  Unfortunately the length of video is limited to 60 seconds.
               
               

               


                     Modifié par _Guile, 15 septembre 2011 - 12:15 .