Changes

Jump to navigation Jump to search

Documentation/Engine/Mover model group

414 bytes added, 13:56, 2 May 2019
no edit summary
::Props is placed to the bone A placement plus <code>bone_offset_a</code> plus <code>model_offset</code> with rotation given by direction vector ('''from''' bone B placement plus <code>bone_offset_b</code> '''to''' bone A placement plus <code>bone_offset_a</code>) plus <code>model_rotation</code>
:: For example a broom.
 
== Mover model group ==
* <code>country_specific</code> If true then only mover desc containing country tag given by mover placement will be generated.
'''How does it work?'''
 
Quite simple. When the unit is loaded, it collect all mover desc containing all tags from the <code>desc_tags</code> property and all mover anim containing aall tags from the <code>anim_tags</code> property. When the mover is generated, it randomly choose one of the collected mover desc and then it try to choose one of the collected movert anim which uses the same model skeleton as the choosen mover desc mode.
91
edits

Navigation menu