Hi,
Anyone knows about a good tutorial on interactive placeables ? What i need is something explaining how to do the advanced bits : Attacked/destroyed animations, flame animations with lanterns, lamp posts, braseros, sizing of the luminescent shadow used to interact with the placeable. And all things related to the hand/head/body/damage nodes...
Thanks for helping a puzzled, not so bright minded ;-) gnome...
CG
I don't know of any tutorials, but can at least tell you what I've learned (may not be 100% accurate though).
1. Luminescent shadow/Glow. The luminescent shadow or glow is dependent on the dimension of the meshes. I think it's a a bit smaller than its bounding box. I encountered that when I made my arcane circle placeables. At first they only consisted of an emitter and they had no glow at all. They were impossible to move in the toolset or use ingame - in fact they weren't selectable at all. So I had to add a transparent trimesh (simple box) and the glow was about as big as that mesh.
2. Placeables Nodes. For placeables you need the following nodes, most of them are for visual effects:
If you don't define one of those nodes the engine will use (0.0, 0.0, 0.0) as the location of the missing ones. Personally I'd say impact and use nodes are pretty mandatory. If use nodes are missing placeables may be unusable: An pc will attempt to walk to the center of the placeable, but is unable to do so because the walkmesh is preventing him. Without impact nodes it will look weird when they are hit by spells and everything goes towards the ground.
3. Animations (damage, die, death): Unfortunately I can't help you much here. I know what they do, but that's pretty self explanatory:
I don't know how long they have to be, because ultimately when a placeable is destroyed they fade away and are gone anyway. That takes a few seconds though and looks weird. I think die and death are only there to speed up the disappearance and make it more effectfull of course.
Thanks Symmetric, Every little bit of knowledge helps.
Speaking of the fake luminescent/glow transparent mesh, did it require a special mesh name... How can i tell the game engine what object i want to use for making the selectable glow ?
Unfortunately you can't specify which mesh to use. It will use the bounding box of all meshes combined.