Jump to content
The Dark Mod Forums

Ragdoll not working


PaulRazvan

Recommended Posts

Hi.

 

I know this is not TDM, but Doom 3, again. I hope I'm not causing problems. But I find your forums alot friendlier and active.

 

I have a custom monster in-game working all well, except for the ragdoll. When killed it goes in T-Pose. I must tell I don't know how to set-up a ragdoll, some people who have looked told me it's something wrong with the animations, some told me it's nothing wrong with them but can't seem to fix it. Now here comes the question. Is anyone on these forums willing to help me try and fix it if I send him the files? I've been having this problem for some time.

Thanks

Link to comment
Share on other sites

Working with ragdolls is a pretty high-level task. There are probably only a couple people around here that know how to do that.

Link to comment
Share on other sites

I think it requires a def file with constraint data? I'm not sure how else we'd go about that so lemme do ya a look here. Aight, so digging into some of our def files I think I can point to the block that will properly handle your ragdoll. These are used in TDM but considering these look pretty standard, I'd say they're inherited functions from the original D3 ragdoll system.

 

One thing to take into account, is if you're indeed using a brand new monster (and importantly with new rig with anims) you'll most certainly need to define this somewhere for the game to understand your rig's ragdoll constraints. I wanted to create a roller bot at some point but I haven't delved enough into this process myself to be %100 certain but hopefully this will help.

 

*Taken from tdm_ai_base.def*

 

"editor_float mass" "Character's mass in kg."
"editor_var ragdoll" "Specifies the .af file to use for a ragdoll when the creature dies"
"editor_var ragdoll_slomoStart" "Start time of ragdoll slow motion relative to death time, defaults to -0.2"
"editor_var ragdoll_slomoEnd" "End time of ragdoll slow motion relative to death time, defaults to 1.0"
"editor_var ragdoll_jointFrictionDent" "Joint friction dent on ragdoll."
"editor_var ragdoll_jointFrictionStart" "Start time for joint friction dent"
"editor_var ragdoll_jointFrictionEnd" "End time for joint friction dent"
"editor_var ragdoll_contactFrictionDent" "Contact friction dent on ragdoll."
"editor_var ragdoll_contactFrictionStart" "Start time for contact friction dent"
"editor_var ragdoll_contactFrictionEnd" "End time for contact friction dent"
"editor_bool af_push_moveables" "whether the monster's articulated figure pushes obstacles while they're alive."

 

If it's any help, you may want to compare this to whatever default base you're pulling from in stock D3 assets. "Editor_var_ragdoll" looks to be of the greatest interest to what you're encountering, because I'd imagine if the game cannot locate a proper .af file; it's likely to be kicking it to Tpose for lack of identifying the correct information. If you do have all this information lined up in a working def file, I'd second check the lines for typos as well as the integrity of the af file itself.

 

EDIT: Did a tad bit more searching and I think this .af file crops up in one other spot (directly on a character def file). It's worth assuming the articulatedFigure declaration is searching the .af file so maybe this is closer to what you're needing.

 

 

/**

* ============================= CORPSE ============================
**/
entityDef atdm:env_ragdoll_builder_acolyte
{
"inherit" "atdm:env_ragdoll_humanoid_base"
"editor_usage" "Ragdoll for builder_acolyte"
"model" "tdm_ai_builderacolyte"
"articulatedFigure" "guard_base"
"def_head" "atdm:ai_head02_hood_brown"
"head_joint" "Head"
}

 

I'm starting to get kinda curious how to rig up some of this stuff myself now that I've been rummaging around in these folders a good bit. Either way hope that helps man!

Modeler galore & co-authors literally everything

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
×
×
  • Create New...