12-05-07, 10:41 AM
|
#116
|
Admiral 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,492
Downloads: 122
Uploads: 1
|
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"...
|
|
|