Make Col error: 2 - 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: Make Col error: 2 (
/showthread.php?tid=645211)
Make Col error: 2 -
ATomas - 22.11.2017
Hello,
I modified the object (crane) divided into 3 parts to use MoveObject. In blender, I imported the .dff file and cut it to 3 objects and exported it. But in kdff it says "Make Col error: 2". How to fix it?
Thanks for help.
Re: Make Col error: 2 -
Kalcor - 22.11.2017
The console version of kdff might provide better error information. Error 2 means it couldn't read the dff geometry. There may be multiple geometries (meshes) in the dff. Screenshots from kdff gui or RW Analyze can be helpful.
Re: Make Col error: 2 -
ATomas - 22.11.2017
Thanks for response
Original object:
http://dev.prineside.com/en/gtasa_sa...Freightcrane1/
I divide to 3 parts. No other changes. There are .dff files:
http://151.80.108.166/jerab0.dff
http://151.80.108.166/jerab1.dff
http://151.80.108.166/jerab2.dff
And screens:
http://151.80.108.166/crane3parts.png
http://151.80.108.166/oneofpartcrane.png
Re: Make Col error: 2 -
Kalcor - 22.11.2017
It failed because one of the materials in jerab0.dff has multiple textures assigned:
chainlinkac1_128
chainlinkac1_128a
I need to do some more research on how the blender exporter is dealing with alpha textures. We normally don't use a seperate texture for the alpha but embed the alpha channel in the txd texture. For now you could remove the second texture from the material, and save to a new dff name just for the purpose of generating the col. Then attach the col to the original dff. I'll update kdff later if it's needed.
Edit:
It looks like a problem with the blender importer. The original model didn't have multiple textures assigned to the material.
Re: Make Col error: 2 -
ATomas - 22.11.2017
Thank you. Its work now.