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 → Does anyone have a cog for JK that will...
Does anyone have a cog for JK that will...
2001-09-04, 2:29 PM #1
make something play a keyframe constantly? If so can I use it?

P.S. It has to be for MP.

------------------
What to NEVER say to a cop if he pulls you over.

Cop: Your eyes look red, have you been drinking?

You: Your eyes look glazed, have you been eating donuts?
2001-09-06, 5:04 AM #2
Just make a simple cog (I would recommend d-loading ModMaker from the massassi programs download page). In the cog program, create a new cog, and in the symbols section, put

thing keything=THING local
keyframe constantkey=KEYFILE.key local
message startup
message pulse

end

You would now replace THING with whatever thing to play the key for, and KEYFILE with whatever key you want to play. Now in the code section, put

startup:
SetPulse(GetKeyLen(constantkey));

pulse:
PlayKey(keything, constantkey);

end

You will have to set the thing to animate through the cogs thingy in Jed, or the cogs in level screen in JkEdit, but this is basically it.

------------------
Aisha Clan-Clan: "The Ctarl-Ctarl are an invincible race of beings. We're all as strong as ten humans!"
Gene Starwind: "Is that so?"
*Pulls out his Caster Gun and shoots her. She lies on the ground in a daze*
Gene Starwind: "Wow, you really are invincible!"

- Excerpt from 'Outlaw Star,' Episode 5
Aisha Clan-Clan: "The Ctarl-Ctarl are an invincible race of beings. We're all as strong as ten humans!"
Gene Starwind: "Is that so?"
*Pulls out his Caster Gun and shoots her. She lies on the ground in a daze*
Gene Starwind: "Wow, you really are invincible!"

- Excerpt from 'Outlaw Star,' Episode 5
2001-09-06, 5:07 AM #3
Whoops! I forgot... Just under "SetPulse(Yaddayaddayadda);" put: return; and put the same thing under PlayKey(Blahblahblah);
Aisha Clan-Clan: "The Ctarl-Ctarl are an invincible race of beings. We're all as strong as ten humans!"
Gene Starwind: "Is that so?"
*Pulls out his Caster Gun and shoots her. She lies on the ground in a daze*
Gene Starwind: "Wow, you really are invincible!"

- Excerpt from 'Outlaw Star,' Episode 5

↑ Up to the top!