mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 06:23:53 +00:00
Merge branch 'textkeys-doc' into 'master'
Update the Animated Creature Docs See merge request OpenMW/openmw!2254
This commit is contained in:
commit
ed45804b0e
1 changed files with 11 additions and 7 deletions
|
@ -184,17 +184,21 @@ The textkeys file is placed in the same folder as the model and matches the mode
|
||||||
* ``meshes/land_racer.dae``
|
* ``meshes/land_racer.dae``
|
||||||
* ``meshes/land_racer.txt``
|
* ``meshes/land_racer.txt``
|
||||||
|
|
||||||
While it's possible to write it by hand, OpenMW's Collada Exporter offers a
|
While it's possible to write textkeys by hand, OpenMW's COLLADA Exporter offers
|
||||||
convenient option to export a textkeys file based on Blender's timeline markers
|
a convenient option to export them based on Blender's pose markers. **Pose markers
|
||||||
(not to be confused with pose markers which are contained per action). What you
|
are stored per action** and shouldn't be be confused with timeline markers which
|
||||||
need to do is create properly named timeline markers for each animation and
|
are global to the Blender file. When actions are present in the NLA Editor as
|
||||||
enable the ``Export Textkeys`` option in the exporter.
|
strips, their containing pose markers will be used to write the textkeys. Any
|
||||||
|
frame offset and scaling of the strips is taken into account and affects the
|
||||||
|
final textkey values. Be sure to have ``Export Textkeys`` option enabled in
|
||||||
|
the exporter.
|
||||||
|
|
||||||
|
|
||||||
.. image:: https://gitlab.com/OpenMW/openmw-docs/-/raw/master/docs/source/reference/modding/custom-models/_static/landracer-textkey-markers.jpg
|
.. image:: https://gitlab.com/OpenMW/openmw-docs/-/raw/master/docs/source/reference/modding/custom-models/_static/landracer-textkey-markers.jpg
|
||||||
:align: center
|
:align: center
|
||||||
|
|
||||||
In the example of ``walkforward`` the timeline markers should be named
|
In the example of ``attack1`` action, it needs to contain pose markers named
|
||||||
``walkforward: start`` and ``walkforward: stop``.
|
``attack1: start`` at **frame 1** and ``attack1: stop`` at **frame 30**.
|
||||||
|
|
||||||
|
|
||||||
Exporter Settings
|
Exporter Settings
|
||||||
|
|
Loading…
Reference in a new issue