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

[Enhancement] Import Model Skins #145

Open
joshuafhiggins opened this issue Dec 26, 2022 · 4 comments
Open

[Enhancement] Import Model Skins #145

joshuafhiggins opened this issue Dec 26, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@joshuafhiggins
Copy link

joshuafhiggins commented Dec 26, 2022

Describe the bug
Models, that have skins, only have one of their textures imported, the rest of the skins use this texture. Turning off "Reuse old materials/models" has no effect.

To Reproduce
Steps to reproduce the behavior:

  1. Import 'models/props_gameplay/sign_gameplay01' (found on ctf_2fort from Team Fortress 2)

Expected behavior
Models using different skins should import the skins they use and apply them to the specific instance of that model.

Related files
ctf_2fort_d.vmf

Logs

Logs reveal no helpful information about the models/materials skins being imported.

Screenshots
image
image

Details (please complete the following information):

  • OS: Windows 10 21H2
  • Blender Version: 3.4.1
  • Addon Version: 0.6.9
  • Did you download a release or build the addon yourself: Download
  • Related Game: Team Fortress 2
@joshuafhiggins joshuafhiggins added the bug Something isn't working label Dec 26, 2022
@lasa01 lasa01 added enhancement New feature or request and removed bug Something isn't working labels Dec 29, 2022
@Tomobobo710
Copy link

Any chance of this being added? All of the maps I have made utilize the skin feature for my models, and apparently some of valves official models use the same technique. It would be amazing to have this working, because I currently can only mangle the materials in blender, I am not good enough to figure out how to fix them. :(

@joshuafhiggins joshuafhiggins changed the title Model skins are acknowledged, but not properly imported [Enhancement] Import Model Skins Jan 23, 2024
@lasa01
Copy link
Owner

lasa01 commented Jan 23, 2024

Unfortunately I don't currently have any plans to add new features :(

@Tomobobo710
Copy link

Dang, that's understandable though.

I tried to look into it a little bit but I got lost pretty quick.

In asset/model.py import_mesh() is what I got to and got lost. If you have any hints on where I should look I'd appreciate it.

@lasa01
Copy link
Owner

lasa01 commented Jan 24, 2024

Adding support would be a fairly complex task. The mdl parser is implemented in a separate library here, so support for skins would first need to be added there. Currently it does not read the skin data from the mdl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants