Everything about development and the OpenMW source code.
- Site Admin
- Posts: 1193
- Joined: 05 Aug 2011, 22:21
- Location: Wroclaw, Poland
Script instructions for manipulating attributes are in place. Also, player attributes are displayed and updated correctly in the stats window. I think the colour-scheme is slightly off, but we can fix that later. Nico, you can pull now, if you want.
Added instructions for health, magicka and fatigue. The default values for the player are a bit odd. I am pretty sure, that I am reading them correctly. But it hardly matters because these values are overwritten in the character generation process anyway.
Nicely done. Man it seems you have been doing everything around here lately
Those default values look suspicious, where did they come from? Might just be some uninitialized remnants from the original engine/editor that got stored in the ESM somehow?
From the the NPC "Player". Unless there is a very subtle bug, that I haven't noticed, these values come directly from the Morrowind.esm file (forgot to check again).
Man it seems you have been doing everything around here lately
I noticed. And I hope that will change again soon. It is rather lonely at the top.
Fixed. Seems the struct layout used for the NPC record was actually wrong. Probably based on bad info from the net a long time ago. Anyway, a quick trip to uesp.net gave me the right struct layout.