SA-MP Forums Archive
[FilterScript] iAnims - Ingame Animation Creation Kit ( 1811 animations ) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] iAnims - Ingame Animation Creation Kit ( 1811 animations ) (/showthread.php?tid=240497)

Pages: 1 2


iAnims - Ingame Animation Creation Kit ( 1811 animations ) Save zcmd/ycmd animation commands easily! - iggy1 - 15.03.2011

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 The commands
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.
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


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - TheYoungCapone - 16.03.2011

pretty cool man :P


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - iggy1 - 16.03.2011

Thanks , i will add more stuff to it like dialogs, better text ect. I think a dialog would be better than those commands ill probably add that tommorow. And stuff like scrolling through animations with keys.


Respuesta: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - Host-samp - 16.03.2011

GoOd Man
You is Good


Respuesta: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - junkbuster - 16.03.2011

Good Work!!


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - BASITJALIL - 16.03.2011

Thats awesome


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - Roomeo - 16.03.2011

Fuck NICE!!!!1


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - Ironboy - 16.03.2011

wow nice


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - skaTim - 16.03.2011

Great work! This is very usefull


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - OKStyle - 16.03.2011

How may be 1811 animations when they are only 1755? And the all in my script from signature...


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - iggy1 - 16.03.2011

Quote:
Originally Posted by OKStyle
View Post
How may be 1811 animations when they are only 1755? And the all in my script from signature...
There may be some missing i havn't tested every animation the max animation index is 1811, if there actually are 1811 i don't know. But 1811 unique "ApplyAnimation" lines are created when you /saveallanims so i'm guessing there are 1811 animations (some may not work).

This script is supposed to be more of a tool, than an actual script to run on a live server. Although it can be.


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - OKStyle - 16.03.2011

Sorry, my information not full. Thanks. I found 3 new librarys.... And now in my script i have 1854 anims =)


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - Davz*|*Criss - 16.03.2011

Wooowoowowowowooowoow amazinnnnnn§


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - iggy1 - 16.03.2011

UPDATE
Two new commands added that make things much, much easier.

/ba
This command will put the camera in front of you and allow you to browse through animtions with NUMPAD4 (left) and NUMPAD6 (right) Making things much easier. Textdraws also added.

/animconfig
Brings up a dialog to configurate animations, its same as using /editanim and /animspeed but much more user freindly than the commands.


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - admantis - 16.03.2011

I thought it was ANOTHER animation filterscript, untill I saw it more indepth!
Good job, iggy1!


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - SkyRoyX - 16.03.2011

Nice work. Keep going!!


____________

New Revolution Roleplay
173.192.206.142:5555


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - Englander - 16.03.2011

Nice thanks for this Iggy.


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - sekol - 20.03.2011

It's fuckin' awesome man! Thanks, now i don't have to check every animation, and create commands for 'em


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - antonio112 - 29.03.2011

Jesus ... amazing one ! Going to find some good animations right now. Thanks alot for this !


Re: iAnims - Ingame Animation Creation Kit ( 1811 animations ) - iggy1 - 29.03.2011

Thanks let me know if you run into any problems or have any suggestions. I might add a command where you can use the animation name eg, "/ianim Barcustom_get" but i don't think that will be much better than using indexes.