About This File
I've decided to share my Animator resource which basically lets you play all animations avaliable in this list:
I have converted it from GTA Network to RAGEMP recently. It's a very simple but useful script. Searching through the animations list is like looking for needle in the haystack, considering about 2/5 of all anims cannot be applied to ped and 1/2 of those you wouldn't really find use for. It's a great solution if you don't want to install any mods to view anims. Just include the file and preview! Save included.
There are 12,365 animations to play. Some of anims do not work on player as they are intended to be used on props, vehicles, weapons etc.
You can also experience a few seconds delay on some animations, but none of them causes crashes.
After launching the Animator a drawText will appear in bottom-right corner of the screen, showing you which animation you are viewing including ID, animation group and name.
How to install:
- UnZip the file and move the animation-viewer folder to bridge -> resources folder.
- Include animation-viewer resource in settings.xml.
- Move animator.js from animation-viewer folder to clientside_packages folder and include it in index.js.
How to use:
- Type /animator to launch or close the animator.
- Type /animator help for in-game help.
- Type /animator skip [number] to skip to animation id.
- Type /animator save [savename] to save the animation. ( saves in server root folder in Saved_Animations.txt. )
- Type /animator stop to stop currently playing animation.
- Use LEFT and RIGHT arrow keys to cycle through animations.
- Use UP and DOWN arrow keys to cycle through 100 animations at once.
- All animations are looped.
- Clientside file is minified.
- This resource is made for server developers. It sends huge amounts of data to clientside when launching so use it only to preview/save animations.
- You can see the code here: https://gitlab.com/Hazes/animator-viewer
- Code has been sorted and is a bit more optimized.
- Fixed assembly reference error for those who didn't have System.IO.dll included in their main resource.
- Parsing the number in /animator skip now works correctly.
What's New in Version 1.0.1 See changelog
- Removed unnecessary chat output.