Project

General

Profile

Bug #3278

OpenMW-CS: Unchecking "Auto Calc" flag changes certain values

Added by Martin Otto over 1 year ago. Updated 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Editor
Target version:
Start date:
03/28/2016
% Done:

0%

Reproducibility:
Always
Operating system:
Windows
Severity:
Minor

Description

When editing an NPC record in the Objects table, you may want to uncheck the "Auto Calc" flag in order to adjust some values, e.g. the NPC's level or his sneak skill. While all attribute and skill values remain the same, the values for "Level", "Health", "Mana", "Fatigue", "NPC", "Disposition", "Reputation" and "Gold" change to unrealistic values. They should keep their former values too.

This was tested with the latest nightly build from Ace.

System: Windows 7 (32 bit)

OpenMW-CS_AutoCalcIssue_01.jpg View - Before unchecking "Auto Calc" flag: everything's fine. (475 KB) Martin Otto, 03/28/2016 02:26 PM

OpenMW-CS_AutoCalcIssue_02.jpg View - After unchecking "Auto Calc" flag: odd values occur. (479 KB) Martin Otto, 03/28/2016 02:26 PM

History

#1 Updated by Kyle Cooley about 1 year ago

  • Target version set to openmw-cs-1.0

#2 Updated by Alf Henrik Sauge 4 months ago

Is this still an issue? I tried to reproduce this with the latest code, but all I get is some fairly sensible values. I do however, not have the same file and I'm running Linux.

#3 Updated by Loriel 2 3 months ago

I can confirm the problem.
Using recent (7 August 2017 I think) Nightly Win 64 on Windows 8.1, and same npc ("A smuggler boss")
Level displays as 0 (should be 7)
Health, mana and fatigue are large apparently random values.
Attributes are mostly zero except Endurance 15.
Skills are either very high or very low within the 0-255 range - zero down to Acrobatics, Light armor 244, remainder 253-255.

Additional comment - vanilla CS displays the autocalced values, though greyed out - attributes, health etc. OpenMW CS greys out the health etc (and displays blank), and apparently omits attributes and skills.

I've not tried saving the game with the "faulty" record, so can't say whether it's merely a display problem or whether it's actually corrupting the data.

#4 Updated by Kyle Cooley 3 months ago

For anyone potentially looking into this, it's very likely that the random values are the result of uninitialized data fields.

#5 Updated by Alexei Dobrohotov 2 months ago

  • Category set to Editor

Also available in: Atom PDF