1. Post #241
    R33l Owntag3's Avatar
    May 2006
    44 Posts
    Caught both errors.
    Update again and see if that fixes your problem.
    (error was a human mistake of sending over Frame Length data instead of Tween data.)

    Thanks :D

    MsgN spam is from me forgetting to remove my debugging stuff :x
    Cool, I'll try it in the morning.

  2. Post #242
    Gold Member
    kimba23's Avatar
    May 2005
    29 Posts
    Hey Hentie

    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!

  3. Post #243
    DestWa's Avatar
    September 2007
    200 Posts
    Yup, This needed to be done Sligthly NSFW
    :sax:
    Reply With Quote Edit / Delete Reply Finland Show Events Funny Funny x 2Optimistic Optimistic x 1Zing Zing x 1Dumb Dumb x 1 (list)

  4. Post #244
    Cheesy and delicious.
    Snickerdoodle's Avatar
    August 2010
    5,954 Posts
    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.

  5. Post #245
    Gold Member
    loled's Avatar
    July 2007
    3,244 Posts
    Yup, This needed to be done Sligthly NSFW
    :sax:
    I called it.
    I FUCKING CALLED IT.
    Reply With Quote Edit / Delete Reply Israel Show Events Funny Funny x 2 (list)

  6. Post #246
    Odahilys's Avatar
    March 2009
    333 Posts
    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.
    You are going to want to use the Selection Stool, it should be under HAT in Q Menu -> Tools Tab.
    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).


    Yup, This needed to be done Sligthly NSFW (MEDIA HERE)
    :sax:
    Sir. That is highly inappropriate.
    The faceposing i mean, i know you could of at least did a better job on that :D
    Reply With Quote Edit / Delete Reply Germany Show Events Dumb Dumb x 1 (list)

  7. Post #247
    LUA? is that some kind of vegetable?
    Angry pepper's Avatar
    July 2010
    508 Posts
    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?

  8. Post #248
    Odahilys's Avatar
    March 2009
    333 Posts
    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?
    I beg you to post a screenshot.

    Quick Edit: Defkaunta is butthurt so he gives dumb ratings. How sweet.
    Reply With Quote Edit / Delete Reply Germany Show Events Funny Funny x 2Dumb Dumb x 1 (list)

  9. Post #249
    Abused by Girlfriend
    geogzm's Avatar
    January 2010
    19,018 Posts
    All else just failed.

    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.
    Edited:

    I press play and nothing happens.

    Edited:


  10. Post #250
    Gold Member
    Hentie's Avatar
    May 2010
    2,128 Posts
    Not mine, but a great tutorial someone has made:
    (You need to select your frames when you want to record your ragdoll.)

  11. Post #251
    gocadayi's Avatar
    February 2008
    26 Posts
    please "HAT" addon "folder" megaupload link
    Reply With Quote Edit / Delete Reply Turkey Show Events Dumb Dumb x 7 (list)

  12. Post #252
    AT NIGHT I GET SO LONELY I JERK IT FURIOUSLY TO THE SIMS
    kmlkmljkl's Avatar
    August 2009
    6,826 Posts
    please "HAT" addon "folder" megaupload link
    uhh, no

    if you want it, get it with SVN
    Reply With Quote Edit / Delete Reply Netherlands Show Events Agree Agree x 1Dumb Dumb x 1 (list)

  13. Post #253
    Abused by Girlfriend
    geogzm's Avatar
    January 2010
    19,018 Posts
    Not mine, but a great tutorial someone has made:
    (You need to select your frames when you want to record your ragdoll.)
    aw battysleeves

  14. Post #254
    Odahilys's Avatar
    March 2009
    333 Posts
    Once Henry does full release i will make a pro tutorial.
    Just because Henry keeps me awake at night.
    (To animate shit, ofc)

  15. Post #255
    Give it a good ol' rub
    calle7112's Avatar
    November 2008
    3,882 Posts
    can you make that face and finger poses work?

  16. Post #256
    Gold Member
    E.C.S's Avatar
    March 2010
    5,152 Posts
    Actually, finger and face poser works, well, for me works.

  17. Post #257
    Pass along
    commander204's Avatar
    May 2008
    4,065 Posts
    please "HAT" addon "folder" megaupload link
    Get it on garrysmod.org like anyone who owns garrysmod.
    Reply With Quote Edit / Delete Reply France Show Events Agree Agree x 7 (list)

  18. Post #258
    smelly member
    The DooD's Avatar
    June 2005
    7,026 Posts
    I made so many fetish animations with this. Thank you Henry

    Edited:

    Just thought you'd like to know what I'm using it for :)

  19. Post #259
    Pass along
    commander204's Avatar
    May 2008
    4,065 Posts

  20. Post #260
    smelly member
    The DooD's Avatar
    June 2005
    7,026 Posts
    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).
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Dumb Dumb x 5 (list)

  21. Post #261
    mrAbstact's Avatar
    April 2008
    5 Posts
    Well.. here's mine animation poop =P
    Don't expect something - it has noo sense at all.. just the first experiment with it.
    http://www.youtube.com/watch?v=dSu2epiyUHU

  22. Post #262
    Pass along
    commander204's Avatar
    May 2008
    4,065 Posts
    Sniper i dudka?

  23. Post #263

    July 2010
    23 Posts
    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.


  24. Post #264
    TheEngiGuy's Avatar
    November 2010
    64 Posts
    Wow not bad.
    And if you don't want FRAPS lags you have to put the right settings. Follow instructions on Google, or Youtube.
    Reply With Quote Edit / Delete Reply Poland Show Events Friendly Friendly x 1 (list)

  25. Post #265
    Odahilys's Avatar
    March 2009
    333 Posts
    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.
    Reply With Quote Edit / Delete Reply Germany Show Events Dumb Dumb x 4 (list)

  26. Post #266
    Gold Member
    Hentie's Avatar
    May 2010
    2,128 Posts
    - I decided that my video sucked :3 -
    Reply With Quote Edit / Delete Reply United States Show Events Zing Zing x 3 (list)

  27. Post #267
    Gay Member #2
    DigitalySane's Avatar
    June 2008
    3,886 Posts
    I've already posted this in Screenshots & Movies, but I'll post it again here due to it's relevance.
    The Soldier does a litlte dance.
    Couldn't see shit.
    Reply With Quote Edit / Delete Reply United Kingdom Show Events Agree Agree x 9 (list)

  28. Post #268
    Mr .Desky's Avatar
    June 2010
    42 Posts
    is there anyway to add frames and records through console commands/binds?

  29. Post #269
    Odahilys's Avatar
    March 2009
    333 Posts
    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.

  30. Post #270
    Gold Member
    Hentie's Avatar
    May 2010
    2,128 Posts
    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.
    HAT_client.lua
    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!
    The hooks means that these functions can be called by the client as well as the server.
    To play the animation, just run the function "hanim.servPlay()". Using incorrect arguments will break the addon.

    HAT_server.lua
    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.
    Again, this could be called by both the client and the server. It is recommended, though, that you only use the "serv" functions.

    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.
    Reply With Quote Edit / Delete Reply United States Show Events Lua King Lua King x 4 (list)

  31. Post #271
    Mr .Desky's Avatar
    June 2010
    42 Posts
    so If i were to call them how would i add and record a frame in one command

  32. Post #272
    Gold Member
    Hentie's Avatar
    May 2010
    2,128 Posts
    so If i were to call them how would i add and record a frame in one command
    function AddandRecord()
    	hanim.servAddFrame(hanim.CurFrame)
    	hanim.servRecordFrame(hanim.CurFrame+1,0.5)
    end

  33. Post #273
    joecwild's Avatar
    February 2008
    6 Posts
    My go at it. Nothing amazing. I wish you could have two entities go at different speeds.

    http://www.youtube.com/watch?v=NiRYEV1hBKM

  34. Post #274
    Odahilys's Avatar
    March 2009
    333 Posts
    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.
    Reply With Quote Edit / Delete Reply Germany Show Events Agree Agree x 1 (list)

  35. Post #275
    Gold Member
    papu2's Avatar
    October 2005
    786 Posts
    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?

    Edited:

    also is the script able to save / load animations?

    Edited:

    oh yeah and about the saves(if they exist), Do they work for one specific model or is the model determited in the save?

  36. Post #276
    Gold Member
    Fiefio's Avatar
    November 2010
    378 Posts
    HAT is the best think i ever downloaded for Gmod. There is my video.

    Reply With Quote Edit / Delete Reply Poland Show Events Winner Winner x 8 (list)

  37. Post #277

    January 2009
    592 Posts
    HAT is the best think i ever downloaded for Gmod. There is my video.

    http://www.youtube.com/watch?v=CEIKHqWRZ5g
    Nice, but use media tags then you get

    Reply With Quote Edit / Delete Reply Netherlands Show Events Winner Winner x 3Informative Informative x 2 (list)

  38. Post #278
    Odahilys's Avatar
    March 2009
    333 Posts
    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?

    Edited:

    also is the script able to save / load animations?

    Edited:

    oh yeah and about the saves(if they exist), Do they work for one specific model or is the model determited in the save?
    I already suggested con commands for the script, exactly one post above you :P
    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!

  39. Post #279
    TGiFallen's Avatar
    January 2010
    1,431 Posts
    HAT is the best think i ever downloaded for Gmod. There is my video.

    That was fucking amazing
    Reply With Quote Edit / Delete Reply Canada Show Events Agree Agree x 2 (list)

  40. Post #280

    September 2010
    12 Posts
    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.