Export a Blender object as a ydr file to import it into CodeWalker
06 September 2025
A tutorial to export an object created in Blender for importing into the Codewalker map.
Prerequisites
Create an object in Blender
- Open Blender
- Delete the cube and remove existing objects in the scene (
a+x) - Create a new object, for example a cube. (it should be a simple object with few vertices)
- Check that the scale of your object is at 1 (to do this:
object mode > object > apply > scale) - Go to
Sollumz Tools, indrawables,create drawable objects > convert to drawable model > convert to drawable(this creates an empty for your object).
- In
Shader tools, choosematerial default > create shader material - In
Edit>preference> enableNode wrangler - Open a
shader editortab - In the “DiffuseSampler” part, add your texture image in
.ddsfile - Click on the folder icon
open imageand find your image.dds
- Go to
Propertiesthen to theMaterialtab - Scroll down to
Sollumz>Texture parameters> checkembeded - Duplicate the
.modelobject - Then right-click on the parent and select
clear and keep transformation - Rename the duplicated object to
object_collisionexampleCube_collision. - In
Sollumz tools>Collisions>Create bounds> click onConvert to composite(this creates an empty)
- Remove the material from your object
object_collision - In “Sollumz Tools”, then
Collisions>Create Collision Material> take for exampleVfx metal electrified> thenCreate Collision Material
- For the
object_collision.bvhfile > in objectproperty object, check that thesollumz typeisbound geometry bvh - In
composite flaguncheckmap cover - For the
_collision.polymesh> in objectproperty object> check that thesollumz typeisbound polymesh - In collision, click on
select hierarchy, then shift drag in the object collection
- Make sure to check the hierarchy Cube > Cube_model > Cube_collision --- 22 to review (robin)
- Duplicate the
.modelfile and rename by adding the.medextension (examplecube_model.med) - Select the
object.medfile > go todrawable>load tools - “Reference mesh” > take the .med file as a model --- 26 to review (robin) Select med or medium Click on “generate lods”
- Delete the med file
- Rename the collection for example “test_cube”
- Select the .model file
- Go to sollumz tools
- Go to archetype definition > YTYPS > create YTYP (+) Rename the file (example test_sollumz_cube) Select the empty
- In archetype Check that the type is “base” Then click on auto Create archetype
- Check the nomenclature and the linked object Check that it is the same name as the empty
- Export ytyp.xml
- Export the ydr:
- Select the entire hierarchy
- In file > export > codewalker
- Check “limit to selected object”
- Check “apply parent transform”
- Toggles lods > “high very low”
Resources
mnsb223, How to Create a YDR with Embedded Collisions and Lights in Sollumz 2.1, https://www.youtube.com/watch?v=j8kZWnYZ_e4, 2023
Translated by AI from the French version.











