<BODY BACKGROUND> OpenMW book html extension
This was a mail in that I packaged up for Wolfgang. I'll let him explain it:
<BODY BACKGROUND> OpenMW book html extension
---------------------------------------------
Summary:
This extension to the simplified HTML used to
encode scroll and book texts in the Morrowind
allows to override the default background
image for each individual text by implementing
the 'oldschool' HTML tag <BODY BACKGROUND="filename">.
Background:
Switching between scene and text view of the
various notes, scrolls and books tends to be
immersion-breaking as, regardless whether the
scene model is a grubby piece of paper or a
gold-rimmed, sealed scroll, the visual presentation
in text view is always the same.
This extension addresses that by allowing the
use of the <BODY BACKGROUND="filename"> HTML
tag in the markup text (with 'filename' being
any valid texture file reference in the vfs)
Compatibility:
The vanilla engine simply ignores all unknown
markup tags, ie. while it doesn't work in
vanilla (or older OpenMW versions), it doesn't
do any harm either
Limitations:
Unlike 'real' HTML, the closing </BODY> tag is
not evaluated - ie. if there are multiple tags
in a single file 'the last one wins'
Files:
- the 'src/apps/openmw/mwgui' subdirectory
contains the files changed from the
main openmw tree (as of 30/06/2022)
- test_bookhtm_body_background.esp is a
baseline mod demonstrating the added tag
using three items found in the chargen phase:
Note to Hrisskar
Paper
Package for Caius Cossades
(NB: the textures used are from vanilla and
not really suitable for text view, but I
didn't want to include bulky textures in
this submission)
- a few screenshots of these items in three
different setups:
a) vanilla textures/standard view
b) vanilla textures/overridden background
c) modded textures/overridden background












