Hi! I’m trying to use this method to create a completely new animal ped, and I’m currently stuck at the drawable registration part.
I successfully added a new ped called qilin through metapeds.ymt, using the Lion Mangy skeleton/animations as the base. The ped itself spawns correctly, has AI, collision, animations and can attack me, so the new ped hash is definitely being registered.
The problem is that my custom model remains invisible.
My custom YDD contains several drawables:
qilin_body
qilin_body_alt
qilin_eye
qilin_fur
qilin_horn
I also created an additive assets_drawable.ymt with matching GUIDs and mounted it using:
files {
'assets_drawable.ymt'
}
data_file 'METAPED_ASSETS' 'assets_drawable.ymt'
I even tested by manually adding the entries to the full assets_drawable.ymt inside:
%LOCALAPPDATA%\RedM\RedM.app\citizen\platform\packs\base\data\metapeds
but the custom model was still invisible.
Could you clarify one thing about your working setup?
When you say “ensure the asset you’re adding is the same name as the drawable you placed inside your stream folder”, do you mean that each registered drawable must be its own streamed YDD file, for example:
stream/qilin_body.ydd
with:
<guid>qilin_body</guid>
Or can a single qilin.ydd Drawable Dictionary contain multiple registered drawables such as qilin_body, qilin_eye, etc.?
Also, did your custom ped require additive assets_albedo.ymt, assets_normal.ymt and assets_material.ymt as well, or was assets_drawable.ymt enough when reusing existing MetaPed materials/textures?
If possible, I’d also really appreciate a little more detail about the helper resource you used to force the MetaPed asset registry rebuild. I’m mainly trying to determine whether my invisible model is caused by the YDD structure or simply because the registry is not being rebuilt.
Thanks for sharing your findings — this is one of the few recent discussions I’ve found about truly additive MetaPed assets in RedM.