[FilterScript] Animation explorer
#1

I was asked by players to include more animations in my script, so I made a filterscript for them to preview them, using the new 0.3b animation commands ( I made a version of this for 0.3a, I have a pastebin of the 3a version below )



The filterscript uses sscanf2, link below, but is easily converted to whatever system you use.
https://sampforum.blast.hk/showthread.php?tid=120356
also zcmd, but again, easy to convert to another command system.
https://sampforum.blast.hk/showthread.php?tid=91354

This filterscript allows you to search the animation database using partial library and animation names. You can also find a full list of animation libraries and names here.
https://sampwiki.blast.hk/wiki/Animations


0.3b version Pastebin
http://pawn.pastebin.com/wKLvw5XS

0.3a version Pastebin
http://pawn.pastebin.com/WwnUj8Y5

You may have to edit the indentations if you copy from pastebin, because I am lazy.
Reply
#2

Looks nice, don't think anyone has made a Animation Explorer before.
Reply
#3

Very nice, a useful add-on
Reply
#4

Very nice very useful too! thanks
Reply
#5

Nice work!
Reply
#6

Very nice.
Reply
#7

I modified this to use Strtok, and strfind, as well as a search for library names. If Rachael permits, ill upload it here.
Reply
#8

Quote:
Originally Posted by Pghpunkid
Посмотреть сообщение
I modified this to use Strtok, and strfind, as well as a search for library names. If Rachael permits, ill upload it here.
Why would you change the code to use a more inefficient method?
Reply
#9

Not everyone uses Zcmd or sscanf. Either way.. its a fraction of a second slower.. if that. But this topic isnt about efficiency.
Reply
#10

anyone can edit this any way they like, and if you can setup a download I will hapilly edit the OP and put in credits etc.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)