More investigation into .obj, document sprite composition in .set
This commit is contained in:
@@ -64,6 +64,17 @@ The `.MAP` files reference these tiles as palette entries. Each cell in the map
|
||||
has an object index and frame number. I *suspect* the object index is relative
|
||||
to the correct section of the palette. TODO: check this.
|
||||
|
||||
The references to objects can be qualified like `_N`. When pointing to an object
|
||||
with multiple sprites in it, this seems to instruct WH40K_TD.exe to assemble the
|
||||
sprites into one logical sprite with some height.
|
||||
|
||||
Example: pillar.obj. Only referred to as `pillar_2` in .set files. It has 6
|
||||
frames: 2x bottom, middle and tops of pillars. All 6 sprites are shown
|
||||
individually when referenced as `pillar`, but only 2 sprites, with a blue
|
||||
height indicator (presuambly), are shown when referenced as `pillar_2`:
|
||||
|
||||
|  | |[pillar.obj as pillar_2](img/pillar_2_sprites_meta.png) |
|
||||
|
||||
## Remaining questions
|
||||
|
||||
Do positions in the palette have special meaning? e.g. is a particular range
|
||||
|
Reference in New Issue
Block a user