15.03.2011, 23:50
(
Last edited by iggy1; 16/04/2012 at 06:09 PM.
)
What does it do?
With this filterscript you can easily edit any/all animation parameters ingame, and save the animation code to a file. You can save one at a time or save all at once. You can also save the animation as either a zcmd command or ycmd command. Each command processor has its own file, which is saved (.txt file) along with any other files created by this FS to the scriptfiles folder. When you use any save command you will be notified of the filename.
Features
Note: Valid animation indexes are from 1 to 1811.
/ianim [animation index].
Use this to view the animations.
/editanim [animation index][anim parameter][value]
"anim parameter" is the parameter in the animation function you wish to change.
Example usage: /editanim 1000 forcesync 1. - Will set "forcesync" to 1 on animation 1000.
/animspeed [animation index][Float:value] .
Use this to edit the speed of the anim with greater precision. The difference between this and the "editanim" version is this can take a float whereas editanim takes an integer.
/saveanim [animation index][comment]
Save a single animation to a file called "iSavedAnimations.txt"
/saveallanims or /saa
This will save all the animations ( all 1811 ) to a text file called "iSavedAnimations.txt" in "ApplyAnimation" format. ( not the same file as single animation saves).
/saveanimcommand [animation index][command processor][commandname] .
This will save the animation as a ready made command (zcmd and ycmd only). Also use /sac
Example usage: /sac 100 ycmd sit . -Will save animation 100 as a y_command /sit.
>>> UPDATE 1.1: <<<
/browseanims. or /ba
This will put the camera in front of you and play animations. You skip though animations using NUMPAD4 (left) and NUMPAD6(right). This makes it much easier to browse through animations. Textdraws also added to help indentify which animation is being played.
/animconfig
This will bring up a configuration dialog for the animations. It basically does what /editanim and /animspeed does but much more user freindly.
includes: zcmd, bud, sscanf2
plugins: sscanf2
Credits:
Slice - BUD
Y_Less - sscanf2 plugin
ZeeX - zcmd
Iggy - OFC
Aelfred - BionixGaming.com
Please post any bugs/suggestions in this thread thanks.
Downloads:
Pastebin: http://pastebin.com/UV9BjVKL
0.3d: iAnims
With this filterscript you can easily edit any/all animation parameters ingame, and save the animation code to a file. You can save one at a time or save all at once. You can also save the animation as either a zcmd command or ycmd command. Each command processor has its own file, which is saved (.txt file) along with any other files created by this FS to the scriptfiles folder. When you use any save command you will be notified of the filename.
Features
- Save commands to a file ready to simply copy paste to your script. (ycmd/zcmd)
- Save "ApplyAnimation" lines to paste into your own commands.
- Save all 1811 animations to a file. At once.
- Configure any/every animation and it will save and load next time you start your server.
- Easily browse through all animations with one command. ( /ba )
Note: Valid animation indexes are from 1 to 1811.
/ianim [animation index].
Use this to view the animations.
/editanim [animation index][anim parameter][value]
"anim parameter" is the parameter in the animation function you wish to change.
Example usage: /editanim 1000 forcesync 1. - Will set "forcesync" to 1 on animation 1000.
/animspeed [animation index][Float:value] .
Use this to edit the speed of the anim with greater precision. The difference between this and the "editanim" version is this can take a float whereas editanim takes an integer.
/saveanim [animation index][comment]
Save a single animation to a file called "iSavedAnimations.txt"
/saveallanims or /saa
This will save all the animations ( all 1811 ) to a text file called "iSavedAnimations.txt" in "ApplyAnimation" format. ( not the same file as single animation saves).
/saveanimcommand [animation index][command processor][commandname] .
This will save the animation as a ready made command (zcmd and ycmd only). Also use /sac
Example usage: /sac 100 ycmd sit . -Will save animation 100 as a y_command /sit.
>>> UPDATE 1.1: <<<
/browseanims. or /ba
This will put the camera in front of you and play animations. You skip though animations using NUMPAD4 (left) and NUMPAD6(right). This makes it much easier to browse through animations. Textdraws also added to help indentify which animation is being played.
/animconfig
This will bring up a configuration dialog for the animations. It basically does what /editanim and /animspeed does but much more user freindly.
Additional info
It is strongly recommended that you load this filterscript when you start your server. It will without a doubt hang the server for 2 - 6 seconds. This is to load the animation variables from the database and will only happen when the filterscript is first loaded.includes: zcmd, bud, sscanf2
plugins: sscanf2
pawn Code:
#define LOAD_ON_START //comment this line to stop the loading when the filterscript starts, avoiding server hang
pawn Code:
//#define ADD_RCON_PROTECTION //uncomment this line to add rcon protection on the commands.
Slice - BUD
Y_Less - sscanf2 plugin
ZeeX - zcmd
Iggy - OFC
Aelfred - BionixGaming.com
Please post any bugs/suggestions in this thread thanks.
Downloads:
Pastebin: http://pastebin.com/UV9BjVKL
0.3d: iAnims