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 v_49_motelmp_bed.ydr
.
This model does not have collision embedded into itself. Instead, the collision for this model comes from v_motel_mp.ybn
which attaches to the interior of v_49_motelmp_shell.ydr
.
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.ydr
into 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 ydr
file 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.