I've recently been wanting to learn how to make animations. Where do I start if I wanted to make a console command that would make your player sit down? I was watching a youtube video that Wizey! had uploaded and it was pretty cool, she pushes a key and brings up a menu, then pushes 1 and it makes the character go to a third person view and he sits down, how do I go about doing something like this?
To do animations you use this hook [URL]http://wiki.garrysmod.com/?title=Gamemode.CalcMainActivity[/URL] and check for bool and set it to ACT_HL2MP_SIT. You can see all the animations if you setup your model viewer for gmod.
sidenote npc animations [url]http://www.garrysmod.org/downloads/?a=view&id=98249[/url]
Check this out for making custom animations.
[url]http://www.facepunch.com/threads/821202-Lua-Animations-API-beta[/url]
cool thanks guys
Sorry, you need to Log In to post a reply to this thread.