https://sampforum.blast.hk/showthread.php?tid=644075
Use KDFF to generate a SAMP col from the objects (if they don't have a seperate .col file already), then use it again to attach them to the Models. The usage should be explained in the thread ![]() |
Empty box mesh faces. what is difference?
And how to make coll with kdff.exe 2k files dff |
you have to use kdff.exe tho i dont know cmd lines for it. Also you have to use mesh faces when generating coll's. Anyways there should be thread about cmds in kdff.exe somewhere around lol i just couldnt find it
![]() |
Seems like https://sampforum.blast.hk/showthread.php?tid=647421 has more info maybe... I just found it by searching for "kdff command line", and it may help out a bit in some way.
|
[usage] Modes: -i (info) -a (append col) -p (process all) -v (night vertex) [usage] Modes: -g [mode] (generate col for dff) -g modes: empty, box, mesh [usage] Input: -d [dff file] -c [collision file] (col ver3) -o [output file] [usage] Example (append col to dff): kdff.exe -a -d MyHouse.dff -c MyHouse.col -o MyHouseC.dff [usage] Example (show info for dff): kdff.exe -i -d MyHouse.dff [usage] Example (generate empty col): kdff.exe -g empty -d MyHouse.dff -o MyHouse.col [usage] Example (import NVC from -n): kdff.exe -v -d MyHouseDT.dff -n MyHouseNT.dff -o MyHouseNVC.dff [usage] Example (all in current dir): kdff.exe -p (process *.dff in cwd and attach *.col)
kdff -g mesh -d Example.dff -o Example.col
Код:
[usage] Modes: -i (info) -a (append col) -p (process all) -v (night vertex) [usage] Modes: -g [mode] (generate col for dff) -g modes: empty, box, mesh [usage] Input: -d [dff file] -c [collision file] (col ver3) -o [output file] [usage] Example (append col to dff): kdff.exe -a -d MyHouse.dff -c MyHouse.col -o MyHouseC.dff [usage] Example (show info for dff): kdff.exe -i -d MyHouse.dff [usage] Example (generate empty col): kdff.exe -g empty -d MyHouse.dff -o MyHouse.col [usage] Example (import NVC from -n): kdff.exe -v -d MyHouseDT.dff -n MyHouseNT.dff -o MyHouseNVC.dff [usage] Example (all in current dir): kdff.exe -p (process *.dff in cwd and attach *.col) Код:
kdff -g mesh -d Example.dff -o Example.col And from there, you'd simply make a batch file. |
Console option -p will scan all *.dff files in the current directory and attach the *.col with the same name. |
@ECHO OFF (for %%f in (*.dff) do ( echo kdff.exe -g mesh -d %%~nf.dff -o col\%%~nf.col echo kdff.exe -a -d %%~nf.dff -c col\%%~nf.col -o gen\%%~nf.dff ) echo pause ) > !run_kdff.bat