Attaching custom mesh to bodyparts

Everything about development and the OpenMW source code.
Post Reply
User avatar
akortunov
Posts: 339
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

Attaching custom mesh to bodyparts

Post by akortunov » 24 Feb 2018, 14:11

Is it possible? Or I should add custom bones to skeleton?
Some thoughts:
1. We can show holstered weapons (as in Gothic).
2. We can show rings.

Any suggestions?

User avatar
akortunov
Posts: 339
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

Re: Attaching custom mesh to bodyparts

Post by akortunov » 24 Feb 2018, 17:28

I'll just leave it here:

Image
Image
Image

User avatar
akortunov
Posts: 339
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

Re: Attaching custom mesh to bodyparts

Post by akortunov » 24 Feb 2018, 18:25

The basic idea: I use the xbase_anim.nif with some custom bones, to which I attach weapon meshes. With default skeleton the game behaves just like a vanilla game.
Works for any NPC.

Is there a chance to merge it upstream, if I'll fully implement it?

User avatar
Berandas
Posts: 93
Joined: 28 Oct 2012, 11:23
Location: Prague, Czech Republic
Contact:

Re: Attaching custom mesh to bodyparts

Post by Berandas » 25 Feb 2018, 00:23

There was this project for Morrowind, afaik it was never finished. Though quite a lot of assets were made for it actually.
http://www.gamesas.com/extended-sheathing-t377816.html

User avatar
MiroslavXO
Posts: 97
Joined: 13 Feb 2016, 01:07

Re: Attaching custom mesh to bodyparts

Post by MiroslavXO » 25 Feb 2018, 01:01

I forgot about vanilla skeleton in Morrowind, but basically for shield/sword assets you should have on each hand joint called shield/weapon, so you can constrain them to the hands. It's better if you have separate joints for assets rather then using character skeleton for that. But I don't think it's still posible to have custom rigs, guess that's not supported yet.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests