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 → big update, biger error
big update, biger error
2003-05-20, 12:30 PM #1
ok, rember my killer cutseen? i fixed kyle useing a AI jump, and lowering the gravity, it looks neat. now the problem is that my actor alltho actualy there in the level, is not viasabel..
Code:
#=====
# Cutsceen Level master COG, for cutseens in the level.
# 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        camera01                                                          
thing        player                             local                         
thing        kyle                               local                         
thing        badboy                             local                         
template     gunless                                                          
template     greedo                                                           
thing        cretor1                                                          
thing        movepos1                                                         
flex         speed=10                                                         
keyframe     wakeup                                                           
sound        cut2s10=cut2s10.wav                                              
end                                                                           
#--------
code
startup:
//-Stop the player and make him invisible...
player = GetLocalPlayerThing();
SetActorFlags(player, 0xa00000);
StopThing(player);
SetThingFlags(player, 0x10);
//-Give kyle a move speed...
AiSetMoveSpeed(kyle, 1.0);
//-Set the camera view to ONE...
SetCameraFocus(0, camera01);
//-START the CUTSCENE...
SetThingCurGeoMode(kyle, 4); 
WaitForStop(camera01);
MoveToFrame(camera01, 0, speed);
WaitForStop(camera01);
MoveToFrame(camera01, 1, speed);
WaitForStop(camera01);
MoveToFrame(camera01, 2, speed);
WaitForStop(camera01);
//-Switch the player for an Actor...
kyle = CreateThing(gunless, cretor1);
#PlayKey(kyle, wakeup, 1, 0x38);
PlaySoundLocal(cut2s10, 1, 0.0, 0x4);
Print("Uhhgg.... gravity is a crule mistress");
Sleep(GetSoundLen(cut2s10));
AISetMoveThing(kyle, movepos1); 
badboy = CreateThing(greedo, cretor1);
AISetMoveThing(badboy, movepos1);  
sleep(2);
AISetFireTarget(kyle, badboy); 
AISetFireTarget(badboy, kyle); 
sleep(1);
// switch back to player focus 
SetCameraFocus(0, Player); 
// unfreeze Kyle 
ClearActorFlags(Player, 0xa00000); 
//remove kyle actor
destroything(kyle);
AISetFireTarget(badboy, player); 
SetThingCurGeoMode(player, 4); 
#--------
return;
#--------
end


------------------
I am pjb.
Another post......
another moment of my life wasted.....
at least i made a level.
PJB's JK page's

-the PJB jedi rule book-
rule one, "never trust a bartender with bad grammar"-kyle katarn in JO

Rule Two, "Gravity is a crule misstress" -kyle katarn in MotS, and the alternatior MK I in AJTD
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?
2003-05-20, 1:47 PM #2
You could try clearing invisibility flags from the actors:
ClearThingFlags(actor, 0x10);
Not sure if that'll work, but it doesn't hurt to try. [http://forums.massassi.net/html/wink.gif]

------------------
"The Just shall live by faith." - Galatians 3:11
Catloaf, meet mouseloaf.
My music
2003-05-22, 8:20 AM #3
will try.

------------------
I am pjb.
Another post......
another moment of my life wasted.....
at least i made a level.
PJB's JK page's

-the PJB jedi rule book-
rule one, "never trust a bartender with bad grammar"-kyle katarn in JO

Rule Two, "Gravity is a crule misstress" -kyle katarn in MotS, and the alternatior MK I in AJTD
I am Darth PJB!
well, go on, run away!

i have a plastic lightsaber and a jedi cape.. am i a nerd?

If gravity is a crule mistress, and bar tenders with bad grammar are untrustworthy, what is air?

↑ Up to the top!