Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDLs with animations only are not supported #147

Open
radzo73 opened this issue Jan 6, 2023 · 2 comments
Open

MDLs with animations only are not supported #147

radzo73 opened this issue Jan 6, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@radzo73
Copy link

radzo73 commented Jan 6, 2023

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:

  1. Import a TF2 player .mdl (e.g models/player/heavy.mdl)
  2. Set option Import Animations to true
  3. 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
The only animations imported with "Import Animations" enabled

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)

@radzo73 radzo73 added the bug Something isn't working label Jan 6, 2023
@ratking114
Copy link

I can confirm this happens as I tried doing the same thing. Hopefully it gets fixed or someone finds a work around

@lasa01
Copy link
Owner

lasa01 commented Jan 25, 2023

These are indeed currently not supported, but I'm looking to add support for these when I have time. I don't think there are any workarounds in the meanwhile.

@lasa01 lasa01 changed the title TF2 Animations are not imported with "Import Animations" option MDLs with animations only are not supported Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants