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

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 1 reply
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...