Secrets of Egypt (Egoshooter-Editor)

Miscellaneous Forums/Blitz Showcase/Secrets of Egypt (Egoshooter-Editor)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

first store their (entity) position, scaling and rotation, then position them at 0,0,0, rotate 0,0,0 and scale 1.0,1.0,1.0, then POsitionMesh, RotateMesh and ScaleMesh the entities with these values. Now you can CreateMesh a new mesh, then AddMesh them all together to this new mesh. Then use the SaveB3D code I released (code archives) to export it, the latest version supports almost every b3d feature (except some dds problems).

Alternatively you may edit the SaveB3D code in a way that will save multiple entities in one file, this should be pretty easy, simply use parallel nodes inside the file for every entity. Then use LoadAnimMesh to load it and you should be able to access the entities as children.