Sorry Jez, I didn't make it clear at all. Basically, since an ammunition .mdl defined in
ammunitiontypes.2da remains in a fixed position as BioWare's (hard)code moves it along its path towards a target in game, we can, in theory, find out which direction it faces, and animate the ammunition moving in that direction. So that when the ammunition is moved along its hardcoded path, it also moves forward (at whatever direction is being fired) at the speed we animated the ammo model itself.
So if you animate the ammo moving straight forward in a Y direction, no matter which direction a ranged weapon is fired in, the ammo's "Y" is the same, so its forward animation moves along a fixed path relative to the hardcoded movement, making it look twice as fast or spinning it in mid-air, adding vapour trails, whatever we want (IF I'm right about this).
I'm still not explaining it very well, so I made a quick diagram:
If it still doesn't make any sense (I'm not sure it makes sense to me, to be honest), I can actually just try to make the mod, and upload the results if it works at all.
My apologies to any artists who may've been offended by the breathtaking lack of talent evidenced in the above drawing.
Modifié par B_Harrison, 29 août 2010 - 04:11 .