Plumber
Plumber copied to clipboard
MDLs with animations only are not supported
Describe the bug
Player animations (both *_animations.mdl
and *_user_animations.mdl
) are not imported with the selected model .mdl, even when "Import Animations" is enabled
To Reproduce Steps to reproduce the behavior:
- Import a TF2 player .mdl (e.g
models/player/heavy.mdl
) - Set option
Import Animations
totrue
- Only the
/@ragdoll
and/@ref
animations are imported, but nothing from*_animations.mdl
or*_user_animations.mdl
.
Expected behavior Player animations are imported when I import a player model with "Import Animations" enabled
Related files Heavy.zip
Screenshots
Details (please complete the following information):
- OS: Windows 10
- Blender Version: 3.4.1
- Addon Version: Plumber 1.0.0-beta3
- Did you download a release or build the addon yourself: Downloaded
- Related Game: Team Fortress 2
Additional context
When trying to import *_animations.mdl
or*_user_animations.mdl
, I get errors depending on if done via file game files import, or importing an exported file. (Oddly, these errors only show up in the Info editor type, and not the console)
Error when importing via bpy.ops.import_scene.plumber_file_browser()
(i.e the sidebar):
could not import mdl: io error reading models/player/heavy_animations.vvd: no such file
Error when importing a previously exported file via bpy.ops.import_scene.plumber_mdl(from_game_fs=False)
:
could not import mdl: io error reading ./heavy_animations.vvd: The system cannot find the file specified. (os error 2)