Changes

Jump to navigation Jump to search

Documentation/Engine/Mover model group

29 bytes added, 09:26, 6 December 2022
m
no edit summary
__TOC__
Mover model group is a new mover definition unit. Idea The idea of this new unit is to have a system which can easily combine compabible compatible models and animations. The main use is for characters to remove the need of definition for every combination of models and animations. Moreover these mover groups can use props in separate models and you can easily "skin" them to specific bones.
The whole system consists of four units:
== Mover desc ==
Unit <code>mover_desc</code> represents model and it's its data. It is located in <code>/base/def/world/mover_desc.sii</code>.
<pre>
mover_desc : mover_desc.worker_3 {
'''Optimization'''
Because engine ensures that only valid model-anim combinations will be created, it may seem that animation tags should contain only tags describing the animation activity. But because the model-anim combinations are choosen in the moment of mover generation, we want to limit the combination pool as much as possible. Because of that mover anim tags should contain (apart from the activity itself) tags describing compatible mover desc. In <code>mover_anim</code> the example above these tags are <code>human</code> and <code>man</code>. And in the related mover group use these tags in <code>anim_tags</code>. In the example it is the tag <code>man</code>.
68
edits

Navigation menu