@Kartoffel: the code is based on the script of EvilSOB: http://www.opserver.de/ubb7/ubbthreads.p...true#Post404092

His script merges two (different) entities. I modified the script to clone a single entity several times and adjust its vertex positions.

You can merge as many meshes as you want at the same time with the directX instruction "D3DXConcatenateMeshes" (see google for more information).