SA-MP Forums Archive
kdff collision error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: kdff collision error (/showthread.php?tid=644432)



kdff collision error - ATomas - 07.11.2017

Hello,
I found error in kdff error with collision generation. I attach the necessary files. Create a house and the door in it. But you can not come in.

Code:
AddSimpleModel(-1,19379, -2003, "barn.dff", "wallzzz.txd");
http://151.80.108.166/barn.col
http://151.80.108.166/barn.dff
http://151.80.108.166/barn.blend




Re: kdff collision error - Kalcor - 08.11.2017

kdff collision generator is quick and simple tool for blender models. More complex collisions will require you inspect the .col file with CEII before attaching it to the dff.

http://www.steve-m.com/downloads/tools/colleditor2/


Re: kdff collision error - ATomas - 08.11.2017

Thank you Kalcor. Do you have a manual? I can not find him anywhere. I just loaded the .col file there. But I do not know how to mark the points so I can edit them. I can not load the .dff file.


Re: kdff collision error - Kalcor - 08.11.2017

kdff is new and still may have some bugs. You can always put dff files in a zip or rar and upload them here. Or you can post screenshots of what you see in CFE II after the collision is generated.

The important key in CFE II is F4. That toggles between edit mode and view mode.


Re: kdff collision error - ATomas - 08.11.2017

Thanks Kalcor. I mean make colision in CFE II. If i try load .dff file (need for create colisions) i see this error

http://www.img.tpx.cz/uploads/dfgdaa...dsaddggadg.png

and .dff not loaded.


Re: kdff collision error - Kalcor - 08.11.2017

You can't create the collision in CFE II, it's only for editing the .col file _after_ it has already been created.

You create the .col using kdff. If something goes wrong here (in kdff), you can show me the col file it generated by screenshotting it in CFE II.


Re: kdff collision error - ATomas - 08.11.2017

I understand that. But my house has a sloping roof, and when I can not add a point, how do I model the roof and the door so that the collisions correspond to .dff the moddled object?

This sis .col file what you see in screen.

http://151.80.108.166/barn.col


Re: kdff collision error - Kalcor - 08.11.2017

Worked fine for me. Just make sure you have Make Col > Mesh Faces + Optimize.





Quick explanation:

Make Col > Empty. This is for objects that don't have a physical collision, like ones attached to the player.
Make Col > Box. Only a box around the entire object is generated. This is suitable for simple interior objects etc.
Make Col > Mesh Faces + Optimize. This is for complex objects that need to use the mesh faces for the collision (most world objects).


Re: kdff collision error - ATomas - 08.11.2017

Thank you very much Kalcor. You are amazing. Now it works!