Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Error] Collision export function does not work (.COL) #35

Closed
Calvin-rgb opened this issue Apr 16, 2020 · 5 comments
Closed

[Error] Collision export function does not work (.COL) #35

Calvin-rgb opened this issue Apr 16, 2020 · 5 comments

Comments

@Calvin-rgb
Copy link

Calvin-rgb commented Apr 16, 2020

I decided to try out the new collision export function, created an object, exported it with the "Export Collision" option, and also a file with the same name as .dff with the .col extension only. Nothing is displayed in ColEditFile II, not even a mesh.

Note: both files (.dff and .col) are named by the same name both in the operating system and in the 3D editor (Outlener).

In ColEdit II:

image

Blender3D:
image

How I exported an object (Example):
image
image

@Parik27
Copy link
Owner

Parik27 commented Apr 16, 2020

You have to create a collision object to export a collision file, to do this, you can duplicate your mesh and set its type (in the object properties) to collision object. This is equivalent to what kdff does.

@Calvin-rgb
Copy link
Author

Ok thanks, but how to bind a collision file with an object file .dff? @Parik27

@Calvin-rgb
Copy link
Author

I found a solution to this problem, it is necessary that collections (col and dff) have the same name. @Parik27

@Parik27
Copy link
Owner

Parik27 commented Apr 16, 2020

In the original game, you need to name them the same as the dff, yeah. I'll have a script to automatically generate the col file in the future.

Is it alright to close the issue now?

@Calvin-rgb
Copy link
Author

Yes of course, thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants