Difference between revisions of "Documentation/Engine/Mover model group"
< Documentation | Engine
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== Mover desc == | == Mover desc == | ||
− | Unit <code>mover_desc</code> represents model and it's data. | + | Unit <code>mover_desc</code> represents model and it's data. It is located in <code>/base/def/world/mover_desc.sii</code>. |
+ | <pre> | ||
+ | mover_desc : mover_desc.worker_3 { | ||
+ | model_desc: "/model/mover/characters/new_generation/new/models/man/worker_vest/worker_vest_nemiro_lod0.pmd" | ||
+ | |||
+ | lods[0]: "/model/mover/characters/new_generation/new/models/man/worker_vest/worker_vest_nemiro_lod1.pmd" | ||
+ | lods[1]: "/model/mover/characters/new_generation/new/models/man/worker_vest/worker_vest_nemiro_lod2.pmd" | ||
+ | lods[2]: "/model/mover/characters/new_generation/new/models/man/worker_vest/worker_vest_lod3.pmd" | ||
+ | |||
+ | lod_distances[0]: 10 | ||
+ | lod_distances[1]: 30 | ||
+ | lod_distances[2]: 90 | ||
+ | |||
+ | group_tags[]: human | ||
+ | group_tags[]: man | ||
+ | group_tags[]: cauca | ||
+ | group_tags[]: worker | ||
+ | } | ||
+ | </pre> |
Revision as of 11:12, 2 May 2019
Contents
Mover model group is a new mover definition unit. Idea of this new unit is to have a system which can easily combine compabible 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 easily "skin" them to specific bones.
The whole system consists of four units:
Mover desc
Unit mover_desc
represents model and it's data. It is located in /base/def/world/mover_desc.sii
.
mover_desc : mover_desc.worker_3 { model_desc: "/model/mover/characters/new_generation/new/models/man/worker_vest/worker_vest_nemiro_lod0.pmd" lods[0]: "/model/mover/characters/new_generation/new/models/man/worker_vest/worker_vest_nemiro_lod1.pmd" lods[1]: "/model/mover/characters/new_generation/new/models/man/worker_vest/worker_vest_nemiro_lod2.pmd" lods[2]: "/model/mover/characters/new_generation/new/models/man/worker_vest/worker_vest_lod3.pmd" lod_distances[0]: 10 lod_distances[1]: 30 lod_distances[2]: 90 group_tags[]: human group_tags[]: man group_tags[]: cauca group_tags[]: worker }