Jun 3, 2017, 04:55 PM
We are looking for talented individuals who can make custom animations, animations can be made by anyone using the API, however, there is always more to learn. With this contest we are giving away in-game cash rewards, as well as a possible position in the contributor team if you show advanced skill in creating animations. Animating is something that you can't rush. We have a lot of talented individuals on LimeLight, this is your chance to create something for the server anyone will be able to use!
How do I create an animation in Garry's Mod?
Well, if you where to do it without any tools, it would be quite difficult, lucky for us, there is a unofficial Animation API. This is also how the animations for our /handsup command where made!
Which can be found here:
And downloaded here:
Installation
Extract the RAR file, and take the files inside of the animationsapi folder. You will have to place them as instructed below.
cl_animeditor Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\lua\autorun\client
cl_boneanimlib Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\lua\autorun\client
boneanimlib Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\lua\autorun\server
sh_boneanimlib Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\lua\autorun
How to use the API?
Alright, now you have everything installed, you are ready to start animating!
Type animate into your in-game console, to open the animation editor. If you hold right click you can move the camera, up down, left right. However you cannot change the angle. The angle the camera is at is based on where you are looking before you type the animate command. To close the editor simply type animate in the console again, or click on the C at the top left of your screen.
Alright, now, let's start with our first animation!
Click the new animation button on the right of your screen. You will be greeted with this window
Enter a name for your animation, and then select the type. There are four types.
Gesture - A gesture is something like a wave, you do it once, and then stop doing it.
Posture - A posture is standing in a certain way, sitting, etc. Inanimate.
Sequence - A sequence of animations, like reloading, and trowing the magazine away.
Stance - A certain way of standing, or moving, similar to putting your hands up when you move. Similar to posture, but then works while moving.
I suggest you start with a posture, to learn the ropes.
Now, to the side, we'll need to select the bone group. There are generally two bone-groups on a model.
ValveBiped and ValveBiped.Bip01. ValveBiped is used for most bigger movements, of certain limbs, ValveBiped.Bip01 is used for smaller movements, like fingers. Once you select either one category, you will be presented with a bunch of editable bones.
Once you have selected a bone to edit, it will point create three lines from it, allowing you to edit it''s rotation, you can also edit the rotation with the sliders to the side of the screen. From here on out, it's all up-to you to figure it out, you can save animations, or copy the raw GLua and load them at a later date.
Screenshots of your works can be posted here! Files can be send through forum pm.
Happy animating!
Banner graphics done by the amazing