Export additional info

Prophet

27-08-2008 21:52:47

I'm wondering, is it possible to export additional info/data from objects in your scene as a separate file? We're planning to use NxOgre and if our level designer could set all in oFusion and then just export, I'll write a simple script to handle the info and we could work more independently. If so, he must be able to export some additional info from oFusion like density, collision model, static/dynamic etc. If not, is it planned and if so, when?
We're using v.1.8.6 CE, thank you.

Evak

28-08-2008 07:24:44

we use the user data portion of the OSM in our game dev framework. I think you might have to have the pro version of OSM to have access to the OSM serializer saver library though.

With both the serializer and loader you can create your own editor that supports the user defined properties. You can then create simple scripts on a per node basis with density, collision model, static/dynamic info.

Our blitzmax game dev framework does all this and will have a beta version released soon with a closed source editor. Might be worth looking out for later.


BTW, the way we did the collision model requires no user data. We use a postfix of _COL and save a mesh with that name. When an OSM is loaded the engine checks the dir for a _COL of the same name and loads it as a hidden collision model automaticly. Internaly the editor stores a unique random number with your visual mesh, so you can still instance a model in the editor and the model uses a reference of the same collision mesh.

It's really convenient for artists this way since you don't need to mess around in an editor sorting collision meshes and typing names or selecting meshes in load dialogues.

Prophet

28-08-2008 11:08:13

Hm, we have 0 money, so if we are to buy anything it's bound to be a new computer.
But your way was clever, why didn't I think of that? Still misses the density and stuff though. I'll definitely look at your game engine, but I don't think we'll have time for it this time.
Thanks for your reply!