Blender Asset Creation / Export
You can use the Blender plug-in BCRYExporter to save game assets for CryEngine. The plug-in is compatible with Blender 2.78 and it will not work with the more recent 2.8 release. You can model the assets in the newer Blender version as long as you do the export from 2.78.
An new plug-in compatible with Blender 2.80 can be found here: BCRYExporter for Cryengine 5 ported to Blender 2.80 but I haven't tested it yet.
Setting-up the render mesh
- the model must use the proper scale, all dimensions are in meters
- the origin coincides with the right hand position (slt_0)
- the individual parts of the object must be joined in a single render mesh (LOD0) or the slot helpers might not work. Grouping them by using an Empty didn't seem to work. You can keep parts individually selectable by assigning their vertices to Vertex Groups before joining them in a single mesh. This is helpful for UW unwrapping.
- all meshes (LODi, physics proxies) with the exception of slot helpers must have transforms applied
Adding slot helpers
- slot helpers include hand positions, sharpening centers, placement and pick-up points
- you can use Empty objects with Axes visibility as slot helpers for good visibility
- slot helpers must use the exact naming convention specified in the KC:D documentation (eg. slt_0 and slt_1 for right and left hand positions)
- slot helpers must be nested directly under the render mesh
- slot helpers must be transformed in Local coordinates and they must not have the transforms applied. The game engine uses the slot helper transforms to position the objects in-game. Use Object (Keep Transform) Parent when parenting.
- @todo: grouping when using multiple LODs?