Hi,
can anyone help me in explaining how i can deploy a mesh in a map. I mean an enemy for example, i have my own character that can walk around, but i want it of course to attack something. Is there anyone willing to explain this to me? I already have an enemy cal3d model ready.
Thanks.
One way to do that is to use a key value pair in the map like this:
<key name="enemy_pos" location="x,y,z" type="myuglybastard" />
In code you can then iterate over these keys and create your own entities there.
Another way is to use the <node> system. The nice thing about this is that it is supported by blend2cs. Just create an 'empty' object in Blender and it will be exported as a node.
Greetings,