SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-05-07, 10:41 AM   #31
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by Hitman
Racerboy,

is the torpedo spawned directly to the north or does it turn to the north once shot? In the latter case, this could be solved by creating an AI torpedo with zero turn angle, i.e. it would go where the bow of the ship is aiming at -which will normally be the enemy-. Not perfect, but would work well against a high density target like a convoy.

If you wish to use in-game sub torpedos for AI units torpedos, you should generate new object (torpedo with amun_torpedo controller) ...
This object has the same angular coordinate rotY (in world system of coordinates) as well as rotY in block Type4/100 off torpedo dat file ...
If to change rotY in torpedo dat file, orientation of the generated torpedo in world system of coordinates will change ...
__________________
Alex ®


Moses said: "Don't create yourself an idol"...
Anvart is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.