Frank, sorry, you took my 50 lines code, implemented it into the many hundreds of lines WIP bunch of include files. Now it loads the level, but the bots completely remain invisible. Sorry, I cannot find that bug since the current WIP is a jungle of include files to me. As I said before - debugging is much harder when you don't develop parts as autarc prototypes.
All I can say by now is I think it's a bad idea to load the Level geometry as an animated mesh just to be able to read interior entities from the children names.
Personally I think there is no way around a dedicated Map editor that will let the user merge meshes, sounds etc etc etc. into a NON-B3D format Map File which will include all paths to the content of the map: level geometry, 3d sounds, static and animated interior, particle emitters aso.. Well, I made a Level Editor for CSP which did exactly this, I released it as open source, virtually nobody cared about it, (at least noone ever released something based on it) so it is probably a bad idea to do this one more time.
All I can say by now is I think it's a bad idea to load the Level geometry as an animated mesh just to be able to read interior entities from the children names.
Personally I think there is no way around a dedicated Map editor that will let the user merge meshes, sounds etc etc etc. into a NON-B3D format Map File which will include all paths to the content of the map: level geometry, 3d sounds, static and animated interior, particle emitters aso.. Well, I made a Level Editor for CSP which did exactly this, I released it as open source, virtually nobody cared about it, (at least noone ever released something based on it) so it is probably a bad idea to do this one more time.