ArchiveXL: Resource linking
Last updated
Last updated
Published: May 18 2024 by manavortex Last documented update: May 18 2024 by manavortex
Starting with version 1.14, ArchiveXL allows you to create resource symlinks. This guide will teach you how to avoid duplicate meshes for dynamic substitution that way.
If you want to avoid duplicate material definitions, check ArchiveXL: Resource patching.
While ArchiveXL: body mods and refits has solved one problem, it introduced a new one. If you want to use the preferred approach of mesh path substitution, then you'll end up with a million duplicate files.
While ArchiveXL: Resource patching will let you keep your materials in one spot, why would the chest size be relevant for a pair of socks?
Rhetorical question, it's not. But body types don't care.
This is where linking comes in.
Like most other things, you do this by adding a block to your .xl
file. The example below will re-use the item for rb
(Hyst's realistic butt) for both ebbrb
and ebbprb
(boobs in various states of push-uppery):
And just like that, we have one mesh instead of three.
Now we can do away with the extra components and simply use body mod substitution — and anything duplicate can be linked.
You can now also give your .mesh
files passive aggressive filenames and then use substitution to hook them up to the body mods. The possibilities are endless!