> For the complete documentation index, see [llms.txt](https://docs.gercstudio.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gercstudio.com/weapons/weapon-controller/animations/animated-weapons.md).

# Animated Weapons

You can use animated weapons with the USK.

{% hint style="info" %}
**Important!**

To all parts of a weapon are animated, a path (in the character’s skeleton) to the weapon in an animation must correspond to the path to the weapon in the game - like in Generic Animations.

**For Example:**

You've created an animation - character with a pistol. In the animation your character bones have the struct:&#x20;

Hips -> Spine -> Spine1 -> ...

If you use this animation with another character which has different bone names or struct (swat:Hips -> swat:Spine -> swat:Spine1 -> ...), the pistol won't be animated during the game.
{% endhint %}

To add animations with animated weapons do the following:

* **Import an empty animation with all weapons in the root** (for example, T-Pose animation).

![](/files/-M0qyQiazyarr5P62axx)

* **Create the Avatar Mask** with this animation avatar.

![](/files/-M0r5ononkyoQCuQ3gLl)

* Make sure that all animated weapons and their parts are selected in the mask

![](/files/-M0r68GtL3PCabdOpLp0)

* **Add the mask to weapons animations**. In each animation which contains an animated weapon, you must add the mask which you created before

![](/files/-M0r6sCtcUf7bwqCg3F3)

* **Adjust the main Masks** (Tools -> Assets -> \_Masks -> **BodyTop** **(tp,td)** & **BodyTop (fp)**) with the T-Pose avatar (which you've imported in the 1st step). Select in the masks only animated weapons parts.

![](/files/-M0r7TTKQLFJ46isHqmy)

#### Watch the video with an example of adding animations:

{% embed url="<https://youtu.be/wj9N1qC96IA>" %}

To learn how to synchronize animations with the player’s actions (for example, the spawn of magazines when reloading), read this page:

{% content-ref url="/pages/-M0na49egEhakjo7TCaG" %}
[Animation Events](/other-components/events.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.gercstudio.com/weapons/weapon-controller/animations/animated-weapons.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
