Skip to content

Custom mounted directories pathnames #80

Open
@lodyb

Description

My textures are organised something like:

.\cstrike\custom\lody\materials\lody

I typically store raw png/tga in here and drag them into VMT Editor to auto convert to VTF/VMT.

Games like Counter Strike will mount anything in custom as if it were included at the root directory.

However, VMT Editor is creating the $basetexture like this:

$basetexture "../custom/lody/materials/lody/texture"

This actually works in Hammer, but the textures like this do not get picked up for the inclusion list when packed.

My suggestion is to detect when the {game}/custom/{name}/{texture} directory is used and map it to {texture}

So in my example it would be:

$basetexture "lody/texture"

I have also noticed that the image preview works for the long name, but no preview appears for the shortened one.

image
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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