Posts: 8
Threads: 2
Joined: Nov 2015
how to import obj. files to this
Posts: 2,857
Threads: 62
Joined: Dec 2010
Reputation:
0
Yeah I'm also getting Make Col error: 2
.dff attached.
Posts: 2,857
Threads: 62
Joined: Dec 2010
Reputation:
0
Exporting the default cube (with texture matching what's in .txd) also gives error 2. Blender file attached.
Posts: 81
Threads: 13
Joined: May 2013
Reputation:
0
Add a display of collision polygons
Posts: 1,174
Threads: 251
Joined: May 2012
Reputation:
0
One thing I don`t understand, when I input dff and txd files into kdff program it generate collision, also I save into model folder collision file, but when I enter game object which I input into server has no collision, why, I don`t know, can anyone give me any tip?
Posts: 1,042
Threads: 46
Joined: Jun 2013
Quote:
Originally Posted by Kalcor
Error 2 = Can\'t read dff geometry section.
You\'ll need to provide more info about your model, maybe even upload the dff file if possible.
|
Posts: 1,180
Threads: 55
Joined: Apr 2005
Reputation:
0
kdff only supports collision generation for simple models with a single geometry/object. The frame count when you import should be 1. In blender, you can join multiple objects together with ctrl+j or shift+click (multiselect) object menu -> Join.
The only objects in the game that have multiple frames are ped skins (which don't need a collision), vehicles (which will never automatic collision generation), and breakable objects defined in objects.dat, which are not currently supported. Objects exported for sa-mp should be a single mesh.
Posts: 1,042
Threads: 46
Joined: Jun 2013
Quote:
Originally Posted by Kalcor
...
|
You can add option to remove the collision from the dff file?
Posts: 1,042
Threads: 46
Joined: Jun 2013
I decided to take a standard object, and I also can not create a collision. What can be wrong?
Posts: 3,138
Threads: 71
Joined: May 2008
Reputation:
0
New objects from III & VC ~ 4000. Also original objects (lights etc.).
Posts: 1,208
Threads: 36
Joined: Apr 2015
kdff not working correctly with big objects, collapses object collisions
Posts: 578
Threads: 40
Joined: Dec 2016
What's col error -1?
Quote:
C:\samp038_svr_RC2_win32\models\editor\kdff>kdff.e xe -a -d object.dff -c object_col.col -o object.dff
[error] Could not append col to file: object_col.col error: -1
|