Skip to content

Commit

Permalink
Merge pull request #119 from RagnarokResearchLab/rsm-animation-types
Browse files Browse the repository at this point in the history
Add a list of the known AnimationTypeID values for RSM props
  • Loading branch information
rdw-software authored Sep 16, 2024
2 parents 1c61fd9 + e03d574 commit 535b621
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/file-formats/RSW.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,17 @@ Instances of a given [RSM](/file-formats/rsm) model can be placed in the scene a
| `ScaleY` | 240 | 4 | `float` | Y scale factor applied to the model instance |
| `ScaleZ` | 244 | 4 | `float` | Z scale factor applied to the model instance |

The known values for `AnimationTypeID` are:

```cpp
enum AnimationTypeID {
ANIMATION_TYPE_NONE = 0,
ANIMATION_TYPE_LOOPING = 2,
}
```

Only those types have been observed in the game files, though other modes might be supported.

##### Dynamic Light Sources

Dynamic lights aren't actually rendered by the client, as their output is baked into the [lightmaps](/file-formats/gnd##lightmap-slices) stored in the map's GND file:
Expand Down

0 comments on commit 535b621

Please sign in to comment.