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 → Animation Help!
Animation Help!
2002-06-26, 3:00 AM #1
Hello everyone,

I am trying tp figure out how Jedi Knight handles which Submode get's played and is there a way to modify that process?

I'd like to change around the death animation, so that when you are hit in the head with the lightsaber, the damage is greatly multiplied and returned, as well as a decapitation EXTERNEL animation will be played if "player" is dead...

I have most of this figured out, all that's left for me is the death animation. You understand that I don't want to replace any submode's in the ky.pup puppet file unless absoluty necessary!

Any help you can offer would be great!

------------------
"Hear that? That is the sound of a thousand terrible things comming this way." Obi-Wan Kenobi

-DaGhost
2002-06-26, 6:33 AM #2
Some of the submode keys are played with PlayMode() and FireProjectile(), but most are handled by the exe.

To do what you want, you'd have to stop the death animation that the exe will play and then play your own. This would not look good in MP, but in SP it would work well enough.

This code will work:
Code:
Sleep(0.001);
for(i=0; i < 4; i=i+1) StopKey(player, i, 0);
animID=PlayKey(player, LoadKeyframe("yourKey.key"), 5, 0x14);


The sleep is to make JK come back to this message after it has played the death key from the .pup file. The for loop is to stop all the keys that are playing. And PlayKey() will play your death key.

Hope that helps. [http://forums.massassi.net/html/wink.gif]

BTW, that quote is from Qui-Gon, not Obi-Wan. [http://forums.massassi.net/html/tongue.gif]

------------------
Author of the JK DataMaster, Parsec, and the EditPlus Cog Files.
Visit Saber's Domain.

[This message has been edited by SaberMaster (edited June 26, 2002).]
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2002-06-26, 1:46 PM #3
Thanks SaberMaster,

I'm just starting out in Jk editing, so I appreciate your help alot! (I was thinking of what Obi-Wan say's to Jar Jar after Qui-Gon said that, so that's probably why I put Obi-Wan's name. [http://forums.massassi.net/html/biggrin.gif])

Well, when I thought of ways to do this thing about the decapitation animation, I remembered SS3 Beta 9 by ShadowX, when you fall or get hit with an explosif projectile, you turn into a pile-o-Gibs... Was this just the result of removing the dead player model, and creating bouncing gibs and gore sprites?

Well enought of that... [http://forums.massassi.net/html/biggrin.gif] If anyone else know's a different way to do the above, please tell me! (Not that your's isn't good SaberMaster [http://forums.massassi.net/html/biggrin.gif] It Just does'nt work in MP, and that's really the point!! [http://forums.massassi.net/html/wink.gif] )


------------------
"Hear that? That is the sound of a thousand terrible things comming this way." Qui-Gon Ginn

-DaGhost

[This message has been edited by DaGhost (edited June 27, 2002).]
2002-06-27, 9:18 AM #4
Quote:
<font face="Verdana, Arial" size="2">Originally posted by DaGhost:
Thanks SaberMaster,

I'm just starting out in Jk editing, so I appreciate your help alot! (I was thinking of what Obi-Wan say's to Jar Jar after Qui-Gon said that, so that's probably why I put Obi-Wan's name. [http://forums.massassi.net/html/biggrin.gif])

Well, when I thought of ways to do this thing about the decapitation animation, I remembered SS3 Beta 9 by ShadowX, when you fall or get hit with an explosif projectile, you turn into a pile-o-Gibs... Was this just the result of removing the dead player model, and creating bouncing gibs and gore sprites?

Well enought of that... [http://forums.massassi.net/html/biggrin.gif] If anyone else know's a different way to do the above, please tell me! (Not that your's isn't good SaberMaster [http://forums.massassi.net/html/biggrin.gif] It Just does'nt work in MP, and that's really the point!! [http://forums.massassi.net/html/wink.gif] )

</font>


1: SavageX

2: It actually makes the player model invisible and then creates those nasty thingies and makes them fly around, then when player respawns it makes player model visible again

3: I like cheese.

------------------
Uh-uh. I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kind of lost track myself. But being this is a .44 Magnum, the most powerful handgun in the world, and would blow your head clean off, you've got to ask yourself one question: Do I feel lucky? Well do ya, punk?
Last edited by mb; today at 10:55 AM.
2002-06-27, 10:26 AM #5
I like cheese too.

------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.

JK editing resources.
And when the moment is right, I'm gonna fly a kite.
2002-06-27, 1:33 PM #6
So do I. What's your favorate? Mine's swiss cheese. [http://forums.massassi.net/html/biggrin.gif]

------------------
The Sniper Missions. Current project, The Sniper Missions
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2002-06-27, 1:35 PM #7
Swiss, problably, or Cheddar . . . I really like Cheddar....

------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.

JK editing resources.
And when the moment is right, I'm gonna fly a kite.
2002-06-27, 2:41 PM #8
Like fondue?

------------------
The Sniper Missions. Current project, The Sniper Missions
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2002-06-27, 2:45 PM #9
Nah, not really...

------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.

JK editing resources.
And when the moment is right, I'm gonna fly a kite.
2002-06-27, 4:05 PM #10
Could you rename this topic 'Animation Help and Cheese talk' ?

------------------
The Sniper Missions. Current project, The Sniper Missions
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack
2002-06-27, 4:43 PM #11
Im just a mod, I cant rename topics. [http://forums.massassi.net/html/frown.gif]

I could close it, or delete it, or change everybodys posts, but no renaming. [http://forums.massassi.net/html/frown.gif]

------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.

JK editing resources.
And when the moment is right, I'm gonna fly a kite.
2002-06-27, 4:48 PM #12
I'm going to go start a cheese topic in the General Forums, pay a visit sometime. [http://forums.massassi.net/html/wink.gif]

------------------
The Sniper Missions. Current project, The Sniper Missions
Major projects working on:
SATNRT, JK Pistol Mod, Aliens TC, Firearms

Completed
Judgement Day (HLP), My level pack

↑ Up to the top!