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 → Multiple frames in a cog
Multiple frames in a cog
2001-01-14, 6:16 AM #1
How would I add more frames to a cog thats move a 3do around?

------------------
The computer is a window to the world, and the cell that keeps you from it.
2001-01-16, 10:44 AM #2
What cog?
2001-01-16, 10:53 AM #3
eg
a tie fighter has 4 frames
(x,y,z)0
(x,y,z)1
(x,y,z)2
(x,y,z)3
To move it in a cog, get a cog like simple elev

if it says in a cog

MovetoFrame(elev, 0, speed);

there will be other lines above and below this line, just add other lines like so

MovetoFrame(elev, 1, speed);
MovetoFrame(elev, 2, speed);
MovetoFrame(elev, 3, speed);

the speed is determines as local speed which you can change your self. 0 1 2 3 are the frames. to get more than one frame on your 3do, add more FRAME values and change numframes to the number you want eg.4

God knows why Im telling you this, I know nothing about cog's

Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}
2001-01-16, 1:08 PM #4
Well, if you know nothing about cogs then that was one hell of a guess. Sense I could now access massassi and there forums I'll try it out.

------------------
The computer is a window to the world, and the cell that keeps you from it.

↑ Up to the top!