Can anyone out there help me please?
I have recently been working on a cutscene using Gestalts system, involving 2 wolves running through a small snowy village.
There might be a person or 2 who remembers me posting about it recently.
Click Here!
Screenshot
Click Here!
That is where my starting area is. I have it marked at bottom of pic.
I have since changed my scripting around a bit by starting with Gestalt.
------------------------------------------------------------------------------------------------------
#include "in_g_cutscene"
void main()
{
// Find actors
object oPC = GetFirstPC();
GestaltStartCutscene(oPC, "smoothcam");
GestaltInvisibility (0.0, oPC, 56.0);
// 270.0,20.0,20.0
GestaltCameraSetup (0.0, oPC, 90.0, 25.0, 50.0);
GestaltCameraSmooth (0.0,
0.0, -4.0, 0.0,
0.0, 00.0, 8.0,
5.0, 20.0, oPC);
GestaltStopCutscene (12.0, oPC);
}
------------------------------------------------------------------------------------------------------------------
But to get my wolves to move, instead I have set them up in a script like this.
--------------------------------------------------------------------------------------------------------------------
#include "in_g_cutscene"
void main()
{
object oPC = GetFirstPC();
GestaltStartCutscene(oPC, "smoothcam");
GestaltCameraSetup (0.0, oPC, 90.0, 25.0, 20.0);
GestaltCameraSmooth (0.0,
0.0, -4.0, 0.0,
0.0, 00.0, 8.0,
5.0, 20.0, oPC);
if (!GetIsPC(oPC)) return;
object oTarget;
oTarget = GetObjectByTag("WinterWolf1");
AssignCommand(oTarget, ActionWait(2.0f));
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WPWinterwolf1")));
AssignCommand(oTarget, ActionWait(2.0f));
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WPWinterwolf1_2")));
AssignCommand(oTarget, ActionWait(2.0f));
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WPWinterwolf1_3")));
oTarget = GetObjectByTag("WinterWolf2");
AssignCommand(oTarget, ActionWait(2.0f));
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WPWinterwolf2")));
AssignCommand(oTarget, ActionWait(2.0f));
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WPWinterwolf2_1")));
AssignCommand(oTarget, ActionWait(2.0f));
AssignCommand(oTarget, ActionMoveToObject(GetObjectByTag("WPWinterwolf2_2")));
oTarget = GetObjectByTag("WinterWolf1");
DelayCommand(39.0, DestroyObject(oTarget, 0.0));
oTarget = GetObjectByTag("WinterWolf2");
DelayCommand(39.0, DestroyObject(oTarget, 0.0));
GestaltStopCutscene (15.0, oPC);
}
-----------------------------------------------------------------------------------------------------------------------
But I still have a problem here.
What I woud like.... is for the camera to move along as though it is following a track so that it follows where my wolves are going and so that you can see them as they run along.
I want the camera to start that action in the same position as the ending zoom point too. (where Gestalt Camera Smooth is used, or is it the setup? I'm not sure now)
But I'm so confused! I have no idea how to set this up, and what numbers to use e.t.c!
So the camera is suposed to follow the wolves as they run from the bottom of the screen, and to the top corner where they turn right and then a few yards later, they go up a small hill, and then a few yards later the wolves stop and disappear to make it look as though they have dissappeared into the trees.
Can someone/anyone out there help me please??
I don't know how to go about this.
How do I make the camera move along a track to follow the wolves as I explained??
Modifié par MissJaded, 21 janvier 2011 - 08:02 .





Retour en haut






