PDA

View Full Version : take your time on this one, you deserve it after the last.



[SF]pjb
04-30-2003, 04:06 PM
ok, what is it with me and cut-seens?


//next part, "time to die"
SetCameraFocus(0, Camerafour);
Kyle2 = CreateThing(gunless, dirghost3);
StopThing(Kyle2);
AISetMoveThing(Kyle2, dirghost4);
sleep(2);
evil = CreateThing(djtmp, dirghost3);
StopThing(evil);
PlaySoundLocal(cut2s6,1, 0.0,0x4);
print("mabey he remembers, I must kill him!");
Sleep(GetSoundLen(cut2s6));
AISetMoveThing(Evil, dirghost4);
sleep(1);
AISetMoveThing(Kyle2, dirghost5);
sleep(0.6);
PlaySoundLocal(cut2s7,1, 0.0,0x4);
print("AAAAAaaaaaaaaaaaaaa........!!!!!!");
Sleep(GetSoundLen(cut2s7));
wizz = CreateThing(gee, dirghost3);
AISetMoveThing(wizz, dirghost4);
sleep(1);
PlaySoundLocal(cut2s8,1, 0.0,0x4);
print("We have to go and help him!");
Sleep(GetSoundLen(cut2s8));
PlaySoundLocal(cut2s9,1, 0.0,0x4);
print("No-one could servive that fall, leave him.");
Sleep(GetSoundLen(cut2s9));
//next part, lets what a misstress.

kyle2 wont move to any of the dirghosts, he just sits there. i think its in teh creation, i have assighen kyle2 in the symbols as local, the templates there, and works for a other kyle in the same cutseen, (i cant wait to see kyle drop to his presumed "death", why do i get the feeling something simmilar has happened before?)


------------------
I am pjb.
Another post......
another moment of my life wasted.....

DogSRoOL
04-30-2003, 09:17 PM
Instead of DirGhostx, try GetThingPos(DirGhostx). Sometimes a vector works when the thing itself won't. There's probably a rule to it, but I have no idea what it is.

------------------
May the forks be with you.
There is a great disturbance in my shorts...
Thank you for reading this post. You owe me $24.95 + S&H.

[SF]pjb
05-01-2003, 08:28 AM
i will try that, as with me things dont tend to work, any other ideas?

------------------
I am pjb.
Another post......
another moment of my life wasted.....

[SF]pjb
05-01-2003, 01:49 PM
nothing, it dident work! GBK HEEELLPP!!!! :S

------------------
I am pjb.
Another post......
another moment of my life wasted.....

DogSRoOL
05-01-2003, 05:57 PM
Hmm...
Maybe you should try giving them a move speed!!!

AiSetMoveSpeed(Thing, flex);

------------------
May the forks be with you.
There is a great disturbance in my shorts...
Thank you for reading this post. You owe me $24.95 + S&H.

[SF]pjb
05-02-2003, 04:40 AM
my freind i belive you may be right! soon kyle will be dieing.

Note: i am calling him kyle, but thats as i havent got a name for him yet, not that it matters as he has ammnisha and he dosent rember his name!

------------------
I am pjb.
Another post......
another moment of my life wasted.....

[SF]pjb
05-02-2003, 05:21 AM
AWW!!!! its still not working!!

GBK, SaberMaster, Edward, A Giant sheep on a hill praying to budda! HELP!! i have to get this cut-screen cog done so i can start on LvL3!!

------------------
I am pjb.
Another post......
another moment of my life wasted.....

[SF]pjb
05-02-2003, 05:23 AM
ok here is the entire cog!


# Cutscen Level master COG
# Generated by PJB (pokejoyboy@aol.com, pjb@pjb.i8.com)
# credit to Antony Espindola for making the tutor that
# helped me make this cog.

Symbols
Message startup
Thing Cameraone
Thing Cameratwo
Thing Camerathree
Thing Camerafour
Thing player local
Thing Kyle local
Thing Kyle2 local
Thing geewizz
Thing dirghost1
Thing geeghost1
Thing dirghost2
Thing geeghost2
Thing dirghost3
Thing dirghost4
Thing dirghost5
Thing transport
Thing shuttle
Thing walkway
Template gunless
Template djtmp
Template gee
Float speed
Sound fpush
Sound shoff
Sound cut2s1
Sound cut2s2
Sound cut2s3
Sound cut2s4
Sound cut2s5
Sound cut2s6
Sound cut2s7
Sound cut2s8
Sound cut2s9
Sound cut2s10
Keyframe fall
Keyframe standup
Keyframe sit
end

code
startup:
// setup first
# SetThingCurGeoMode(kyle2, 0);
Player = GetLocalPlayerThing();
// switch the player for an Actor
SetActorFlags(player, 0xa00000);
SetThingCurGeoMode(player, 0);
StopThing(player);
Kyle = CreateThing(gunless, player);
StopThing(Kyle);
// switch to camera view one
SetCameraFocus(0, Cameraone);
//start the cutseen
MoveToFrame(Cameraone, 0, speed);
MoveToFrame(transport, 0, speed);
MoveToFrame(Cameraone, 1, speed);
WaitForStop(Cameraone);
MoveToFrame(transport, 1, speed);
WaitForStop(transport);
MoveToFrame(Cameraone, 2, speed);
MoveToFrame(transport, 2, speed);
WaitForStop(Cameraone);
MoveToFrame(Cameraone, 3, speed);
WaitForStop(Cameraone);
MoveToFrame(Cameraone, 4, speed);
WaitForStop(Cameraone);
MoveToFrame(Cameraone, 5, speed);
WaitForStop(Cameraone);
//nextpart
MoveToFrame(Cameraone, 6, speed);
PlaySoundLocal(cut2s1,1, 0.0,0x4);
print("A shuttle?");
sleep(2);
print("Could All Passangers For The Tour Of Nar-Shaddar Please Enter The Shuttle");
sleep(10);
print("I feel almost as if my destany is on board");
sleep(3);
# Sleep(GetSoundLen(cut2s1));
AISetMoveThing(Kyle, dirghost1);
AISetMoveThing(geewizz, geeghost1);
# PlayKey(Kyle, idle, 1, 0x4); //playkeys disabled
//next part
MoveToFrame(Cameraone, 7, speed);
AISetMoveThing(Kyle, dirghost1);
AISetMoveThing(geewizz, geeghost1);
# PlayKey(Kyle, idle, 1, 0x4); //playkey
PlaySoundLocal(cut2s2,1, 0.0,0x4);
print("Geewizz is that a lightsaber, are you a jedi knight?");
Sleep(GetSoundLen(cut2s2));
PlaySoundLocal(cut2s3,1, 0.0,0x4);
print("....I i am a jedi, yes i am!");
Sleep(GetSoundLen(cut2s3));
PlaySoundLocal(cut2s4,1, 0.0,0x4);
print("COOL!");
Sleep(GetSoundLen(cut2s4));
//next part
AISetMoveThing(Kyle, dirghost2);
AISetMoveThing(geewizz , geeghost2);
# PlayKey(Kyle, crouch, 1, 0x4); //playkey
# sleep(GetKeyLen(crouch));
sleep(2);
//next part (shuttle take off)
SetActorFlags(kyle, 0xa00000);
SetThingCurGeoMode(kyle, 0);
SetActorFlags(geewizz, 0xa00000);
SetThingCurGeoMode(geewizz, 0);
SetCameraFocus(0, Cameratwo);
MoveToFrame(shuttle, 1, speed);
PlaySoundLocal(shoff,1, 0.0,0x4);
Sleep(GetSoundLen(shoff));
//next part, internal shuttle

//THIS PART!!!! \/ \/ \/

//next part, landing
SetCameraFocus(0, Camerathree);
MoveToFrame(Camerathree, 0, speed);
MoveToFrame(Camerathree, 1, speed);
WaitForStop(Camerathree);
MoveToFrame(Camerathree, 2, speed);
WaitForStop(Camerathree);
MoveToFrame(Camerathree, 3, speed);
WaitForStop(Camerathree);
MoveToFrame(Camerathree, 4, speed);
WaitForStop(Camerathree);
MoveToFrame(walkway, 0, speed);
PlaySoundLocal(shoff,1, 0.0,0x4);
MoveToFrame(walkway, 1, speed);
Sleep(GetSoundLen(shoff));
//next part, "time to die"
# SetThingCurGeoMode(kyle2, 4);
SetCameraFocus(0, Camerafour);
Kyle2 = CreateThing(gunless, dirghost3);
SetActorFlags(kyle2, 0xa00000);
AiSetMoveSpeed(kyle2, 5);
StopThing(Kyle2);
AISetMoveThing(Kyle2, GetThingPos(DirGhost4));
sleep(2);
evil = CreateThing(djtmp, dirghost3);
StopThing(evil);
PlaySoundLocal(cut2s6,1, 0.0,0x4);
print("mabey he remembers, I must kill him!");
Sleep(GetSoundLen(cut2s6));
AISetMoveThing(Evil, dirghost4);
sleep(1);
PlaySoundLocal(fpush,1, 0.0,0x4);
AISetMoveThing(Kyle2, GetThingPos(DirGhost5));
sleep(0.6);
PlaySoundLocal(cut2s7,1, 0.0,0x4);
print("AAAAAaaaaaaaaaaaaaa........!!!!!!");
Sleep(GetSoundLen(cut2s7));
wizz = CreateThing(gee, dirghost3);
AISetMoveThing(wizz, dirghost4);
sleep(1);
PlaySoundLocal(cut2s8,1, 0.0,0x4);
print("We have to go and help him!");
Sleep(GetSoundLen(cut2s8));
PlaySoundLocal(cut2s9,1, 0.0,0x4);
print("No-one could servive that fall, leave him.");
Sleep(GetSoundLen(cut2s9));
//next part, lets what a misstress.
JKendlevel(1);
Stop;
end


------------------
I am pjb.
Another post......
another moment of my life wasted.....

DSLS_DeathSythe
05-02-2003, 10:37 AM
have you tried using AiSetMovePos instead of AiSetMoveThing?

------------------
Famous last words - "It seemed like a good idea at the time."

DogSRoOL
05-02-2003, 12:22 PM
Do you also have a generic AI file for your actors? You only really need a header if they're cog-controlled, and don't forget to add it to your templates.

------------------
May the forks be with you.
There is a great disturbance in my shorts...
Thank you for reading this post. You owe me $24.95 + S&H.

[SF]pjb
05-02-2003, 05:10 PM
ok guys its not working.

yes its got the right AI, look at the cog i used it up there GBK SABERMASTER ANYONE!!!!

------------------
I am pjb.
Another post......
another moment of my life wasted.....

[SF]pjb
05-04-2003, 06:25 AM
is everyone on holliday?

------------------
I am pjb.
Another post......
another moment of my life wasted.....

DogSRoOL
05-05-2003, 06:25 PM
Seems like it...
I'm just too sick of cogs right now...

------------------
May the forks be with you.
There is a great disturbance in my shorts...
Thank you for reading this post. You owe me $24.95 + S&H.

DSLS_DeathSythe
05-05-2003, 08:56 PM
you could try just teleporting the original kyle instead of making a new one.
replace the part were the kyle2 is created with this.


TeleportThing(kyle, dirghost3);
ClearActorFlags(kyle, 0a00000);
StopThing(kyle);
SetThingCurGeoMode(kyle, 4);

see if that works.

------------------
Famous last words - "It seemed like a good idea at the time."

[SF]pjb
05-07-2003, 05:55 AM
dude! good idea, its gotta work right?

------------------
I am pjb.
Another post......
another moment of my life wasted.....

[SF]pjb
05-07-2003, 06:18 AM
well, the teliporting worked, but the original kyle wouldent move. all the other actors do. i could try useing frames, or better adding som kind if vector forse to him.

p.s.i fixed all the problems parsec showed up, this is the new cog.



# Cutscen Level master COG
# Generated by PJB (pokejoyboy@aol.com, pjb@pjb.i8.com)
# credit to Antony Espindola for making the tutor that
# helped me make this cog.

Symbols
Message startup
Thing Cameraone
Thing Cameratwo
Thing Camerathree
Thing Camerafour
Thing player local
Thing Kyle local
Thing wizz local
Thing geewizz
Thing dirghost1
Thing geeghost1
Thing dirghost2
Thing geeghost2
Thing dirghost3
Thing dirghost4
Thing dirghost5
thing evil local
Thing transport
Thing shuttle
Thing walkway
Template gunless
Template djtmp
Template gee
Float speed
Sound fpush
Sound shoff
Sound cut2s1
Sound cut2s2
Sound cut2s3
Sound cut2s4
Sound cut2s5
Sound cut2s6
Sound cut2s7
Sound cut2s8
Sound cut2s9
Sound cut2s10
# Keyframe fall
# Keyframe standup
# Keyframe sit
end

code
startup:
// setup first
# SetThingCurGeoMode(kyle2, 0);
Player = GetLocalPlayerThing();
// switch the player for an Actor
SetActorFlags(player, 0xa00000);
SetThingCurGeoMode(player, 0);
StopThing(player);
Kyle = CreateThing(gunless, player);
StopThing(Kyle);
// switch to camera view one
SetCameraFocus(0, Cameraone);
//start the cutseen
MoveToFrame(Cameraone, 0, speed);
MoveToFrame(transport, 0, speed);
MoveToFrame(Cameraone, 1, speed);
WaitForStop(Cameraone);
MoveToFrame(transport, 1, speed);
WaitForStop(transport);
MoveToFrame(Cameraone, 2, speed);
MoveToFrame(transport, 2, speed);
WaitForStop(Cameraone);
MoveToFrame(Cameraone, 3, speed);
WaitForStop(Cameraone);
MoveToFrame(Cameraone, 4, speed);
WaitForStop(Cameraone);
MoveToFrame(Cameraone, 5, speed);
WaitForStop(Cameraone);
//nextpart
MoveToFrame(Cameraone, 6, speed);
PlaySoundLocal(cut2s1,1, 0.0,0x4);
print("A shuttle?");
sleep(2);
print("Could All Passangers For The Tour Of Nar-Shaddar Please Enter The Shuttle");
sleep(10);
print("I feel almost as if my destany is on board");
sleep(3);
# Sleep(GetSoundLen(cut2s1));
AISetMoveThing(Kyle, dirghost1);
AISetMoveThing(geewizz, geeghost1);
# PlayKey(Kyle, idle, 1, 0x4); //playkeys disabled
//next part
MoveToFrame(Cameraone, 7, speed);
AISetMoveThing(Kyle, dirghost1);
AISetMoveThing(geewizz, geeghost1);
# PlayKey(Kyle, idle, 1, 0x4); //playkey
PlaySoundLocal(cut2s2,1, 0.0,0x4);
print("Geewizz is that a lightsaber, are you a jedi knight?");
Sleep(GetSoundLen(cut2s2));
PlaySoundLocal(cut2s3,1, 0.0,0x4);
print("....I i am a jedi, yes i am!");
Sleep(GetSoundLen(cut2s3));
PlaySoundLocal(cut2s4,1, 0.0,0x4);
print("COOL!");
Sleep(GetSoundLen(cut2s4));
//next part
AISetMoveThing(Kyle, dirghost2);
AISetMoveThing(geewizz , geeghost2);
# PlayKey(Kyle, crouch, 1, 0x4); //playkey
# sleep(GetKeyLen(crouch));
sleep(2);
//next part (shuttle take off)
SetActorFlags(kyle, 0xa00000);
SetThingCurGeoMode(kyle, 0);
SetActorFlags(geewizz, 0xa00000);
SetThingCurGeoMode(geewizz, 0);
SetCameraFocus(0, Cameratwo);
MoveToFrame(shuttle, 1, speed);
PlaySoundLocal(shoff,1, 0.0,0x4);
Sleep(GetSoundLen(shoff));
//next part, internal shuttle
print("mygod he is onboard");
Sleep(GetSoundLen(cut2s5));
//next part, landing
SetCameraFocus(0, Camerathree);
MoveToFrame(Camerathree, 0, speed);
MoveToFrame(Camerathree, 1, speed);
WaitForStop(Camerathree);
MoveToFrame(Camerathree, 2, speed);
WaitForStop(Camerathree);
MoveToFrame(Camerathree, 3, speed);
WaitForStop(Camerathree);
MoveToFrame(Camerathree, 4, speed);
WaitForStop(Camerathree);
MoveToFrame(walkway, 0, speed);
PlaySoundLocal(shoff,1, 0.0,0x4);
MoveToFrame(walkway, 1, speed);
Sleep(GetSoundLen(shoff));
//next part, "time to die"
# SetThingCurGeoMode(kyle2, 4);
SetCameraFocus(0, Camerafour);
#Kyle2 = CreateThing(gunless, dirghost3);
# SetActorFlags(kyle2, 0xa00000);
# AiSetMoveSpeed(kyle2, 5);
#StopThing(Kyle2);
TeleportThing(kyle, dirghost3);
ClearActorFlags(kyle, 0xa00000);
StopThing(kyle);
SetThingCurGeoMode(kyle, 4);
AiSetMovePos(Kyle, GetThingPos(DirGhost4));
sleep(2);
evil = CreateThing(djtmp, dirghost3);
StopThing(evil);
PlaySoundLocal(cut2s6,1, 0.0,0x4);
print("mabey he remembers, I must kill him!");
Sleep(GetSoundLen(cut2s6));
AISetMoveThing(Evil, dirghost4);
sleep(1);
PlaySoundLocal(fpush,1, 0.0,0x4);
AiSetMovePos(Kyle, GetThingPos(DirGhost5));
sleep(0.6);
PlaySoundLocal(cut2s7,1, 0.0,0x4);
print("AAAAAaaaaaaaaaaaaaa........!!!!!!");
Sleep(GetSoundLen(cut2s7));
wizz = CreateThing(gee, dirghost3);
AISetMoveThing(wizz, dirghost4);
sleep(1);
PlaySoundLocal(cut2s8,1, 0.0,0x4);
print("We have to go and help him!");
Sleep(GetSoundLen(cut2s8));
PlaySoundLocal(cut2s9,1, 0.0,0x4);
print("No-one could servive that fall, leave him.");
Sleep(GetSoundLen(cut2s9));
//next part, lets what a misstress.
print("uhg, gravity is a crule mistress");
Sleep(GetSoundLen(cut2s10));

JKendlevel(1);
Stop;
end


------------------
I am pjb.
Another post......
another moment of my life wasted.....

[SF]pjb
05-07-2003, 09:07 AM
darn, this is not good.vector thrus, and deatachment wont work either, its liek he becomes concreate the moment he is made.

------------------
I am pjb.
Another post......
another moment of my life wasted.....

DSLS_DeathSythe
05-07-2003, 10:47 AM
could you post the TPL info and the AI file that you are using for kyle.

------------------
Famous last words - "It seemed like a good idea at the time."

[SF]pjb
05-07-2003, 03:23 PM
model3d=ky.3do
soundclass=ky.snd
puppet=ky.pup
size=0.065000
movesize=0.065000

parent is mman1


------------------
I am pjb.
Another post......
another moment of my life wasted.....

Stormtrooper
05-07-2003, 03:29 PM
That might be your problem, add "aiclass=default.ai" to your template and see if that works.

------------------
Look for my current project, The Force in Your Soul.
Last week I cudn't evn spel grajuat, but now I is one.

*Takes out his blaster and fires shots at the wall, the blastmarks leave the words "S-TROOPER WUZ 'ERE!!!"

[SF]pjb
05-07-2003, 04:06 PM
i doubt is as the SAMEkyle worked fine in the first cut seenand the first half of this cutseen. but still i will try as i have lots of hope left.

p.s.mabey i shouldent have let you guys have any time on this one?

------------------
I am pjb.
Another post......
another moment of my life wasted.....

DSLS_DeathSythe
05-07-2003, 06:46 PM
have you tried not setting the '0xa00000' flag for kyle at all. that might be what is makeing him not move.

i took the first cog you posted and modified it a bit. i was hoping we could get your working so i wouldnt have to do this. you can try it and see if it works. it uses timers instead of sleep in some places, it uses AiSetMovePos too, and it does the teleport instead of making kyle2. think i got everything in there, except the new stuff you added in the last version you posted.


#=====
# Cutscen Level master COG
# Generated by PJB (pokejoyboy@aol.com, pjb@pjb.i8.com)
# credit to Antony Espindola for making the tutor that
# helped me make this cog.
#=====
symbols
#-----
message startup
message timer
thing camera01
thing camera02
thing camera03
thing camera04
thing player=-1 local
thing kyle local
thing geewizz
thing kymove_pos01=-1
thing kymove_pos02=-1
thing kymove_pos03=-1
thing kymove_pos04=-1
thing kymove_pos05=-1
vector kymove_vec01 local
vector kymove_vec02 local
vector kymove_vec04 local
vector kymove_vec05 local
thing geemove_pos01=-1
thing geemove_pos02=-1
vector geemove_vec01 local
vector geemove_vec02 local
thing transport
thing shuttle
thing walkway
template gunless
template djtmp
flex speed
sound fpush
sound shoff
sound cut2s1
sound cut2s2
sound cut2s3
sound cut2s4
sound cut2s5
sound cut2s6
sound cut2s7
sound cut2s8
sound cut2s9
sound cut2s10
keyframe fall
keyframe standup
keyframe sit
#-----
end
#=====
code
#-----
startup:
//-Get all the move vectors...
kymove_vec01 = GetThingPos(kymove_pos01);
kymove_vec02 = GetThingPos(kymove_pos02);
kymove_vec04 = GetThingPos(kymove_pos04);
kymove_vec05 = GetThingPos(kymove_pos05);
geemove_vec01 = GetThingPos(geemove_pos01);
geemove_vec02 = GetThingPos(geemove_pos02);
//-Stop the player and make him invisible...
player = GetLocalPlayerThing();
SetActorFlags(player, 0xa00000);
StopThing(player);
SetThingFlags(player, 0x10);
//-Switch the player for an Actor...
kyle = CreateThing(gunless, player);
StopThing(Kyle);
//-Give kyle a move speed...
AiSetMoveSpeed(kyle, 1.0);
//-Set the camera view to ONE...
SetCameraFocus(0, camera01);
//-START the CUTSCENE...
SetTimerEx(0.1, 1, 0, 0);
return;
#-----
timer:
if(GetSenderID() == 1)
{
//-Part (1) - Shuttle flying in...
MoveToFrame(camera01, 1, speed);
WaitForStop(camera01);
MoveToFrame(transport, 1, speed);
WaitForStop(transport);
MoveToFrame(camera01, 2, speed);
MoveToFrame(transport, 2, speed);
WaitForStop(camera01);
MoveToFrame(camera01, 3, speed);
WaitForStop(camera01);
MoveToFrame(camera01, 4, speed);
WaitForStop(camera01);
MoveToFrame(camera01, 5, speed);
WaitForStop(camera01);
MoveToFrame(camera01, 6, speed);
PlaySoundLocal(cut2s1, 1, 0.0, 0x4);
Print("A shuttle?");
SetTimerEx(2.0, 2, 0, 0);
return;
}
else
if(GetSenderID() == 2)
{
//-Part (2) - Kyle and geewizz move to shuttle...
Print("Could All Passangers For The Tour Of Nar-Shaddar Please Enter The Shuttle");
Sleep(10.0);
Print("I feel almost as if my destany is on board");
Sleep(3.0);
AiSetMovePos(kyle, kymove_vec01);
AiSetMovePos(geewizz, geemove_vec01);
SetTimerEx(3.0, 3, 0, 0);
return;
}
else
if(GetSenderID() == 3)
{
//-Part (3) - geewizz sees kyles lightsaber...
MoveToFrame(camera01, 7, speed);
PlaySoundLocal(cut2s2, 1, 0.0, 0x4);
Print("Geewizz is that a lightsaber, are you a jedi knight?");
Sleep(GetSoundLen(cut2s2));
PlaySoundLocal(cut2s3, 1, 0.0, 0x4);
Print("....I i am a jedi, yes i am!");
Sleep(GetSoundLen(cut2s3));
PlaySoundLocal(cut2s4, 1, 0.0, 0x4);
Print("COOL!");
SetTimerEx((GetSoundLen(cut2s4)), 4, 0, 0);
return;
}
else
if(GetSenderID() == 4)
{
//-Part (4) - Shuttle takes off...
AiSetMovePos(kyle, kymove_vec02);
AiSetMovePos(geewizz, geemove_vec02);
Sleep(2.0);
StopThing(kyle);
SetThingFlags(kyle, 0x10);
StopThing(geewizz);
SetThingFlags(geewizz, 0x10);
SetCameraFocus(0, camera02);
MoveToFrame(shuttle, 1, speed);
PlaySoundLocal(shoff, 1, 0.0, 0x4);
SetTimerEx((GetSoundLen(shoff)), 5, 0, 0);
return;
}
else
if(GetSenderID() == 5)
{
//-Part (5) - Moving walkway...
SetCameraFocus(0, camera03);
MoveToFrame(camera03, 1, speed);
WaitForStop(camera03);
MoveToFrame(camera03, 2, speed);
WaitForStop(camera03);
MoveToFrame(camera03, 3, speed);
WaitForStop(camera03);
MoveToFrame(camera03, 4, speed);
WaitForStop(camera03);
PlaySoundLocal(shoff,1, 0.0,0x4);
MoveToFrame(walkway, 1, speed);
SetTimerEx((GetSoundLen(shoff)), 6, 0, 0);
return;
}
else
if(GetSenderID() == 6)
{
//-Part (6) - Ending, kyle goes off cliff...
SetCameraFocus(0, camera04);
TeleportThing(kyle, kymove_pos03);
StopThing(kyle);
ClearThingFlags(kyle, 0x10);
AiSetMovePos(kyle, kymove_vec04);
Sleep(2.0);
evil = CreateThing(djtmp, kymove_pos03);
StopThing(evil);
AiSetMoveSpeed(evil, 1.0);
PlaySoundLocal(cut2s6, 1, 0.0, 0x4);
Print("mabey he remembers, I must kill him!");
Sleep(GetSoundLen(cut2s6));
AiSetMovePos(evil, kymove_vec04);
Sleep(1.0);
PlaySoundLocal(fpush, 1, 0.0, 0x4);
AiSetMovePos(kyle, kymove_vec05);
sleep(0.6);
PlaySoundLocal(cut2s7, 1, 0.0, 0x4);
Print("AAAAAaaaaaaaaaaaaaa........!!!!!!");
Sleep(GetSoundLen(cut2s7));
TeleportThing(geewizz, kymove_pos03);
StopThing(geewizz);
ClearThingFlags(geewizz, 0x10);
AiSetMovePos(geewizz, kymove_vec04);
Sleep(1.0);
PlaySoundLocal(cut2s8, 1, 0.0, 0x4);
Print("We have to go and help him!");
Sleep(GetSoundLen(cut2s8));
PlaySoundLocal(cut2s9, 1, 0.0, 0x4);
Print("No-one could servive that fall, leave him.");
Sleep(GetSoundLen(cut2s9));
//next part, lets what a misstress.
JKendlevel(1);
return;
}
return;
#-----
old_cog:
// setup first
# SetThingCurGeoMode(kyle2, 0);
Player = GetLocalPlayerThing();
// switch the player for an Actor
SetActorFlags(player, 0xa00000);
SetThingCurGeoMode(player, 0);
StopThing(player);
Kyle = CreateThing(gunless, player);
StopThing(Kyle);
// switch to camera view one
SetCameraFocus(0, Cameraone);
//start the cutseen
MoveToFrame(Cameraone, 0, speed);
MoveToFrame(transport, 0, speed);
MoveToFrame(Cameraone, 1, speed);
WaitForStop(Cameraone);
MoveToFrame(transport, 1, speed);
WaitForStop(transport);
MoveToFrame(Cameraone, 2, speed);
MoveToFrame(transport, 2, speed);
WaitForStop(Cameraone);
MoveToFrame(Cameraone, 3, speed);
WaitForStop(Cameraone);
MoveToFrame(Cameraone, 4, speed);
WaitForStop(Cameraone);
MoveToFrame(Cameraone, 5, speed);
WaitForStop(Cameraone);
//nextpart
MoveToFrame(Cameraone, 6, speed);
PlaySoundLocal(cut2s1,1, 0.0,0x4);
print("A shuttle?");
sleep(2);
print("Could All Passangers For The Tour Of Nar-Shaddar Please Enter The Shuttle");
sleep(10);
print("I feel almost as if my destany is on board");
sleep(3);
# Sleep(GetSoundLen(cut2s1));
AISetMoveThing(Kyle, dirghost1);
AISetMoveThing(geewizz, geeghost1);
# PlayKey(Kyle, idle, 1, 0x4); //playkeys disabled
##### (3)
//next part
MoveToFrame(Cameraone, 7, speed);
AISetMoveThing(Kyle, dirghost1);
AISetMoveThing(geewizz, geeghost1);
# PlayKey(Kyle, idle, 1, 0x4); //playkey
PlaySoundLocal(cut2s2,1, 0.0,0x4);
print("Geewizz is that a lightsaber, are you a jedi knight?");
Sleep(GetSoundLen(cut2s2));
PlaySoundLocal(cut2s3,1, 0.0,0x4);
print("....I i am a jedi, yes i am!");
Sleep(GetSoundLen(cut2s3));
PlaySoundLocal(cut2s4,1, 0.0,0x4);
print("COOL!");
Sleep(GetSoundLen(cut2s4));
##### (4)
//next part
AISetMoveThing(Kyle, dirghost2);
AISetMoveThing(geewizz , geeghost2);
# PlayKey(Kyle, crouch, 1, 0x4); //playkey
# sleep(GetKeyLen(crouch));
sleep(2);
##### (4)
//next part (shuttle take off)
SetActorFlags(kyle, 0xa00000);
SetThingCurGeoMode(kyle, 0);
SetActorFlags(geewizz, 0xa00000);
SetThingCurGeoMode(geewizz, 0);
SetCameraFocus(0, Cameratwo);
MoveToFrame(shuttle, 1, speed);
PlaySoundLocal(shoff,1, 0.0,0x4);
Sleep(GetSoundLen(shoff));
##### (5)
//next part, internal shuttle
//THIS PART!!!! \/ \/ \/
//next part, landing
SetCameraFocus(0, Camerathree);
MoveToFrame(Camerathree, 0, speed);
MoveToFrame(Camerathree, 1, speed);
WaitForStop(Camerathree);
MoveToFrame(Camerathree, 2, speed);
WaitForStop(Camerathree);
MoveToFrame(Camerathree, 3, speed);
WaitForStop(Camerathree);
MoveToFrame(Camerathree, 4, speed);
WaitForStop(Camerathree);
MoveToFrame(walkway, 0, speed);
PlaySoundLocal(shoff,1, 0.0,0x4);
MoveToFrame(walkway, 1, speed);
Sleep(GetSoundLen(shoff));
##### (6)
//next part, "time to die"
# SetThingCurGeoMode(kyle2, 4);
SetCameraFocus(0, Camerafour);
Kyle2 = CreateThing(gunless, dirghost3);
SetActorFlags(kyle2, 0xa00000);
AiSetMoveSpeed(kyle2, 5);
StopThing(Kyle2);
AISetMoveThing(Kyle2, GetThingPos(DirGhost4));
sleep(2);
evil = CreateThing(djtmp, dirghost3);
StopThing(evil);
PlaySoundLocal(cut2s6,1, 0.0,0x4);
print("mabey he remembers, I must kill him!");
Sleep(GetSoundLen(cut2s6));
AISetMoveThing(Evil, dirghost4);
sleep(1);
PlaySoundLocal(fpush,1, 0.0,0x4);
AISetMoveThing(Kyle2, GetThingPos(DirGhost5));
sleep(0.6);
PlaySoundLocal(cut2s7,1, 0.0,0x4);
print("AAAAAaaaaaaaaaaaaaa........!!!!!!");
Sleep(GetSoundLen(cut2s7));
wizz = CreateThing(gee, dirghost3);
AISetMoveThing(wizz, dirghost4);
sleep(1);
PlaySoundLocal(cut2s8,1, 0.0,0x4);
print("We have to go and help him!");
Sleep(GetSoundLen(cut2s8));
PlaySoundLocal(cut2s9,1, 0.0,0x4);
print("No-one could servive that fall, leave him.");
Sleep(GetSoundLen(cut2s9));
//next part, lets what a misstress.
JKendlevel(1);
return;
#=====
end

if that doesnt work then i dont know what to do. sorry. http://forums.massassi.net/html/frown.gif

------------------
Famous last words - "It seemed like a good idea at the time."

[SF]pjb
05-08-2003, 05:43 AM
-PJB slams his head into a wall-
*SPLAT*

WHY?! WHY?!

i cant evan work out how taht works? i dont know but the symbols dont mix with the cog and yet it somehow still works!

please please? GBK! SaberMaster! where are you!!!!!!

------------------
I am pjb.
Another post......
another moment of my life wasted.....

[SF]pjb
05-09-2003, 03:34 PM
come on you people. WAKE UP! i want to get this darned thing done SOON!!!

------------------
I am pjb.
Another post......
another moment of my life wasted.....

[SF]pjb
05-11-2003, 02:04 AM
right, unless i have a working answer soon i am gonna start from scratch.

------------------
I am pjb.
Another post......
another moment of my life wasted.....

[SF]pjb
05-12-2003, 05:21 AM
well, i started from scratch, rewote the cog... and guess what. ITS NOT WORKING!
http://forums.massassi.net/html/confused.gif http://forums.massassi.net/html/tongue.gif http://forums.massassi.net/html/redface.gif http://forums.massassi.net/html/frown.gif http://forums.massassi.net/html/rolleyes.gif http://forums.massassi.net/html/mad.gif

It not working at the same part, could some one contact GBK or sabermaster?

------------------
I am pjb.
Another post......
another moment of my life wasted.....

[This message has been edited by [SF]pjb (edited May 12, 2003).]