Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → Cutscene help...
Cutscene help...
2001-03-23, 6:19 PM #1
I'm trying to create a cutscene. Initially, the actor john moves to Frame 1. I added some things to it, and he stopped moving to Frame 1. So I removed those things, but that did nothing. Here's the COG. Any ideas?

Code:
symbols

thing        camera1                                                          
thing        camera2                                                          
thing        camera3                                                          
thing        camera4                                                          
thing        john                                                             
thing        brian                                                            
thing        warbot                                                           
thing        player                             local                         
thing        kyle                               local                         
sound        beep=beep2.wav                     local                         

flex         delay                                                            
flex         delay2                                                           

message      startup                                                          

end                                                                           

code

startup:

                Player = GetLocalPlayerThing();

                // freeze Kyle
                SetActorFlags(Player, 0xa00000);
                StopThing(Player);

  jkBeginCutscene();
  Sleep(delay2);
  SetCameraFocus(0, camera1);
  AiSetMoveFrame(john, 1);
  Sleep(3.0);
  MoveToFrame(camera1, 1, 1.5);
  MoveToFrame(camera1, 2, 1.5);
  Sleep(1.5);
  AiSetLookFrame(john, 2); 
  Sleep(1.5);
  AiSetLookFrame(john, 1); 
  Sleep(1.5);
  AiSetLookFrame(john, 3); 
  AiSetMoveFrame(john, 3);
  Sleep(2.5);
  AiSetLookFrame(john, 2); 
  SetCameraFocus(0, camera2);
  Print("Where the hell is my contact?");
  Sleep(1.5);
  AiSetMoveFrame(brian, 1);
  AiSetMoveFrame(warbot, 1);
  Print("Mr. Yakowsky?");
  Sleep(1.0);
  SetCameraFocus(0, camera3);
  AISetLookPos(john, GetThingPos(brian));  
  SetCameraFocus(0, camera4);
  MoveToFrame(camera4, 1, 2);
  Sleep(1.5);
  SetCameraFocus(0, camera2);
  Print("Y-Yes.  Who are you?");
  Sleep(1.5);
  SetCameraFocus(0, camera4);
  AiSetMoveFrame(brian, 2);
  AiSetMoveFrame(warbot, 2);
  Sleep(1.0);
  Print("You know very well who I am, Mr. Yakowsky.  But let's stick to our code names, shall we?");    
  Sleep(3.0);
  Print("Now, according to our deal, you have a datapad for me.  Hand it over.");
  Sleep(4.5);
  SetCameraFocus(0, camera2);
  Print("I had no idea...I mean, I'm not sure about this anymore.");
  Sleep(3.5);
  SetCameraFocus(0, camera4);
  Print("I had hoped to avoid this...but...");
  Sleep(2.25);
  AISetMoveThing(warbot, john);
  AISetLookPos(warbot, GetThingPos(john));
  Sleep(2.5);
  Print("I'm sorry it came to this, Mr. Yakowsky.");
  Sleep(1.25);
  Print("Grab the datapad.  Let's go before the police arrive.");
  Sleep(2.75);
  jkEndCutscene();
  jkEndLevel(1);
Return;

end



------------------
THE URL!
Creator of The Fall of JuzSoft, AlieNations, and other high-quality productions!
the idiot is the person who follows the idiot and your not following me your insulting me your following the path of a idiot so that makes you the idiot - LC Tusken
2001-03-24, 12:30 PM #2
Try adding this.
[edit]Why did I put player...I'm such a retard...[/edit]
Code:
AiSetMoveSpeed(john, 1);


If that doesn't work, you might want to use Vector positions indstead of frames.

Code:
AiSetMovePos(john, GetThingPos(ghostpos1));


That ought to work.

[This message has been edited by ApoK_DragonPhinn (edited March 24, 2001).]

↑ Up to the top!