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 → This might be kind of hard.
This might be kind of hard.
2001-06-24, 7:20 AM #1
I want a cog, that at the start of the level the camera will be a ghost thing and you can see the player and can control him, after he passes an adjoin, the camera goes back to the 1st person view. I'd use a cog from LEC, but you can't control the player.

P.S. if anyone has used the Force POV mod, it should work sorta like that.

------------------
True life shimmers with the light of diamonds.
A fake life is as black as coal.
2001-06-24, 3:46 PM #2
Try this out.
Code:
# Jedi Knight Cog Script
#
# camcog.COG
#
# camera set cog
#
# description
#
# Set's the camera focus to a ghost object upon startup
# and sets the camera focus back to the player when a adjoin is crossed.
#
#
# Rhett Peterson
#
# [YB & CYW]
#
# (C) 1997 LucasArts Entertainment Co. All Rights Reserved
# ========================================================================================

symbols

message startup
message crossed
thing player     local
thing ghosty
surface camsurf


end
#============================================================

code

startup:

 player = GetLocalPlayerThing();

 SetCameraFocus(0, ghosty);


return;


crossed:

 SetCameraFocus(0, player);

return;

 

# ........................................................................................

end
Gravity isn't MY fault--I voted for velcro.
2001-06-25, 4:19 AM #3
thanks, it worked great.

------------------
True life shimmers with the light of diamonds.
A fake life is as black as coal.
2001-06-25, 12:05 PM #4
No problem. [http://forums.massassi.net/html/smile.gif]
Gravity isn't MY fault--I voted for velcro.

↑ Up to the top!