Author Topic: More death animations mini-mod [ready & working + video]  (Read 9972 times)

0 Members and 1 Guest are viewing this topic.

GetAssista

  • Grandmaster Knight
  • *
  • Corovan robber
    • View Profile
  • Faction: Neutral
More death animations mini-mod [ready & working + video]
« on: June 01, 2008, 02:04:11 PM »
Here you are. Couple easy text changes. Check it out in game, fully compartible with whatever saves/mods available
Initial idea by HellFell, some more animations by me.

Video: http://www.youtube.com/watch?v=sBF7krd2yOE taken from 95x with ragdolls

For 95x and 960 versions of M&B with ragdolls
Search for the following code in Modules\Native\actions.txt (or not native but module directory)
Code: [Select]
fall_head_front 1049602 1
  1.20000 anim_human 40100 40138 17 0 0.00000 0.00000 0.00000  0000000
 fall_body_back 1026  1
  2.70000 ani_died 16 99 17 0 0.00000 0.00000 0.00000 1.8
and replace it with
Code: [Select]
fall_head_front 1049602  8
  1.5 anim_human 40100 40138 18 0 0.0 0.0 0.0 1.0
  1.9 anim_human 45453 45430 18 0 0.0 0.0 0.0 0.0
  1.5 anim_human 45401 45430 18 0 0.0 0.0 0.0 1.5
  1.0 anim_human 45400 45421 18 0 0.0 0.0 0.0 1.0
  1.8 ani_died 16 99 18 0 0.0 0.0 0.0 1.7
  0.8 anim_human 21700 21713 18 0 0.0 0.0 0.0 0.05
  1.5 anim_human 24335 24300 18 0 0.0 0.0 0.0 1.0
  2.0 anim_human 29515 29535 18 0 0.0 0.0 0.0 1.1
 fall_body_back 1026  2
  1.8 ani_died 16 99 18 0 0.0 0.0 0.0 1.8
  1.7 anim_human 45400 45438 18 0 0.0 0.0 0.0 1.6
for 95x and 960 version with disabled ragdolls range of available animations is smaller, because only those ending with guy lying on the floor fit. Replacement code would be
Code: [Select]
fall_head_front 1049602  3
  2.2 anim_human 40100 40138 17 0 0.0 0.0 0.0 1.0
  2.2 ani_died 16 99 17 0 0.0 0.0 0.0 1.7
  2.1 anim_human 45400 45423 3 0 0.0 0.0 0.0 0.5
 fall_body_back 1026  3
  2.7 ani_died 16 99 17 0 0.0 0.0 0.0 1.8
  2.3 anim_human 45400 45423 3 0 0.0 0.0 0.0 0.7
  2.2 anim_human 40100 40138 17 0 0.0 0.0 0.0 1.0

For 90x versions of M&B:
Search for the following code in Modules\Native\human_actions1.txt (or not native but module directory)
Code: [Select]
fall_head_front 1049602  1
  1.200000 anim_human 40100 40138 17 0 0.0 0.0 0.0
If ragdolls are enabled, replace it with
Code: [Select]
fall_head_front 1049602  6
  1.3 anim_human 40100 40138 17 0 0.0 0.0 0.0
  1.0 anim_human 45453 45430 18 0 0.0 0.0 0.0
  1.5 anim_human 45400 45430 3 0 0.0 0.0 0.0
  0.9 anim_human 21700 21713 9 0 0.0 0.0 0.0
  1.3 anim_human 24335 24300 1 0 0.0 0.0 0.0
  1.3 anim_human 29515 29535 6 0 0.0 0.0 0.0
with disabled ragdolls not that many choices
Code: [Select]
fall_head_front 1049602  3
  1.3 anim_human 40100 40138 17 0 0.0 0.0 0.0
  1.8 anim_human 45453 45422 18 0 0.0 0.0 0.0
  1.5 anim_human 45400 45422 3 0 0.0 0.0 0.0

Basically, anything can go as death animation with ragdolls, since the latter kicks in in the end. Most of the results are jerky though because of current ragdoll physics. Those above are the nicest ones

Individual animations are:
anim_human 40100 401xx - standard fall backwards on back.
ani_died 16 99 - standard dramatic kneeling forward, for 95x
anim_human 45400 454xx - fall backwards on face (initial non-death one, falling from heavy strike) 
anim_human 45453 454xx - kneel and turn, then fall (initial getting up from falling, played backwards)
anim_human 21700 21713 - bend over and collapse, only for ragdolls enabled!
anim_human 24335 24300 - swing forward and collapse, only for ragdolls enabled!
anim_human 29515 29535 - thrust forward and collapse, only for ragdolls enabled!

Remove the ones you dont like if necessary :) Don't forget to change animations number in  "fall_head_front 1049602  X"  "fall_body_back 1026  X" accordingly.

Edit: changed 90x ones to latest version
Edit2: changed 95x to the latest version
Edit3: changed 90x to latest version
Edit4: added individual animations highlights
« Last Edit: June 24, 2008, 06:37:37 PM by GetAssista »

spectre:

  • Squire
  • *
  • Faction: Nerds
    • View Profile
  • Faction: Neutral
Re: More death animations mod.
« Reply #1 on: June 01, 2008, 02:06:28 PM »
Could one hope for some description what's the effect?
No good deed goes unpunished.

Highlander

  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
  • MP nick: irc://Highlander
  • WB
Re: More death animations mod.
« Reply #2 on: June 01, 2008, 02:07:26 PM »
Cool, gonna try it out.
< AND DUDE I NEVER USE STUPID CAPS LOCK!

GetAssista

  • Grandmaster Knight
  • *
  • Corovan robber
    • View Profile
  • Faction: Neutral
Re: More death animations mod.
« Reply #3 on: June 01, 2008, 02:13:18 PM »
Could one hope for some description what's the effect?
"fall_head_front 1049602  X" header in actions.txt means that next X strings are variants of "fall_head_front" animation, kicking in randomly with equal probability.
Strings themselves specify what frames to take from animation files (2, 3 and 4 field)  and how quickly to play them (1 field). Last field in a string defines something with ragdoll time of kicking in, but I have yet to understand fullly how it works. Posted strings are a result of numerous trial and error with picking available animations for other actions and seeing if they fit with death. E.g., one can easily spot part of crossbow reloading moves in there

Besides, separate "ani_died" filename for that infamous kneeling animation hints that Armagan is working on more death animations to add :)
« Last Edit: June 01, 2008, 02:18:43 PM by GetAssista »

Dain Ironfoot

  • Grandmaster Knight
  • *
  • No sex please, we're dwarves
    • View Profile
  • Faction: Neutral
Re: More death animations mod.
« Reply #4 on: June 01, 2008, 02:17:23 PM »
Wow, excellent stuff!
The Peninsular War: A Napoleonic mod set in the Iberian Peninsular in 1811

Ry'n ni yma o hyd

Cymro

  • Come-Row My Boat
  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Khergit
Re: More death animations mod [ready & working]
« Reply #5 on: June 01, 2008, 05:31:11 PM »
Any chance of screenshots? It would surely attract more people towards wanting to use it :)

GetAssista

  • Grandmaster Knight
  • *
  • Corovan robber
    • View Profile
  • Faction: Neutral
Re: More death animations mod [ready & working]
« Reply #6 on: June 01, 2008, 05:36:05 PM »
Any chance of screenshots? It would surely attract more people towards wanting to use it :)
Why? :) Screenshots will not capture dynamics, and fraps rendering is too much hassle for me now.
Anyone interested can backup actions.txt, modify it and see all for himself in 2 minutes

Merlkir

  • Grandmaster Knight
  • *
  • This is not me. I'm mr. Pretty.
    • View Profile
  • Faction: Neutral
Re: More death animations mod [ready & working]
« Reply #7 on: June 01, 2008, 06:12:11 PM »
 :cry:

I can't play MaB...a video would be nice..
Don't make me get all Merlkir on your ass.
When I was 12yo I killed a doberman leaping at me with a roundhouse kick.

Raz

  • Holy Warrior
  • Language Moderator
  • *
    • View Profile
  • Faction: Swadian
Re: More death animations mod [ready & working]
« Reply #8 on: June 01, 2008, 06:19:58 PM »
Um, maybe I've done it wrong (which I doubt), but the animations don't look good at all, sorry. Most of the time people die with the knockdown animation and the ragdoll only kicks in when they are about to get up. The new swing death animation continues seconds til after they have died, and then they suddenly collaps. It's also way too slow. The knockback death animation is also way too slow. Those are the only three new ones I've seen so far.

GetAssista

  • Grandmaster Knight
  • *
  • Corovan robber
    • View Profile
  • Faction: Neutral
Re: More death animations mod [ready & working]
« Reply #9 on: June 01, 2008, 07:15:50 PM »
Um, maybe I've done it wrong (which I doubt), but the animations don't look good at all, sorry. Most of the time people die with the knockdown animation and the ragdoll only kicks in when they are about to get up. The new swing death animation continues seconds til after they have died, and then they suddenly collaps. It's also way too slow. The knockback death animation is also way too slow. Those are the only three new ones I've seen so far.
Ah, you probably is looking at them in 90x. They are indeed much too slow there because I forgot to change speed and frames after I adjusted for more or less acceptable transition between animation and ragdoll. I concentrated more on 95x.
You should not expect too much, of course. No newly made animation sequences in here. This is only a trick to make infantry death less repetitive using what we have in game ATM. All the new deaths would be more or less sloppy when ragdoll kicks in, cause skeleton is not lying on the ground at that time. I will also try using some more frames from other actions if I find them. It's a bit tedious though as I do not have animation tool that would read 953 brf and allow tinkering with it out of the game.

Overall speed is more in the realm of personal tastes I guess :) I like it more dramatic. But changing speed is easy.. E.g.here's sped up ones for 95x
Code: [Select]
fall_head_front 1049602  10
  1.3 anim_human 40100 40138 17 0 0.0 0.0 0.0 1.3
  1.0 anim_human 40100 40128 17 0 0.0 0.0 0.0 0.3
  1.5 anim_human 40100 40138 17 0 0.0 0.0 0.0 1.0
  1.8 ani_died 16 99 17 0 0.0 0.0 0.0 0.1
  2.1 anim_human 45400 45440 3 0 0.0 0.0 0.0 2.1
  1.0 anim_human 45400 45421 3 0 0.0 0.0 0.0 2.1
  2.0 anim_human 21700 21720 9 0 0.0 0.0 0.0 1.4
  1.5 anim_human 24335 24300 1 0 0.0 0.0 0.0 0.9
  2.0 anim_human 29515 29535 6 0 0.0 0.0 0.0 1.1
  1.3 anim_human 7020 7000 268632068 58726 0.0 0.0 0.0 1.0
 fall_body_back 1026  3
  1.8 ani_died 16 99 17 0 0.0 0.0 0.0 1.8
  2.1 anim_human 45400 45453 3 0 0.0 0.0 0.0 0.7
  2.0 anim_human 21700 21720 9 0 0.0 0.0 0.0 1.4
and 90x
Code: [Select]
fall_head_front 1049602  6
  1.3 anim_human 40100 40138 17 0 0.0 0.0 0.0
  2.1 anim_human 45400 45440 3 0 0.0 0.0 0.0
  2.0 anim_human 21700 21720 9 0 0.0 0.0 0.0
  1.3 anim_human 24335 24300 1 0 0.0 0.0 0.0
  2.0 anim_human 29515 29535 6 0 0.0 0.0 0.0
  1.3 anim_human 7020 7000 268632068 58726 0.0 0.0 0.0

Oh, if anyone has fraps -> youtube setup nice and easy (I do not:(), I would be immensely grateful for some videos. Just hire a bunch of recruits and shoot them in the face and in the back.
« Last Edit: June 01, 2008, 07:53:21 PM by GetAssista »

Trooper5445

  • Master Knight
  • *
  • Exiled
    • View Profile
  • Faction: Rhodok
Re: More death animations mod [ready & working]
« Reply #10 on: June 01, 2008, 08:11:57 PM »
Training and quick battle work too.
The Forum of Taleworlds is a medium sized, liberal forum, remarkable for its tight restrictions on idiocy. Its population of 33.46 thousand citizens are ruled by a group of mostly-benevolent dictators, who grant the populace the freedom to live their own lives but watches carefully for anyone to slip up.
Quote from: Marx
I wouldn't want to belong to any club that would have me as a member

Raz

  • Holy Warrior
  • Language Moderator
  • *
    • View Profile
  • Faction: Swadian
Re: More death animations mod [ready & working]
« Reply #11 on: June 01, 2008, 10:49:03 PM »
Good luck on this.  :)

Zaro

  • italiano stallion-o
  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
Re: More death animations mod [ready & working]
« Reply #12 on: June 01, 2008, 10:54:04 PM »
Sounds good max, but you're stealing the original poster's thunder.

Chel

  • Master Knight
  • *
    • View Profile
  • Faction: Neutral
Re: More death animations mod [ready & working]
« Reply #13 on: June 01, 2008, 11:19:31 PM »
GetAssista told me about doing this to add some variation to troop deaths and I included some of the new animations in my mod.
 
I made a short video (with a gruesome end) where you can perhaps see some of them in action, but its much more interesting in-game:
http://www.youtube.com/watch?v=WLI-5Fi-eT0
(I only used 4 new animations, more could be made to fit well with some careful cutting of extra frames.)
« Last Edit: June 01, 2008, 11:27:47 PM by Chel »

Zaro

  • italiano stallion-o
  • Grandmaster Knight
  • *
    • View Profile
  • Faction: Neutral
Re: More death animations mod [ready & working]
« Reply #14 on: June 01, 2008, 11:25:06 PM »
Thanks Chel, quite a bit better. The ones that use the knock-down animation look like they're falling down injured which is refreshing.