User:Loriel

Notes of progress on "fixing" some mods

Companions (mostly Emma's)
Issues:
 * Over-strict name checking
 * Initially names starting with a numeral were rejected as errors - now fixed
 * CS still disallows initial numeral in names of scripts - though this is recommended by "Morrowind Scripting for Dummies" which despite its name is a serious resource
 * Script names including "." are rejected as errors
 * There was a weird bug, fixed in OpenMW 0.42, involving name clashes between NPCs and Journal entries - see https://forum.openmw.org/viewtopic.php?f=40&t=4125&start=10#p46637
 * There is an outstanding bug report for addtopic refusing entries with an initial "-" - see https://bugs.openmw.org/issues/3846
 * A fix in later companions is now counter-productive in OpenMW, leading to them initiating combat unnecessarily. See https://forum.openmw.org/viewtopic.php?f=40&t=4125&start=20#p46773

Status
 * Witchgirl (Morgana)
 * Suffers from rejection of her main movement script 1AA_MorganaScript4.4 because of the included "."
 * Laura
 * Suffers from rejection of her main movement script 1AA_LauraScript7.5 because of the included "."
 * Suffered from the journal ID clash - fixed in OpenMW 0.42
 * Beryl
 * Suffers from the counter-productive combat fix
 * Constance
 * Suffers from the counter-productive combat fix
 * Suffers from the addtopic "-" bug
 * Also suffers from syntax errors in scripts that remove her "bonus" spells cast on the player, so they probably become permanant
 * Laurenna (White Wolf of Lokken)
 * Suffered from the counter-productive combat fix
 * Dome Home
 * Ingred suffers from the combat fix

Resolution

I believe Emma would be willing to incorporate the necessary fixes, and make OpenMW-friendly versions available on her website, but she's out of contact for the rest of the month (Aug 2017)

I am also hoping to produce an updated version of the Witchgirl mod, to fix her rather erratic spell control, and possibly extend her capabilities, subject to Emma's agreement/approval.

Other Emma/Grumpy Mods
Kittens are OK, but cats lack a bounding box and fall through the floor... See https://forum.openmw.org/viewtopic.php?f=40&t=4125&start=30#p46801
 * Companionable Cats

Reports of problems, which seem to arise from mod clashes, cause not yet identified
 * Pack Donkeys

Teleportation
CD Cooley's Companion Teleportation now mostly works: (see https://forum.openmw.org/viewtopic.php?f=40&t=4390#p48098)
 * Teleporting between external cells is fine
 * Teleporting within the same cell is fine
 * Teleporting from external to internal cell fails - expected, same as vanilla MW
 * Teleporting from internal to external cell fails - not expected, needs fixing...

From my limited investigation to date, it appears that the script command "Position" is unreliable, but "Positioncell" is OK.

On further examination, the mod uses "SetPos" - which does not appear to be implemented correctly. Namely that moving from interior to exterior cell the coordinates are updated correctly, but the npc being moved goes into an invisible/inactive state. "Position" has a similar problem.

There is a similar situation for moving from external to internal cell, but this is impossible in vanilla Morrowind.

The npc has been removed from original position, can be recovered by "PositionCell" but not by "enable".

Alternatively, SetPos or Position can be used within the original cell to make the npc reappear.

Temporary fix suggested - insert code to check if player is in an exterior cell, if so, move npc to specified exterior point using PositionCell before using SetPos. See https://forum.openmw.org/viewtopic.php?f=40&p=49115#p49115