Animations

Customizing Clothing Change Animations

The Clothing Menu allows you to add a touch of realism and immersion by associating specific animations with each clothing item. These animations play when a player equips or removes the corresponding item.

Animation Settings

The Config.animations table in your configuration file defines the animation for each clothing item. Each animation entry has the following structure:

[item] = {
    dict = 'animation_dictionary',
    clip = 'animation_name',
    flag = animation_flag,
    duration = animation_duration_ms,
},
  • item: The name of the clothing item (e.g., top, shoes, mask).

  • dict: The name of the animation dictionary containing the clip.

  • clip: The name of the animation clip within the dictionary.

  • flag: A numerical flag that controls how the animation plays. 51 for moving and 0 for static.

  • duration: The duration of the animation in milliseconds (ms).

How to Change Animations

  1. Find the Animation: Choose a dict and animation you want to use.

  2. Update Configuration: In your Config.animations table, locate the item you want to change the animation for and replace the dict, clip, flag, and duration values with the new animation's details.

  3. Save and Restart: Save your configuration file and restart the script.

Last updated