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 → Dumb...thing...!#%#%!
Dumb...thing...!#%#%!
2001-12-14, 1:40 PM #1
OK, I've got my cutscene cog all figured out, no errors, the set is fine, cog implemented in the level (is that right?) but when i enter the level/cutscene, it crashes and exits out of JK

What the $$@^@$!! is WRONG!!!

------------------
<Rob> Sometimes I think the support dudes go and play netgames when they are helping you.
A dream is beautiful because it remains a dream.
2001-12-14, 2:21 PM #2
Post the offending cog.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-14, 2:45 PM #3
symbols

thing camera1
thing camera2
thing camera3
thing camera4
thing isd1
thing isd2
thing isd3
thing regcom
thing player local
thing kyle local
sound beep=beep2.wav local
message startup

end

code

startup:

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

jkBeginCutscene();
Sleep(0.0);
SetCameraFocus(0, camera1);
MoveToFrame(isd1, 1, .3);
MoveToFrame(isd2, 1, .3);
MoveToFrame(isd3, 1, .3);
Sleep(5.0);
SetCameraFocus(0, camera2);
Sleep(0.5);
MoveToFrame(camera2, 1, 1.5);
MoveToFrame(camera2, 2, 1.5);
MoveToFrame(camera2, 3, 1.5);
Sleep(0.5);
SetCameraFocus(0, camera3);
PlaySoundLocal(beep, 1, 0, 132);
Print("Comlink: We have reached the planet of Naboo sir!");
Sleep(1.5);
PlaySoundLocal(beep, 1, 0, 132);
Print("Officer: Good, send up the regiment Commander immedietely.");
Sleep(1.5);
SetCameraFocus(0, camera4);
AiSetMoveFrame(regcom, 1);
PlaySoundLocal(beep, 1, 0, 132);
Print("Commando: Reporting sir!");
Sleep(1.0);
SetCameraFocus(0, camera3);
Sleep(0.3);
PlaySoundLocal(beep, 1, 0, 132);
Print("Officer: As you know there is a undersea research center on Naboo.");
Sleep(1.5);
PlaySoundLocal(beep, 1, 0, 132);
Print("Officer: We need your squads to capture the facility, quickly so no transmissions get out!");
Sleep(2.0);
PlaySoundLocal(beep, 1, 0, 132);
Print("Commando: Yes SIR!");
Sleep(2.75);
jkEndCutscene();
jkEndLevel(1);
Return;

end

------------------
<Rob> Sometimes I think the support dudes go and play netgames when they are helping you.
A dream is beautiful because it remains a dream.
2001-12-14, 3:14 PM #4
Ok. A few points:

1) Those 'JKcutscene' verbs only work in MOTS.

2) You dont need to phrase each camera movement. Movetoframe(Thing, Some_frame, Speed) will move an object through all of the frames between its current frame, and the target frame.

3) Youll need to add 'Waitforstop(Camera)' after all of those 'Movething' commands, otherwise the cutscene will be all outofwack.

4) Why do you have a sleep of 0.0?




------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-14, 3:17 PM #5
*grumbles*

see, this is why they should create a tut describing the difference between JK and MotS cutscenes...-_-

But anyway, what should i use to denote the cutscene starting?

------------------
<Rob> Sometimes I think the support dudes go and play netgames when they are helping you.
A dream is beautiful because it remains a dream.
2001-12-14, 3:24 PM #6
You dont need to. Freezing the player on startup and changing the camera is sign enough.
And when the moment is right, I'm gonna fly a kite.
2001-12-14, 3:30 PM #7
ok thanks a bunch...*goes off to test it praying that it will work*

------------------
<Rob> Sometimes I think the support dudes go and play netgames when they are helping you.
A dream is beautiful because it remains a dream.
2001-12-14, 3:40 PM #8
I think my computer really hates me, really (maybe it's because im a beginner cogger?)

*attacks JED with a sledgehammer and cleave tool*

------------------
<Rob> Sometimes I think the support dudes go and play netgames when they are helping you.
A dream is beautiful because it remains a dream.
2001-12-14, 3:43 PM #9
Post your new cog.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-14, 4:01 PM #10
no, i wont bother, it probably had to do with the walkplayer not being in a sector, LOL!!! [http://forums.massassi.net/html/biggrin.gif] stupid me

ok, how to i move a thing (other than the camera) to another frame? I've tried it but the things just sit there... -_-

------------------
<Rob> Sometimes I think the support dudes go and play netgames when they are helping you.
A dream is beautiful because it remains a dream.
2001-12-14, 4:45 PM #11
The things you want to move need the appropriate frames.

------------------
Success is the inverse relationship between effort, gain, and loss.
And when the moment is right, I'm gonna fly a kite.
2001-12-14, 4:56 PM #12
Well i have the frames, but maybe my commands are wrong...:\

MoveToFrame(isd1, 1, 1.0);
MoveToFrame(isd2, 1, 1.0);
MoveToFrame(isd3, 1, 1.0);

would that be correct? or what? I really don't know..

------------------
<Rob> Sometimes I think the support dudes go and play netgames when they are helping you.
A dream is beautiful because it remains a dream.

↑ Up to the top!