Migrate to v2.0.0
A lot of breaking changes were made to get to this version. Here is a guide to fix those breaking changes.
AnimationIds
Changed method of requiring HasAnimatedObject()
function in AnimationIds
module. After replacing the empty deps with your current ones, the directory structure should look like this:
Animations/ (new)
Deps/ (mix)
AnimationIds (new with copied table from old)
AnimationProfiles (old)
AnimatedObjects (old)
AutoCustomRBXAnimationIds (old)
Package/ (new)
...
LoadTracks -> Register + LoadAllTracks
Registration is required before loading tracks now.
This doesn't work perfectly. Do one at a time/at your own risk.
Make sure regex matching is enabled with the .*
button.
Replace this:
(\s*?)Animations:LoadTracks\((([^,\s)]*),?)([^)]*?)\)
with this (copy entire thing):
\1Animations:Register(\2\4)
\1Animations:LoadAllTracks(\3)
Replace this:
LoadRigTracks
with this (copy entire thing):
LoadAllRigTracks
AwaitLoaded -> AwaitAllTracksLoaded
This doesn't work perfectly. Do one at a time/at your own risk.
Make sure regex matching is enabled with the .*
button.
Replace this:
(\s*?)Animations:AwaitLoaded\(([^,\s)]*),?[^)]*?\)
with this (copy entire thing):
\1Animations:AwaitAllTracksLoaded(\2)
Replace this:
AwaitRigLoaded
with this (copy entire thing):
AwaitAllRigTracksLoaded
AreTracksLoaded -> AreAllTracksLoaded
This doesn't work perfectly. Do one at a time/at your own risk.
Make sure regex matching is enabled with the .*
button.
Replace this:
(\s*?)Animations:AreTracksLoaded\(([^,\s)]*),?[^)]*?\)
with this (copy entire thing):
\1Animations:AreAllTracksLoaded(\2)
Replace this:
AreRigTracksLoaded
with this (copy entire thing):
AreAllRigTracksLoaded
AutoLoadPlayerTracks -> AutoLoadAllPlayerTracks
If you have AutoLoadPlayerTracks = true
on the server then you will also need to add AutoRegisterPlayers = true
on the server.
This doesn't work perfectly. Do one at a time/at your own risk.
Make sure regex matching is enabled with the .*
button.
Replace this:
AutoLoadPlayerTracks
with this (copy entire thing):
AutoLoadAllPlayerTracks
StopAllTracks -> StopPlayingTracks
This doesn't work perfectly. Do one at a time/at your own risk.
Make sure regex matching is enabled with the .*
button.
Replace this:
StopAllTracks
with this (copy entire thing):
StopPlayingTracks
Replace this:
StopRigAllTracks
with this (copy entire thing):
StopRigPlayingTracks