When playing DAI for Human Male with warrior class, I like wearing Plate Mail of the Dragon Hunter armor, but it has a nasty visual bug, it's clipping through the shields. This mod fixes this issue.
Values for moving weapon and shield away from the armor, should be applied based on character, gender, race, and class. Because of this right now this mod fixes these combinations:
- Vestments of the Dragon Hunter (Light Armor)
- None
- Armor of the Dragon Hunter (Medium Armor)
- None
- Plate Mail of the Dragon Hunter (Heavy Armor)
- Human Male Warrior Inquisitor
Files in the src
directory were made by using Frosty Editor export EBX to XML function.
Files have this structure:
Where each ItemPartPartyMemberRuntimeAppearance
defines which appearance armor would have based on character, gender, race, and class. So the same armor may have a different appearance for different party members or the main character.
AppearanceID
defines variables for which combination of character, gender, race, and class block of ItemPartPartyMemberRuntimeAppearance
applies. It's a lot of combinations to find the exact match, so I thought that it would take me a while to figure out which is which. But thanks to the kind soul that wrote this post on nexusmods, I don't have to guess.
PartyMemberID values:
- Inquisitor
- Cassandra
- Sera
- Dorian
- Blackwall
- Cole
- Vivienne
- Solas
- Varric
- Ironbull
Gender values:
- Male
- Female
PartyMemberClassTypeID values:
- Warrior
- Rogue
- Mage
- (For any companion)
ItemRaceID values:
- Human (or for any companion)
- Elf
- Dwarf
- Qunari
So for my combination (Human Male Warrior Inquisitor), I need these values:
<PartyMemberID>0</PartyMemberID>
<Gender>1</Gender>
<PartyMemberClassTypeID>1</PartyMemberClassTypeID>
<ItemRaceID>0</ItemRaceID>
Under AppearanceRuntimeRef/OnDisplayTimelines
add a new item and set it to the BWTimeline
file from DA3/Animation
. Since I needed to move the shield I chose DA3/Animation/set_torso_sockets_to_armor_thickness_50
.
Thats all.
When you change your armor, you can notice that weapons on the side or back move a little. This is very noticeable in the inventory screen when you remove and apply armor. This happens because each armor has OnDisplayTimelines
, which is an animation that applies to armor, that moves weapons.
Because this armor doesn't have any OnDisplayTimelines
, no animation is run when wearing it. So weapons stay in the position of the last run animation. You can actually fix this bug with this armor, by simply wearing any other armor and then applying Dragon Hunter armor.