Weapon sheathing

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

Weapon sheathing

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?
Last edited by akortunov on 29 Sep 2018, 11:44, edited 1 time in total.

User avatar
akortunov
Posts: 468
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: 468
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: 99
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.

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

Re: Weapon sheathing

Post by akortunov » 29 Sep 2018, 11:42

https://github.com/OpenMW/openmw/pull/1615

I updated my "weapon sheathing" branch, so resource format is compatible with weapon sheathing feature from MWSE.

Image

User avatar
Amenophis
Posts: 249
Joined: 30 Oct 2011, 04:34
Location: Fortaleza - Ceará - Brasil

Re: Weapon sheathing

Post by Amenophis » 29 Sep 2018, 12:41

Congratulations! I think mainlining your branch would make some MWSE players take a look at OpenMW now.
My fixes and tweaks on vanilla and modded quests for Morrowind.
http://www.nexusmods.com/morrowind/mods/43107/?

User avatar
Thunderforge
Posts: 495
Joined: 06 Jun 2017, 05:57
Github profile: https://github.com/Thunderforge

Re: Weapon sheathing

Post by Thunderforge » 02 Oct 2018, 02:13

Can we make weapon sheathing an optional feature from the Advanced panel and merge it into master?

User avatar
lysol
Posts: 1096
Joined: 26 Mar 2013, 01:48
Location: Sweden

Re: Weapon sheathing

Post by lysol » 04 Oct 2018, 13:13

Is there any way the merging of this right now would make stuff problematic during the post 1.0 dehardcoding? Otherwise, it is a neat thing, especially since it already is compatible with a bunch of mods.
Normal mapped texture replacers, exclusive for OpenMW:
My Nexus page

User avatar
Zini
Posts: 5533
Joined: 06 Aug 2011, 15:16

Re: Weapon sheathing

Post by Zini » 05 Oct 2018, 08:06

I'll have a closer look at it sometimes next week.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests