Is there a way to trigger/bind the saved animations with a command. I think you wanted to do this... is is implemented yet? Great work and thanks!
Yup, This needed to be done Sligthly NSFW
How do I select objects? I just installed the SVN version, and spawned a heavy. I made a new keyframe, recorded it, made a new keyframe, recorded it, etc. Then I pressed play and no movement is seen, but HAT is cycling through keyframes.
The convenient animation saver is also there.
Any selection you make will show up as a wireframe when you bring up the HAT menu (only when you bring up the HAT menu).
The faceposing i mean, i know you could of at least did a better job on that :D
I cant use it! Ive tried installing it twice, but i just get a crap load of blue error messages on the right of the screen! It messed up... Any suggestions?
All else just failed.
Edited:Code:Lua initialized (Lua 5.1) Henry's Animation Tools Beta 2 Shared Initiated Henry's Animation Tools Server Initiated Registering gamemode 'sandbox' derived from 'base' ScriptEnforce is disabled Executing listen server config file Couldn't find scene 'scenes/npc/female01/question21.vcd' Couldn't find scene 'scenes/npc/female01/question31.vcd' Couldn't find scene 'scenes/npc/female01/answer35.vcd' Couldn't find scene 'scenes/npc/female01/gordead_ques03a.vcd' Couldn't find scene 'scenes/npc/female01/gordead_ques03b.vcd' Couldn't find scene 'scenes/npc/female01/nice.vcd' Couldn't find scene 'scenes/npc/male01/nice01.vcd' Couldn't find scene 'scenes/npc/male01/nice02.vcd' Couldn't find scene 'scenes/npc/female01/oneforme.vcd' Couldn't find scene 'scenes/npc/Barney/ba_run.vcd' Couldn't find scene 'scenes/npc/Barney/ba_ohshit.vcd' Couldn't find scene 'scenes/npc/Barney/ba_thisisbad.vcd' Couldn't find scene 'scenes/npc/Barney/ba_headcrabs.vcd' exec: couldn't exec listenserver.cfg InitFastCopy: only 51% fast props. Bug? Lua initialized (Lua 5.1) Henry's Animation Tools Beta 2 Shared Initiated Henry's Animation Tools Client Initiated Registering gamemode 'sandbox' derived from 'base' RunConsoleCommand blocked - sent before player spawned (hanim_maxobjs) RunConsoleCommand blocked - sent before player spawned (hanim_lag) RunConsoleCommand blocked - sent before player spawned (hanim_send) Sending 267 'User Info' ConVars to server (cl_spewuserinfoconvars to see) Redownloading all lightmaps Recording to untitled.dem... Completed demo, recording time 1.7, game frames 115. Entity 37 (class 'prop_ragdoll') reported ENTITY_CHANGE_NONE but 'm_vecMins' changed. Entity 37 (class 'prop_ragdoll') reported ENTITY_CHANGE_NONE but 'm_vecMaxs' changed. Entity 37 (class 'prop_ragdoll') reported ENTITY_CHANGE_NONE but 'm_ragAngles' changed. Entity 37 (class 'prop_ragdoll') reported ENTITY_CHANGE_NONE but 'm_ragPos' changed. Recording to untitled.dem... Completed demo, recording time 1.9, game frames 125.
I press play and nothing happens.
Not mine, but a great tutorial someone has made:
(You need to select your frames when you want to record your ragdoll.)
please "HAT" addon "folder" megaupload link
Once Henry does full release i will make a pro tutorial.
Just because Henry keeps me awake at night.
(To animate shit, ofc)
can you make that face and finger poses work?
Actually, finger and face poser works, well, for me works.
I made so many fetish animations with this. Thank you Henry
Just thought you'd like to know what I'm using it for :)
Here is the amazing video of me using HAT to show you the true potential of this amazing tool (in all fairness, I actually have done some quite decent looking walking with it, but I've failed to record it).
Sniper i dudka?
It's a very sad day in Gm_Flatgrass...
This is a small test I did with faceposing. Eyeposing, Inflating and paint would be good for beta version 4, FRAPS is also a bitch sometimes, so it may have made the video lag.
Wow not bad.
And if you don't want FRAPS lags you have to put the right settings. Follow instructions on Google, or Youtube.
To begin with, why are we all using TF2? Roflmao XD
Secondly, FRAPS is being a major asshole. I set mine to 60 fps at full size, with res 1440x900 and high on gmod.
I get cut to 16 fps, but it doesn't really show up on the video that much.
- I decided that my video sucked :3 -
is there anyway to add frames and records through console commands/binds?
I found a way to do it. In console, type: lua_run concommand.Add("HentieTesting13",hanim.clAddFrame)
Then bind HentieTesting13, and that will add a frame. WOOT i just found that too! :D
Gonna try to record and play. Will edit in a few.
EDIT: Woops don't try it, i just broke the addon. LOL
But at least i found something, right?? :D
Btw, hanim.clSetFrame records.
The hooks means that these functions can be called by the client as well as the server.hanim.Hook("servSetFrame") // (frame #) Set the current frame to this new frame #. This is what happens when you click on a frame on the GUI. hanim.Hook("servRecordFrame") // (frame #, Frame Length) Records all entities and sets the frame length. hanim.Hook("servClearFrame") // (frame #) Clears all entity's frame #, and sets tweening and frame length to default of Linear tween and 0.5 frame length. hanim.Hook("servPlay") // () Plays animation from last set frame. hanim.Hook("servStop") // () Stops animation and returns to last set frame. hanim.Hook("servSetCurFrameLength") // (frame #, amount) hanim.Hook("servSetCurFrameTween") // (frame #, tween type 0-6) hanim.Hook("servAddFrame") // (frame #) adds a frame after the frame #. hanim.Hook("servRemoveFrame") // (frame #) removes the frame #. hanim.Hook("servRender") // Changes all settings and then automatically plays for the best output for a demo. hanim.Hook("servSave") // (entity, name) Saves all the keyframes of an entity into hat_saves/(name).txt hanim.Hook("servLoad") // (entity, name) Loads all the keyframes from hat_saves/(name) !MUST INCLUDE .txt INSIDE NAME! hanim.Hook("servDeleteFile") // (name) Deletes save file hat_saves/(name) !MUST INCLUDE .txt INSIDE NAME!
To play the animation, just run the function "hanim.servPlay()". Using incorrect arguments will break the addon.
Again, this could be called by both the client and the server. It is recommended, though, that you only use the "serv" functions.hanim.Hook("clSetFrame") // (frame #) Sets the visual frame effect of all the clients to frame #. hanim.Hook("clAddFrame") // ([number of frames]) Adds a number of frames to the HAT Menu. hanim.Hook("clRemoveFrame") // () Removes a frame from the HAT Menu. hanim.Hook("clStopRender") // () Stops recording a demo. hanim.Hook("RePop") // () Repopulates the duplicator GUI.
These functions are already hooked so that you don't have to hook them again. You can just call them in your addon.
Useful Server variables.
hanim.CurFrame // Number. hanim.FrameCount // Number. hanim.IsPlaying // Boolean. hanim.isrendering // Boolean.
Useful Client variables.
hanim.CurFrame // Number.
so If i were to call them how would i add and record a frame in one command
Alright hentie, imo you should add binds into your next revision and a bind tab in the menu.
I doubt i can make a CFG file, but maybe it is possible to execute a lua_run through a CFG.
That doesn't serve much purpose though, so might as well be implemented in to the OP code rather then worked around.
Request: Can you implent commands for controlling the script via console?
Also do you allow us to use this script as a animation player for other projects if youre credited for your work?
also is the script able to save / load animations?
oh yeah and about the saves(if they exist), Do they work for one specific model or is the model determited in the save?
HAT is the best think i ever downloaded for Gmod. There is my video.
And the entire point of this addon is to use its animation for projects. If you mean ripping the script for your own animation player, i'd assume Hentie's sweat and 500 Monsters will disagree strongly.
There is a Saver STool implemented under the Q Menu -> Tools -> HAT (right next to Selector).
The Saver saves all selected objects and their relevant animation, basically the keyframes and the objects you worked on (you still have to spawn those objects).
Also, imo we should start posting which revisions we are talking about. A few revisions ago, this stuff didn't even exist, therefore people looking at it now with an old revision will be like WTF o.o (they might of not found out there was an update since its SVN rather then gmod.org)
Btw, this is Beta 3 Revision 21 :)
Great video Fiefio, that is some amazing skill!
I have a problem, I try to save an animation by using the saving tool, right clicking the ragdoll, chosing a name and saving it. But then when I load a new map and left click it on a ragdoll of the same type...nothing happens.