SaveScum / skyrim-plugin-decoding-project

Automatically exported from code.google.com/p/skyrim-plugin-decoding-project
0 stars 0 forks source link

Skyrim: Unknown Data flag - purpose discovered (sort of) #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
See the attached image.

The unknown field "02 00 00 00" will cause an armor-addon to lose the ability 
to change with the in-game weight slider.

Changing that to "02 02 00 00" as shown on the right will fix the problem.

Dragonborn.esm so far is the only known case where this happens, but it's been 
validated by deliberately turning that flag off on existing armors.

There is no setting available in the CK to toggle this, so affected objects 
have to be fixed via xEdit. The CK will preserve the change once made though.

Perhaps this will also help lead to decoding the remaining fields in the 
unknown block.

Original issue reported on code.google.com by arthmoor on 26 Feb 2013 at 3:04

Attachments:

GoogleCodeExporter commented 9 years ago
Did some investigation of this.

Changing these values to 00 00 00 00 makes it so the weight slider on the armor 
doesn't work at all for both male and female, so the CK and game use the 100 
weight model on the actor, such that there is an air-gap at the body/headmesh 
boundary for actors of weight less than 100.

Setting the value to 00 02 00 00 fixes the issue with the female model
Setting the value to 02 00 00 00 fixes the issue with the male model
setting the value to 02 02 00 00 fixes both

So I would say for that 'Unknown' field:

02 - Enable weight slider - Male
02 - Enable weight slider - female
00 - Unknown
00 - Unknown

Making a copy of an ARMA in the CK, then changing the model, can result in the 
value getting set to 00, requiring Tes5Edit to fix it. This happened to me 
yesterday, for example.

Not all ARMA records set these fields so it's not necessarily an error if the 
flags are not set.

Original comment by rickerhk...@gmail.com on 26 Feb 2013 at 3:51

GoogleCodeExporter commented 9 years ago
Makes perfect sense. It jives with what we were fixing in the UDBP - a female 
armor that wasn't working with the weight slider.

Original comment by arthmoor on 26 Feb 2013 at 4:55

GoogleCodeExporter commented 9 years ago
So
1) Decode them as rickerhk suggested
2) Make TES5Edit always set them to 02 (internal fixup)?

Original comment by zila...@gmail.com on 26 Feb 2013 at 5:35

GoogleCodeExporter commented 9 years ago
Yep, that should do it.

Original comment by arthmoor on 26 Feb 2013 at 5:56

GoogleCodeExporter commented 9 years ago
Fixed in r1243

Original comment by zila...@gmail.com on 26 Feb 2013 at 6:52

GoogleCodeExporter commented 9 years ago
Not so sure about auto-fixup. Since only the human-ish races use it. Dragons, 
Horses, Draugr, etc all have these values at 00 00 00 00 for their ARMA skins.

Original comment by rickerhk...@gmail.com on 26 Feb 2013 at 7:16

GoogleCodeExporter commented 9 years ago
Oh, yeah, if that's what you meant by auto-fix you don't want to do that. Just 
enable editing them, and only set to 02 when someone does so.

Original comment by arthmoor on 26 Feb 2013 at 7:34

GoogleCodeExporter commented 9 years ago
As you wish, no autofixing in r1244

Original comment by zila...@gmail.com on 26 Feb 2013 at 9:56