USK - Documentaion
  • 🖖Welcome
  • 📥Installation
  • 🗃️Project Overview
  • 🛠️Get Started
  • ↔️Migration Guide
  • ⚙️Project Settings
    • Input System
    • UI Manager
  • 👤Characters
    • Overview
    • Creation
    • Adjustment
      • Character
      • Camera
    • Controller
      • Movement
        • Change Movement Animations
      • Health
      • Tags
      • Noise
    • Camera
      • First Person
      • Third Person
      • Top Down
    • Inventory Manager
      • Usage
      • Fists Attack
      • Drop Weapons
    • Multiplayer
  • 🔫Weapons
    • Overview
    • Creation
    • Adjustment
      • IK Tools
    • Weapon Controller
      • Attacks
      • Aim Settings
        • First Person
        • Third Person
        • Top Down
      • Animations
        • Animated Weapons
    • Usage
  • 🤖AI Opponents
    • Overview
    • Creation
    • AI Controller
      • In-game Behaviour
      • Detection Parameters
      • Attack
      • Movement
      • Health
    • Multiplayer
    • Adding to the Game
      • Waypoints
      • Covers
      • Stealth Zone (Grass)
  • 📦Integrations Manager
    • Overview
    • Emerald AI
    • Realistic Car Controller
    • Edy's Vehicle Physics
    • NWH Vehicle Physics 2
    • Destroy It
    • Easy Save 3
  • 🕹️Single-player Game Creation
    • Creation
  • 👥Multiplayer Game Creation
    • Overview
    • Activation
    • Lobby
    • Rooms
  • 📱Mobile Control
    • Activation and Usage
    • Mobile Debug
  • Other Components
    • 💾Save Manager
    • 🎯Spawn Zones
    • 🗺️Minimaps
      • Texture Recommendations
    • 🩸Blood Splatter
    • 📤Pickup Items
    • 🪵Surfaces
    • ⚡Animation Events
  • ✨Render Pipelines
    • Project Update
    • Post-processing Effects
  • Additional Info
    • ▶️Video Guides
    • ❓FAQ
Powered by GitBook
On this page

Was this helpful?

  1. Weapons
  2. Weapon Controller
  3. Animations

Animated Weapons

This feature is for professionals.

PreviousAnimationsNextUsage

Last updated 5 years ago

Was this helpful?

You can use animated weapons with the USK.

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:

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.

To add animations with animated weapons do the following:

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

  • Create the Avatar Mask with this animation avatar.

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

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

  • 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.

Watch the video with an example of adding animations:

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

🔫
⚡Animation Events