Author Topic: decapitations and severed limbs death animations.  (Read 6729 times)

0 Members and 1 Guest are viewing this topic.

rorschach82

  • Veteran
  • *
  • yea.. i am bat shit crazy..
    • View Profile
  • Faction: Neutral
decapitations and severed limbs death animations.
« on: September 15, 2009, 02:35:08 AM »
i haven't tried this yet. it just crossed my mind since i'm gonna try learning custom animations next.

anyway, now that it's somewhat possible to create custom animations with openBRF. has anyone tried animation that disconnects one bone segment from another?
or maybe just scaling the bones during animation[scaling the native bones somehow ends up scaling the space between the bones as well..)
without resizing the mesh?

the reason i'm asking this is.. i want to create custom death animations and adding decapitations and severed limbs..

is this possible? has anyone tried this yet? any success??

amade

  • Grandmaster Knight
  • *
  • Own up and take it like a man
    • View Profile
    • Studio Wossname
  • Faction: Neutral
Re: decapitations and severed limbs death animations.
« Reply #1 on: September 15, 2009, 02:41:54 AM »
Hmm... you know how shields would fly off your arm when it gets shattered? Would it be possible to achieve the same effect with head models? It doesn't seem to involve disconnecting the bones, since it's a seperate object that is assigned to the bone.

Don't you just love herding cattle?
*end.transmission - Studio Wossname*
___________________________________________________________________________________________________________________________

   .

rorschach82

  • Veteran
  • *
  • yea.. i am bat shit crazy..
    • View Profile
  • Faction: Neutral
Re: decapitations and severed limbs death animations.
« Reply #2 on: September 15, 2009, 02:49:21 AM »
yea. i was wondering if that effect can be simulated without animation. but the death animation seems to control where the head is.
and afterwards, the physics engine takes over and you see them falling off down the stairs.. etc..

edit: anyway, there's already different animations for dying from head, stomach, or chest wounds.. i was thinking i'll just modify that if it was possible..
« Last Edit: September 15, 2009, 02:51:38 AM by rorschach82 »

dejawolf

  • Knight
  • *
    • View Profile
  • Faction: Nord
  • M&BWB
Re: decapitations and severed limbs death animations.
« Reply #3 on: September 15, 2009, 03:33:10 AM »
well, you could turn off rendering off the head.. there's some command that turns it off when you wear a plate helmet. but not sure how to link it to a head hit.
although that might leave a flying helmet or hat.
put something in the tip jar, and i'll divert more time to M&B modeling.

viking model pack
medieval helmet pack
donations so far: 223€! don't ask me for permission, just use the damn models

rorschach82

  • Veteran
  • *
  • yea.. i am bat shit crazy..
    • View Profile
  • Faction: Neutral
Re: decapitations and severed limbs death animations.
« Reply #4 on: September 15, 2009, 03:38:29 AM »
well, you could turn off rendering off the head.. there's some command that turns it off when you wear a plate helmet. but not sure how to link it to a head hit.
although that might leave a flying helmet or hat.

you could turn off the head mesh by changing the code of the equipped helmet? i didn't know that. i thought that only applies to the hair mesh?

edit: nvm. itp_covers_head.. removes the head mesh.. wow, i didn't notice that.. this gives me an idea.. (although, something unrelated to this.)
« Last Edit: September 15, 2009, 03:56:04 AM by rorschach82 »

NaglFaar

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Nord
  • MP nick: NaglFaar
  • M&BWBNW
Re: decapitations and severed limbs death animations.
« Reply #5 on: September 15, 2009, 08:12:32 AM »
well, you could turn off rendering off the head.. there's some command that turns it off when you wear a plate helmet. but not sure how to link it to a head hit.
although that might leave a flying helmet or hat.

you could turn off the head mesh by changing the code of the equipped helmet? i didn't know that. i thought that only applies to the hair mesh?

edit: nvm. itp_covers_head.. removes the head mesh.. wow, i didn't notice that.. this gives me an idea.. (although, something unrelated to this.)

I really hope you can pull this off. I can't contribute with more than my support.
Good luck!
Mæli þarft eða þegi


the thread is in Alpha stages and when all the ideas have been put together and implemented the taleworlds post shall be completed.

cdvader

  • Guest
Re: decapitations and severed limbs death animations.
« Reply #6 on: September 15, 2009, 09:42:10 AM »
Yes I have tried this. I tried to do a decapitation animation, but sadly, I have to say it is not possible. The itp_covers_head is a flag, not a command, so you can't assign a flag on the run to something. It'd needed to be made into a operation, e.g like the party has 'disable_party' which auto-forces the pf_disabled flag onto the party.

Dain made a animation where the gun suddenly moved up and down when reloading, I asked him how did he do it and he said he vertex animated the weapon. Not sure if you can vertex anim the helmets, though.

Flanged

  • Sergeant Knight
  • *
    • View Profile
  • Faction: Nord
Re: decapitations and severed limbs death animations.
« Reply #7 on: September 15, 2009, 08:03:34 PM »
I think I might've found a way to chop off an arm... it was a mad idea, came to me this morning, but I've got a feeling it might work.  Does anybody have Blender set up so that it can convert .obj to .md3?  I have Milkshape (Blender won't work on 64 bit) and Milkshape is refusing to do the job - it says "Couldn't find control file C:\Users\MyName\Desktop\myobject.qc   .  I don't know what that means.

If anyone has Blender or Milkshape working right I have a little object I need converted - I can send it via 4share.

Is there a vader in the house?

----------------------------------------------------

cdvader

  • Guest
Re: decapitations and severed limbs death animations.
« Reply #8 on: September 15, 2009, 09:25:42 PM »
If you're trying to unlink the bone and then make the anim and export it, etc, it won't work - I tried that one. But please do share your idea for us. :P

Sorry, I don't use Blender.

amade

  • Grandmaster Knight
  • *
  • Own up and take it like a man
    • View Profile
    • Studio Wossname
  • Faction: Neutral
Re: decapitations and severed limbs death animations.
« Reply #9 on: September 15, 2009, 10:03:27 PM »
Yeah, I can export md3... But do you want to import it into milkshape or BRFedit? BRFedit only exports md3 but does not import it IIRC.

Don't you just love herding cattle?
*end.transmission - Studio Wossname*
___________________________________________________________________________________________________________________________

   .

Flanged

  • Sergeant Knight
  • *
    • View Profile
  • Faction: Nord
Re: decapitations and severed limbs death animations.
« Reply #10 on: September 15, 2009, 10:28:24 PM »
Okay, here is the idea... and it will only work if the enemy is equipped with the particular armour set and "shield" I am about to tell you about.  But that is okay.  We don't want to be chopping arms off constantly in every fight... it should be a special occassion.

Okay, so I make a certain troop wear this modified armour.



It is modified in the sense that half an arm is missing, from the elbow.  It's the shield arm.  We will also have to make an invisible glove for the troop to wear... his real shield arm below the elbow will have to be completely invisible to the player.

I then make a "false arm" like this:



This arm will be treated as a shield - it will have all the attributes of a shield, will be entered into the module system as a shield (with low hit points), and will be raised in battle like a shield (it is positioned exactly where an arm holding up a shield would go) - and it will have to be converted to .md3 format at some point, because all shields are .md3. 

In battle, the enemy wearing the armless armour, the invisible glove, and the "false arm shield" (bear with me here) will raise the false arm as if trying to defend himself.  It will have to be positioned exactly in Wings or BRFedit to meet up with the movements of the "armless armour" as much as possible.

Like this, though of course the rest of the arm will be more bent and closer in while in the game:


Hopefully we can put the hand on the right way up as well.  :D

When the player hits the "shield" it will react as a weak shield does - by breaking and twirling off into the grass, leaving the enemy appearing to have one arm... like so:



Here is an artist's impression of how this would look in the game with a sword cut doing the damage...

(click to show/hide)

Whaddaya think?
« Last Edit: September 15, 2009, 10:47:31 PM by Flanged »
----------------------------------------------------

amade

  • Grandmaster Knight
  • *
  • Own up and take it like a man
    • View Profile
    • Studio Wossname
  • Faction: Neutral
Re: decapitations and severed limbs death animations.
« Reply #11 on: September 15, 2009, 10:35:15 PM »
Shields are md3 when you export it out of BRFedit because it's vertex animated. You can import OBJ shields and it'll work fine. The vertex animated part is for when you stow it away behind your back, there's a strap that "appears" over your shoulder and across your chest. And I just mentioned in the previous post BRFedit can't import md3 (nor can openBRF). However, you can append OBJs to make vertex animated meshes, but I don't think it's necessary for what you want to do.

Don't you just love herding cattle?
*end.transmission - Studio Wossname*
___________________________________________________________________________________________________________________________

   .

Flanged

  • Sergeant Knight
  • *
    • View Profile
  • Faction: Nord
Re: decapitations and severed limbs death animations.
« Reply #12 on: September 15, 2009, 10:46:19 PM »
Damn, I should know that.  I've imported shields before.  Well, it gets me a step closer to the aim anyways.
----------------------------------------------------

amade

  • Grandmaster Knight
  • *
  • Own up and take it like a man
    • View Profile
    • Studio Wossname
  • Faction: Neutral
Re: decapitations and severed limbs death animations.
« Reply #13 on: September 15, 2009, 10:52:29 PM »
Well, the idea should work anyway for getting decapitated hands. But apart from it being a novelty thing it's not much use if you want to be able to equip proper armor, shields and gloves. Hmm... maybe for a zombie mod?

Don't you just love herding cattle?
*end.transmission - Studio Wossname*
___________________________________________________________________________________________________________________________

   .

Flanged

  • Sergeant Knight
  • *
    • View Profile
  • Faction: Nord
Re: decapitations and severed limbs death animations.
« Reply #14 on: September 15, 2009, 10:58:22 PM »
Yeah, it would only work for special opponents - maybe peasants and farmers if you're feeling cruel, or zombies like you say.  Definitely wouldn't work for the player.  It would be good if you cut off a bosses' arm to defeat him in one fight, and he survived and came back later for revenge.
----------------------------------------------------