Posted by Earl on December 09, 1998 at 09:19:12:
I made a keyframe of a speeder flying around an Atat and I was pretty happy with it. Put it in my level using a shuttle and 00m_shuttle.cog and it was perfect. Then I replaced the shuttle with a speeder , it didn't budge. The sound would play and after 8 seconds the speeder was destroyed. It did everything except animate my speeder. Arghh. Then I modified the 00m_shuttle.cog to read as the following
# Jedi Knight Cog Script
#
# Speeder_m1.cog
#
# Plays Key Frame of Snowspeeder flying towards an Atat , flying around it, and heading back into the distance
# Thing is destroyed after 8 seconds.
#
# Plays those keys and lines of dialogue.
#
# [KS]
#
# (C) 1997 LucasArts Entertainment Co. All Rights Reserved
# ========================================================================================
symbols
message entered
message timer
sector startsector
int done=0 local
keyframe speederanim=Speeder1.key
sound speedersound
thing speeder
end
# ========================================================================================
code
entered:
if (done) return;
done=1;
SetTimer(8.0);
playkey(speeder, speederanim, 1, 2);
playsoundlocal(speedersound, 1, 0, 0);
Return;
timer:
DestroyThing(speeder);
Return;
end
The same thing happened , everything but the animation. Double Arghhhh. I checked the cog in cogwriter and it says its fine so what gives??
Then I remembered some ship cogs that EvanC wrote for Massassi to play keyframes. I tried them all but none worked (no animation) with any ship I tried . Help please