Skip to content

Face Texture are ignored on export. #63

@SinsOfSeven

Description

@SinsOfSeven

Face Textures, and other texture only objects are ignored on export because they are not part of the scene, and not added to the mod_file data sent to the templates. The template can still generate the sections by using hash_data instead inside the template, but not all the export flags are sent to the template engine.

from: Satan1c

Related Pull Request
#62

  • Face extracted w/o model, only texture
  • cuz they're w/o model, they're not on scene
  • xxmi tools ignore anything that is not in scene, when creating mod_file

Technically everything works w/o any xxmi tools editing
But I've exposed some variables like copy_texture, to skip face placing if textures are not copied

Problem number 2
In ZZZ chars in char menu may be drawn from Face/Hair, so handling = skip may have unstable bug to skip draw of everything but face/hair

To fix that, just index_count filter is enough
So I've added that property to Part class, to expose it to template, and also edited gui_collect extract, to contain index_count in hash.json, for reading from hash_data, or easier manual editing of mods

Image Image
//...
        "object_indexes": [
            0,
            12120,
            15951
        ],
        "object_index_counts": [
            12120,
            3831,
            60
        ],
        "object_classifications": [
            "A",
            "B",
            "C"
        ],
//...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions