Joint Not Found error

From The DarkMod Wiki
Jump to navigationJump to search

One of the most frustrating errors to track down is:

"Joint 'RightHand' not found for attachment position 'hand_r' on entity <AI name>"

The joint name could be anything.

This error can be caused by a long list of things.


1. model def for a character in the map references an animation that does not exist at the specified path.

2. model def for a character in the map has two animation references of the same name (frex, two anim idle_eats will cause a crash).

3. model def for a character in the map has an inaccurate frame command attached to an animation.


Most of the AI in TDM inherit from tdm_ai_guard_proguard_devel.def for male characters, and tdm_ai_female_animations.def for female characters.