I'm probably like 15 years late but anyway, here are some Blender tools for working with Refractor 2 engine assets!
Import & export support of:
- Skeleton (
.ske) - Animation (
.baf) - StaticMesh (
.staticMesh) including lightmap samples - SkinnedMesh (
.skinnedMesh) - BundledMesh (
.bundledMesh) - CollisionMesh (
.collisionMesh) - Occlusion Mesh (
.occ)
As well as many other utilities for:
- Lightmapping
- Skeleton rigging
- Making overgrowth LODs
- BundledMesh skinning
IMPORTANT NOTICE: There is a bug introduced in 5.1 version of Blender causing the import & export to be extremely slow. The fix should be comming in the next hotfix (5.1.1), but for now avoid using Blender 5.1.
For best experiance always use the recommended Blender version with the latest add-on version. Newer versions of Blender that are not listed below might still work but have not been tested.
| Blender Version | Add-on Version |
|---|---|
| 5.1 | latest |
| 4.2 - 5.0 (recommended) | 0.11.7 |
| 4.0 - 4.1 | 0.7.7 |
Download the latest io_scene_bf2 package from Releases compatible with your system and follow the steps at Installing Add-ons
Head over to the Documentation for details on how to use this add-on
This repository includes the source code of the following third-party projects:
- rectpack licensed under Apache License Version 2.0
- Texconv Custom DLL including python bindings from Blender-DDS-Addon licensed under MIT License
- bf2mesh licensed under MIT License
- pybind11 licensed under BSD-style license.
Unless stated otherwise, all of the remaining source files in this repository are licensed under MIT License.
- secnot, matyalatte and rpoxo as the respective owners of the repositories listed above
- Harmonikater for BF2-3dsMax-Tools (served as "inspiration" for some of the tools)
- Remdul for guidance and bfmeshview (a lot of the stuff is ported over from there)
- Ason and DeWolfe for testing and feedback