Jump to content
The Dark Mod Forums

Recommended Posts

Posted

I think most anims are 60fps. You can scale down the fps on import. One can modify multiple keyframes using animation curves. For example If you want an arm to be further from the body during the whole time frame you can move a curve responsible for rotation on certain axis up. You can smooth out the curves. But it requires work.

It's only a model...

  • 2 months later...
  • 1 month later...
  • 1 month later...
Posted

I checked that exporter Sotha mentioned: http://arxendofsun.s...o_scene_md5.zip

 

It works nicely with Blender 2.70. I didn't know about its existence. I did small test, and yes, it produces larger files than the exporter I used for Blender 2.49. 36 frame animation - this exporter: 221 K, old exporter: 156 KB (which is still 3 times more than files exported from Maya). It has indeed four decimal places more in every coordinate.

 

The good news is it supports bone layers, which means you can probably with it skip the baking to the second skeleton part and export straight from the skeleton you use to animate.

It's only a model...

  • 1 month later...
Posted

I made a female version of the rig in Blender. I did small changes to the control armature. In Darkmod's skeleton there are bones called LeftArmRoll and RightArmRoll. They are short bones in the middle of the arm.

 

post-2001-0-34953000-1401223681_thumb.png

 

They have been causing a lot of trouble in my rig:

 

post-2001-0-55005700-1401223684_thumb.png

 

They have to stay straight at all times. You can manually correct its rotation but it's counter-productive:

 

post-2001-0-83340900-1401223682_thumb.png

 

That's why I decided to delete those bones from the control armature:

 

post-2001-0-06310100-1401223680_thumb.png

 

Arm does not cause trouble any more.

 

post-2001-0-36295500-1401223679_thumb.jpg

 

In fact I should have done the same with male armature, but male NPCs usually have clothes so the problem is not that noticeable.

 

I changed hand rig. I added additional bones. Rotation and scaling of those bones animates the fingers while you can still animate each finger bone separately. Animated GIF (open to see):

 

post-2001-0-75611600-1401224209_thumb.gif

 

There are three different body types plus one head. Head is not placed 100% correctly, but I did my best:

 

post-2001-0-84169000-1401224269_thumb.png

 

I also recreated first frames of idle animations. Those can be used to make new idle animations that will blend seamlessly with existing ones:

 

post-2001-0-58449700-1401224329_thumb.png

 

You can of course export animations with exporter for Blender 2.70. You don't have to bake the animation. When you've finished animating with 'armature_control' armature, just select the models plus 'tdm_ai' armature and you can export (uncheck reorient). However you have to be careful. If you export animation with only small body part selected, bounding box in game will be too small:

 

post-2001-0-44081200-1401224512_thumb.png

post-2001-0-35863800-1401224860_thumb.jpg

 

That's why you have to select all (you don't have to select the head I think) and then export:

 

post-2001-0-24798000-1401224928_thumb.png

post-2001-0-68610000-1401224914_thumb.jpg

 

There is a weird bug in the 2.70 exporter. I can export only mesh from the first layer. When I try to export from other layers I get this error:

 

post-2001-0-59561700-1401225041_thumb.png

 

I have no idea why, just remember about it.

  • Like 3

It's only a model...

Posted

Looks very handy! Thanks for doing it!

 

Few questions:

1) does it export directly into the female model scale, or does one need to scale when exporting?

2) which exporter are you using for this? ARX: EOS exporter?

3) In this blender version / rig, will blender still export excessive unneeded keyframes?

4) Can I have anims/poses easily moved from the male rig to this new female one? I.e the praying animation I made for the male AI rig suffers from the female arm issue. How easy would it be to get the male animation into this female rig and make an arm-issue-fixed version for the females?

Clipper

-The mapper's best friend.

Posted

1) does it export directly into the female model scale, or does one need to scale when exporting?

Yes, it exports directly to female model scale. No need to scaling down.

2) which exporter are you using for this? ARX: EOS exporter?

Yes.

3) In this blender version / rig, will blender still export excessive unneeded keyframes?

Yes. That depends on the export script, and that didn't change. Doom 3 / Darkmod has a built in converter for Maya animation files. I wonder how hard would it be to modify it to read blend files and convert them to md5.

4) Can I have anims/poses easily moved from the male rig to this new female one? I.e the praying animation I made for the male AI rig suffers from the female arm issue. How easy would it be to get the male animation into this female rig and make an arm-issue-fixed version for the females?

Not easily, because:

a) scale is different

B) there are no armroll bones

which means animations will look bad and will require a lot of fixing.

It's only a model...

Posted

Actually, I take back what I've said. I loaded some proguard's animations and they don't look that bad at all.

It's only a model...

  • 2 months later...
Posted

I removed the naughty elbow bones from the male rig too. Link to the updated rig with latest animations is in the first post.

 

post-2001-0-61243700-1406941974_thumb.png

It's only a model...

  • 6 months later...
Posted

Hi!

 

I just checked the new male rig and there is something strange going on with it.

Selecting some of the actions somehow distorts the character pose. If I choose the "fishing" anim and then "idle_pose" the AI hands are set in a weird fashion. If I browse other anims, and go back the idle_pose, the character is even more distorted. Like some of the bone positions would carry to the idle_pose when I select it.

Clipper

-The mapper's best friend.

Posted

Yeah, that happens because some actions have keyframes on certain bones when other don't. When you change action it's best to select all bones in pose mode and alt+r, alt+g - reset rotation and position. Then when you play animation it will be ok.

It's only a model...

  • 7 months later...
Posted

I might use this to make some characters. I got the male and female versions of the blend files, the md5 script from the Bits and bobs for Blender page, but how do I actually put things together?

 

First of all, there are several objects and armatures in the scene. Some are clothing pieces, others are parts of the body, another seems to be a shadow mesh (I assume a lower polygon model for producing shadows more cheaply). Which layers and objects should I select before exporting? Are there any settings I need to set to a specific value, or is everything in the blend file prepared? Otherwise are there other guidelines or tips, on what to do before exporting and how the meshes should be for correct results?

 

Second issue is that, I'm not sure how each part in the model integrates into TDM. For instance, I know you can select the body and head independently for an NPC in DarkRadiant, and I'm not sure if the clothes are generic as well. Is there a tutorial explaining in more detail how character definitions in TDM work, so I know which parts of my model connect with which existing assets?

Posted

I like this simple Blender animation tutorial is made by a past Doom 3 modder, Brian Trepanier's, he has also a simple tutorial about character animation from 3D max to idtech 4 (the engine used by TDM) i think the principals could be the same on Blender.

 

More Tutorials from him for 3D Max but the principals again could be replicated in blender, i think:

 

Animated prop

 

Animated non-player character there's also a part about making ragdools physics for idtech 4 in this Tutorial, very important for characters.

Posted (edited)

Did you read this article on Darkmod Wiki?

 

Seen it a while ago. It explains a bit about the armatures, but it still feels like I'm missing something. At the end for example, it talks about baking armature actions, but that's something I never heard of in Blender before (only baking lights or shadows or bumpmaps). Also, once I do export the model pieces correctly, a tutorial on how to write up the character def would be handy... I imagine this might be beyond the purpose of this thread though.

Edited by MirceaKitsune
Posted

Baking actions is no longer needed with newest MD5 exporter. All NPCs share the same skeleton (there are 2 versions for both sexes) so exported md5.anim file can be used by all NPCs. Character model in blend file is for reference, but also you need to select both mesh and armature when exporting. If you select only boots for example, 'bounding box' will be to small, which may cause incorrect shadows, so it's best to select all meshes. But it doesn't matter which character you export, md5.anim will be the same. As for def, I think it's best to modify existing ones.

It's only a model...

Posted

Baking actions is no longer needed with newest MD5 exporter. All NPCs share the same skeleton (there are 2 versions for both sexes) so exported md5.anim file can be used by all NPCs. Character model in blend file is for reference, but also you need to select both mesh and armature when exporting. If you select only boots for example, 'bounding box' will be to small, which may cause incorrect shadows, so it's best to select all meshes. But it doesn't matter which character you export, md5.anim will be the same. As for def, I think it's best to modify existing ones.

 

That helps a lot and I will keep it in mind for when I get to this, thanks!

  • 2 months later...
Posted (edited)

I plan to take a look at this during the next days, hopefully exporting the first actual character. I opened up the proguard blend file today, but noticed something peculiar:

 

There are no apparently no bones for the mouth, on either the real armature or control armature. TDM does however have lip syncing, and you clearly see characters flapping their mouths when they talk. What must I do to the new model to make sure that lipsync works? Does simply having and properly weighting the "jaw" vertex group on the head mesh suffice? Same story with eyelids for blinking.

Edited by MirceaKitsune

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

    • JackFarmer

      "Hidden Hands: Vitalic Fever" - new update available including subtitles & compressed briefing video (thanks to @datiswous) and several fixes.
      · 0 replies
    • Wolfmond

      🇬🇧

      2025-04-20
      I'd like to track my level design progress a bit more often now, so I'm using the feed in my profile here.
      I've been working intensively on Springheel's YouTube course over the past few days. I'm currently up to lesson 8. There is so much information that needs to be processed and practiced. 
      I have started to create my own house. As I don't have the imagination to create a good floor plan, I grabbed a floor plan generator from Watabou and experimented with it. I chose a floor plan that I will modify slightly, but at least I now have an initial idea. 
      I used two guards as a measuring tape: The rooms are two guards high. It turned out that I can simply double the number of boxes in DarkRadiant in grid size 8 that are drawn in the floor plan. 
      I practiced the simplest things on the floor plan first. Drawing walls, cutting walls, inserting doors, cutting out frames, creating VisPortals, furnishing rooms.
      I have had my first success in creating a book. Creating a book was easier than I thought. I have a few ideas with books. The level I'm creating will be more or less a chill level, just for me, where I'll try out a few things. I don't have an idea for my own mission yet. I want to start small first.
      For the cellar, I wanted to have a second entrance, which should be on the outside. I'm fascinated by these basement doors from the USA, I think they're called Bilco basement doors. They are very unusual in Germany, but this type of access is sometimes used for deliveries to restaurants etc., where barrels can be rolled or lifted into the cellar. 
      I used two Hatch Doors, but they got completely disoriented after turning. I have since got them reasonably tamed. It's not perfect, but it's acceptable. 
      In the cellar today I experimented with a trap door that leads to a shaft system. The rooms aren't practically finished yet, but I want to continue working on the floor plan for now. I'll be starting on the upper floor very soon.

      __________________________________________________________________________________
      🇩🇪

      2025-04-20

      Ich möchte nun mal öfters ein bisschen meinen Werdegang beim Leveldesign tracken, dazu nutze ich hier den Feed in meinem Profil.
      Ich habe mich in den vergangenen Tagen intensiv mit dem Youtube-Kurs von Springheel beschäftigt. Aktuell bin ich bis zu Lektion 8 gekommen. Das sind so viele Informationen, die erstmal verarbeitet werden wollen und trainiert werden wollen. 

      Ich habe mich daran gemacht, ein eigenes Haus zu erstellen. Da mir die Fantasie fehlt, einen guten Raumplan zu erstellen, habe ich mir einen Grundrissgenerator von Watabou geschnappt und damit experimentiert. Ich habe mich für einen Grundriss entschieden, den ich noch leicht abwandeln werde, aber zumindest habe ich nun eine erste Idee. 

      Als Maßband habe ich zwei Wächter genommen: Die Räume sind zwei Wächter hoch. Es hat sich herausgestellt, dass ich in DarkRadiant in Gittergröße 8 einfach die doppelte Anzahl an Kästchen übernehmen kann, die im Grundriss eingezeichnet sind. 

      Ich habe bei dem Grundriss erstmal die einfachsten Sachen geübt. Wände ziehen, Wände zerschneiden, Türen einsetzen, Zargen herausschneiden, VisPortals erstellen, Räume einrichten.

      Ich habe erste Erfolge mit einem Buch gehabt. Das Erstellen eines Buchs ging leichter als gedacht. Ich habe ein paar Ideen mit Bücher. Das Level, das ich gerade erstelle, wird mehr oder weniger ein Chill-Level, einfach nur für mich, bei dem ich ein paar Sachen ausprobieren werde. Ich habe noch keine Idee für eine eigene Mission. Ich möchte erst einmal klein anfangen.

      Beim Keller wollte ich gerne einen zweiten Zugang haben, der sich außen befinden soll. Mich faszinieren diese Kellertüren aus den USA, Bilco basement doors heißen die, glaube ich. Diese sind in Deutschland sehr unüblich, diese Art von Zugängen gibt es aber manchmal zur Anlieferung bei Restaurants etc., wo Fässer dann in den Keller gerollt oder gehoben werden können. 
      Ich habe zwei Hatch Doors verwendet, die allerdings nach dem Drehen vollkommen aus dem Ruder liefen. Inzwischen habe ich sie einigermaßen gebändigt bekommen. Es ist nicht perfekt, aber annehmbar. 
      Im Keller habe ich heute mit einer Falltür experimentiert, die zu einem Schachtsystem führt. Die Räume sind noch quasi nicht eingerichtet, aber ich möchte erstmal am Grundriss weiterarbeiten. In Kürze fange ich das Obergeschoss an.



      · 2 replies
    • JackFarmer

      On a lighter note, thanks to my cat-like reflexes, my superior puzzle skills and my perfect memory, I was able to beat the remastered version of "Tomb Raider: The Last Revelation" in a new superhuman record time of 23 h : 35 m, worship me!
      · 3 replies
    • Goblin of Akenash

      My mapping discord if anyone is interested, its more of a general modding thing rather than just for TDM 
      https://discord.gg/T4Jt4DdmUb

       
      · 0 replies
    • nbohr1more

      2.13 Moddb Article is up: https://www.moddb.com/mods/the-dark-mod/news/the-dark-mod-213-is-here
      · 1 reply
×
×
  • Create New...