idk how you would be able to do this, but maybe placing custom scenenodes/objects or something similar so that it can be used in many different ways.
like theres a 'node designer' where you can define attributes or parameters for nodes, for example:
Node: Enemy
- IAnimatedMeshSceneNode
Mesh
- vector3df
Position
- int
HP
- string
Name
and its exported like this:
Code: Select all
<Enemy Position="34.56.0" HP="100" Name="Cookie Monster" Mesh="en.3ds"/>
Then you write your own importer classes and ditch the smgr->loadScene thing.
Not sure if it would work, but it would definitely be huge if it did
