![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Weps
![]() Join Date: Sep 2005
Posts: 359
Downloads: 43
Uploads: 0
|
![]()
Just a quick update ... as part of the development work for the TSWSM, I've managed to make submerged AI submarines which fire Torpedoes.
This will be released with the TSWSM, but for those experienced modders among the community, I thought I'd describe the method in case anyone wants to start coding it into their own work; 1) Create an AI controlled submarine (if you don't know how to do this ... you'll struggle with the rest) 2) Improtant bit - import the conning tower model from the relevant conning tower file in \objects into the main submarine model. 3) Remove the refeence to mounting the conning tower to Z01 at the top of the units .eqp file. 4) Add a mount point (I used M02) 1 Metre in front of the sub and 1.1 M above it and then mount Darkfishes torpedo launcher on it. 5) Set the surfaced draft in the subs .sim file to a value which puts the sub below the surface. For the IXD2 I'm using a draft of 15 To validate if this works, modify drakfishes torpedolauncher.dat to make the launcher visible - this will help you see if the torpedo launcher is clear of the surface and will also help validate whether or not its firing. The above does seem to be a bit snesitive to depth ... if I make the IXD2 go much deeper by increasing the draft by a couple of metres, it stops firing. Any Q's ...post here and I'll try and answer (TSWSM development is keeping the team real busy at present) |
![]() |
![]() |
![]() |
#2 |
Silent Hunter
![]() |
![]()
Thank you for the info; I have been fiddling with the AI torpedo mod all evening, TBH.
Question: Do you know how to give a torpedo or other object a depth of zero so that it's on the surface after launch? As part of an upcoming mod I am trying to give AI ships nodes so that they can launch boats when they encounter the player's sub. My idea is to create a "weapon" node that "fires" boats - however, I need to know how to keep the launched object on the surface. |
![]() |
![]() |
![]() |
#3 |
Weps
![]() Join Date: Sep 2005
Posts: 359
Downloads: 43
Uploads: 0
|
![]()
Sorry - no don't know how to do that. Darkfish may do.
|
![]() |
![]() |
![]() |
#4 |
Navy Seal
![]() |
![]()
Nice idea...hope it works out well.I look forward to the day I have to dodged Japanese torpedos in SH 4.What mod will this be with? What is TSWSM?
|
![]() |
![]() |
![]() |
#5 |
Silent Hunter
![]() |
![]()
The Surface Warfare Super Mod.
|
![]() |
![]() |
![]() |
#6 |
Sea Lord
![]() Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
|
![]()
That's right. Check us out in the ATO mods forum.
And sorry polyfiller, but your subs are already obsolete ![]() They'll stay surfaced until they spot an enemy upon which they fire a couple of torpedoes and dive to a predefined depth. More info, probably including screenshots/movies, to come next weekend! ![]() (and no, it's not just that I only plan to make them, I already have!)
__________________
![]() |
![]() |
![]() |
![]() |
#7 | |
Silent Hunter
![]() |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#8 | |
Silent Hunter
![]() Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
|
![]() Quote:
Do they aim the torpedoes at you or just fire in the direction they are facing ? keltos |
|
![]() |
![]() |
![]() |
#9 | |
Sea Lord
![]() Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,844
Downloads: 28
Uploads: 0
|
![]() Quote:
They'll use my AI torpedo launchers so they fire them at you the way the launchers do. I know I promised to show some screenies but because of some hardwarematic problems I haven't been able yet to port anything over from my desktop (on which I do all my modding, and which hasn't got internet ATM) to my laptop. I'll hopefully have an internet connection on my desktop again on monday. Just for info, work on this is taking longer than expected, partly because I've been very busy this week (1st week at university) and partly cause I've encountered a few problems with the diving system. Nothing I shouldn't be able to overcome though ![]()
__________________
![]() |
|
![]() |
![]() |
![]() |
|
|