Prop only spawns with ytyp, ydr, ymap and ymf files

I have made myself a custom prop in blender to work with a script. My prop only spawns with a script when I have ytyp, ydr, ymap and ymf files in my stream folder of my prop. I see other people only using ydr and ytyp files to spawn a prop with a script. Why is my prop not getting spawned with only ydr and ytyp files?

You probably need to include just the ymap with your other files as the ymap describes other details about how and where to spawn your item.

Ymap and ytyp are typically (from what I’ve seen), the main descriptor files. ymf is also, but not as common.

I think the question here is what do those other props have that yours doesn’t that’s allowing them to spawn them on their own. You should at this point open those props in blender and compare the differences…

Ymap is used when you want to spawn the prop with a CodeWalker at your chosen location, i don’t need that, because im spawning a prop in my custom script with the props name. I don’t know if importing other prop ydr files will help me, because I think I would need a whole blender project file.

Ymap isn’t a codewalker file. Ymaps are a GTA V file. Every prop has a ymap associated (correct me if I’m wrong). If you have an example of a (PUBLICALLY AVAILABLE VIA cfx) mod that spawns the prop without a ymap, I can tell you which in-game ymap the prop is probably referencing…

Check this out. GitHub - FuryShop/Fury_still: 3 type of moonshine distilleries

Check out the info.txt:

You will need an additional script to spawn the prop or else you can use a map editor

Source: SOURCE

I think this is because you’re going to need a referencing ymap to tell these things where to spawn, (but once again, I may be wrong).

This would explain why his github doesn’t have coordinates for where the spawnlocation is for these assets…

Sorry for all the prefaces but:
as far as I know, every asset has a ymap and ytyp.
The ymap tells the objects where to spawn
See Dekurwinators resource on ymaps

The ytyp will tell objects such as props how to behave including physics flags, texture dictionaries, embedded collisions, etc.
See Dekurwinators resource on ytyps

So that additional script is my job script where I spawn my prop with ‘createObject’ native. It does not need the ymap, because the script tells the prop where to spawn it.

LOL, I feel like I may be missing something because my immediate brain is telling me that that’s your answer - AKA my next question is: Have you tried spawning YOUR ydrs with a script?

I’d say try to mirror the github’s script you posted by creating a ytyp, and making sure it has the same entries as his ytyp. Also, try to make the ydr file match the settings of HIS ydr, then spawn it in with the CreateObject native.

Make sure you have a stream file that contains your map files, and that your fxmanifest describes the ytyp file (ityp) as it does in the github as well;

Of course I have tried that, and i have tried mirroring the fxmanifest almost everything, ill try to figure it out ty for your help.

If you need a second pair of eyes, and you’re willing, post a ydr.xml, and I’ll compare it in blender.