Quote:
Originally Posted by Hitman
Can you further explain how it works? I know what Racerboy and Sergbuto did to make the Ai torpedoes, but how does your mod work? Does the game really know it is launching torpedoes, or is it tricked to believe it is shooting shells or other things?
|
It's a modified cannon shooting a dummy shell.
The trick is that I used the gunpowder cloud effect (the nice fire/smoke you see coming out of the barrel right after you shoot) to spawn a torpedo. This torpedo then heads into the direction the barrel pointed at. Unfortunately also the barrels elevation angle is copied by the torpedo. This is what causes the occasional deep/shallow running. Luckily within certain boundaries the torpedo can correct this, so I've set the max elevation angle of the gun to only 1 degree.
This mod certainly isn't perfect but it's a lot better than nothing.