Need help embedding collisions into a model
I'm trying to learn how to build collisions around native models that don't normally have it. For example, I'm using a model named
This model does not have collision embedded into itself. Instead, the collision for this model comes from
v_motel_mp.ybnwhich attaches to the interior of
If I spawn the bed into the game as-is, I can walk right through it
My thinking was to use 3D Studio Max with GIMS and emded my own collision boxes into the model like I've seen done with other native items. I imported
prop_tv_cabinet_03.ydrinto 3D Studio Max to see how it's structured because this model has collision emdedded already. I used that model as a guide to setup and structure my new bed model and threw in a large collision box to test with.
I exported the model out of 3D Studio Max and used OpenIV to convert it to a
ydrfile but when I stream the new model into the game, there's still no collision.
Can anyone help with this? Every video, thread or article on this subject seems to be super vague or outdated. I also bought and tried zmodeler 3 with the same results.
Any help or direction with this would be greatly appreciated. I've been debugging and researching this issue for days.
@Dekurwinator I can confirm that the flags are set however I can't find the "Unk VertOffset" settings on either of those scenes in the explorer.
Here's what I see
Note that all the flags are checked for Flags 2
I know what it looks like because I've seen it on someone else's screenshot here
Mine doesn't have that option. Is that critical for this?
@DammitKenny You should to take a look to one of the GTA modding masters:
@Dekurwinator that's not my screenshot, that's someone else's. I don't see that option on my end.
@MetaGTA thanks, I will definitely watch that!
@Dekurwinator Thanks, I was able to set the Unk VertOffset but there still isn't any collision. Would you mind taking a look at my file and proof-reading it for any mistakes? I feel like I'm missing a small step somewhere that another set of eyes could find. I linked the file here if you're able to check it out. Here are my scene settings if not: https://imgur.com/a/DuVyq
@Dekurwinator thank you so much for you help. I tried your max file but I got the same results. I'm starting to think that this is a limitation with FiveM's streaming assets feature. I'm going to have to find another way to build the interior I have in mind. I was able to successfully stream ymaps into the server so I think I might do some research on that end and see if that is a viable solution for me. Thanks again!
@DammitKenny Hi you can take ??
@blackbone777 Doubtful considering the person has not signed on in 2 years.