The problem is, that the horse has different animations and "actions". For example: There is no animation for firing a crossbow and stuff.
The only animation it needs for this is a death animation, which it has.
Is this catapult really better than a scene prop as a projectile?
Less than a dozen lines of code, run once, and with physical realism is definitely better than several dozen lines of code, fired several times a second, and without physical realism.
Have you tried out, if agent position is moving together with the ragdol? I noticed that the game cam doesn't move on if your body falls down a wall or something.
The other thing is, can you actually target this catapult, so it fires at a certain position (or at least near the position)?
1. Yes. That's how I got the fire to follow the corpse in the above screenie.
2. To an extent, yes. I could easily make the trajectory lower or higher or rotate the base of the catapult. It wouldn't really work with a targeting reticle, but would rather be more the way a real catapult would be aimed; largely by trial and error.
Seriously, I'd consider restarting work on Storymod if you joined up.
I'll tell you what. Most of my modding consists of little gimmicky things like this. Once I've got this working right, I'll be coding a new ai for my ship combat that will allow ramming. Once I've done that, I'll make your men actually carry the ladders to the wall. Once that's done I'll be working on making explosions that actually explode. (those killed by it are blasted aside) After that I may try to make a mod which consists entirely of mission templates, where the player would never have to deal with a menu or the overland map. I've got an idea for a moving wedge formation for cavalry. All of these codes will be released to the public. If you have some gimmicky codes in mind for storymod, tell me, and I'll see if I can't figure out a way to make them work. I'll gladly join up with the storymod dev team, but I'm way to ADD to work on things like making 9856132 different siege scenes. Things like making assassination mission templates and catapults and ship combat I can do, though. Just let me know if you need something along those lines done.