I will begin with what I have found out, to put things in context.
Basically, I am trying to mess about a bit with which skeletons are used for which creature. The end product would be bipedal mounts without the wrong proportions of the horse/camel for this purpose.
Now.. what I noticed, looking through descr_skeleton was that each animation routine has a 'name' as well as the actual animation name. These names are common across all similar skeletons, and are even re-used on the mounts. There are some 'specials' which give me my problem. for example .. ALL skeletons have a 'die backwards' move, named differently for horse, elephant, human etc. but always 'die backwards'. This I assume, is being used by the game engine to link model activity to game code.
When XIDX is used to modify an animation, this aspect is not changed.
I have built up a table of these links, and tested it...so I know this is solid data. You, can, for example, use a human model and fs_dagger for an elephant type mount. This is due to the human melee skeletons having EVERY movement that the elephant requires. You CANNOT, however, use an elephant to replace a horse...there are several special moves that the horse has...jump, turn left/right while rearing, refuse and die refusing. The battle runs ok right up to the point that the game tries to execute one of these moves...then hello desktop!
So...then we have side-effect 2!
When I replace the elephant with the human, the game is happy...except for one thing...it WILL NOT display the riders. They still shoot, but are not displayed. I am assuming this is because they are positioned relative to the elephants equivalent of a 'saddle bone' which is missing in a human skeleton.
As a final annoyance, there seems to be an issue with putting non-missile skeletons on the back of elephants...
So...what do I need to do...
1) Add extra routines to a skeleton, so I could add routines to an elephant skeleton to duplicate the ones unique to a horse
2) Rename a bone to trick the game into placing riders ... assuming I have that correct
3) Find a way of mounting melee troops on the back of an elephant unit type!
I have no knowledge of hex editing, or any such other 'black art' but I really need to get to the bottom of this! There are numerous options this would give me for units that I really need, but which just don;t look right due to the stupid design of horses.... the thigh bones are massively long compared to the lower legs on the front end, and there is a crappy extra bone on the rear end that I don't want. I could bodge around it by completely re-working all the anims...but I am not 100% happy with this approach ...it doesn't achieve what I want ( I have done it and don't like it)
anyone know how I can move this forward?
Bookmarks