View Single Post
Old 07-22-09, 02:05 PM   #5
DarkFish
Sea Lord
 
Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
Default

Quote:
Originally Posted by Hitman View Post
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.
__________________

DarkFish is offline   Reply With Quote