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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-04-09, 01:35 PM   #1
DarkFish
Sea Lord
 
Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,785
Downloads: 28
Uploads: 0
Default

Quote:
Originally Posted by peabody View Post
Fantastic idea. Very clever.

Just a suggestion on the issue of stationary/slow moving targets. You have the Particle generator/object linked to the MK14. What about making one of the torpedos acoustic. (I know the cutie is already, but it is slow and underpowered for this use.) Wouldn't that solve the problem of accurate aiming for faster ships? You would still have to be "in the ballpark" or the acoustic wouldn't pick up the target. And then you could create missions with surface AI ships assisting an attack. Of couse I would put a rather small limit on the available ammo or it would keep shooting until everything is sunk.

Thanks for the great work.

Peabody
You could fire any torpedo you want, just change the ID the object particle links to in the torpedospawnfx.dat file. But I don't think a modified cutie would work as it would simply go after the ship that fired the torpedo, I guess.
FYI, there are no custom torpedoes included, it just uses the stock ones. If you want a torpedo to go faster you would have to modify one of the already existing ones. Maybe cloning it, but I don't know what effect that would have on the 'playable' ones.

There is already a limit on the ammo, right now it has 4 torpedoes launching 20 seconds apart.

Also, I updated the file to fix problems with deep running torps, in the latest version (just uploaded to FileFront) even with 15m/s wind 2/3 of all torpedoes still hit the target. (depending on target draft of course, 7,5 ft in this case)
At longer ranges (from about 2500 m) the problem seems to cure itself with all torpedoes suddenly rising to their normal depth, but so far I didn't succeed in shortening this distance.
__________________

DarkFish is offline   Reply With Quote
Old 08-04-09, 02:26 PM   #2
The Fishlord
Planesman
 
Join Date: Jan 2008
Location: Maryland, USA
Posts: 185
Downloads: 119
Uploads: 0
Default

Quote:
Originally Posted by DarkFish View Post
You could fire any torpedo you want, just change the ID the object particle links to in the torpedospawnfx.dat file. But I don't think a modified cutie would work as it would simply go after the ship that fired the torpedo, I guess.
FYI, there are no custom torpedoes included, it just uses the stock ones. If you want a torpedo to go faster you would have to modify one of the already existing ones. Maybe cloning it, but I don't know what effect that would have on the 'playable' ones.

There is already a limit on the ammo, right now it has 4 torpedoes launching 20 seconds apart.

Also, I updated the file to fix problems with deep running torps, in the latest version (just uploaded to FileFront) even with 15m/s wind 2/3 of all torpedoes still hit the target. (depending on target draft of course, 7,5 ft in this case)
At longer ranges (from about 2500 m) the problem seems to cure itself with all torpedoes suddenly rising to their normal depth, but so far I didn't succeed in shortening this distance.
That's still waaay better than nothing, great job. Since this is a modified gun I guess it won't fire underwater though? So no chance of seeing intelligent enemy subs...

Speaking of Japanese torpedo boats...

http://en.wikipedia.org/wiki/File:Shimakaze.jpg

This is the only remaining picture of HIJMS Shimakaze. She had hands down probably the biggest broadside of her tonnage class of the war - six five inchers and 15 Long Lances, which gave her a huge edge in night fighting. To top it off she could scurry along at 40 knots with an experimental turbine.

Dang, the Japanese could have done a lot more damage than they did IRL...imagine encountering this baby ingame, with torpedos all loaded up.
The Fishlord is offline   Reply With Quote
Old 08-04-09, 04:34 PM   #3
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by DarkFish View Post
FYI, there are no custom torpedoes included, it just uses the stock ones. If you want a torpedo to go faster you would have to modify one of the already existing ones. Maybe cloning it, but I don't know what effect that would have on the 'playable' ones.
I don't think you can clone a torpedo, you would have to modify one in the sim file and make it acoustic. I don't know if the ship will only use the US torpedos or if it will use the German ones, never tried it. But Keltos tried to add a new torpedo and it wouldn't work. And someone mentioned you can modify them but can't add any. I think if the straight run distance was far enough it shouldn't come back to hit you, but of course I never tested it, since until now, I didn't know you could make them work.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 08-04-09, 05:15 PM   #4
keltos01
Navy Seal
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 5,000
Downloads: 114
Uploads: 17
Default

you cannot clone a torpedo. period. but you could modify a relatively less used one into what you need

thanks to all the modders out there this game is starting to look like something !

guess they should hire us all

keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 08-04-09, 05:20 PM   #5
U-46 Commander
Lieutenant
 
Join Date: May 2008
Location: The absolutely most exciting state!! Iowa!
Posts: 251
Downloads: 56
Uploads: 0
Default

They should! I would probably only be a tester though. Can't mod, can paint a little.
__________________

"Loved By Few, Hated By Many, Respected By All."-The U-boats.
U-46 Commander is offline   Reply With Quote
Old 08-09-09, 09:20 AM   #6
keltos01
Navy Seal
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 5,000
Downloads: 114
Uploads: 17
Default

what a mix with Miner1436's PT boat !



keltos
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote
Old 08-09-09, 12:55 PM   #7
Akula4745
Convicted Ship Killer
 
Join Date: Mar 2009
Location: Just out of sight... plotting your course and speed
Posts: 846
Downloads: 374
Uploads: 1
Default

Many thanks for this fine mod!!!
__________________
Akula4745



"If you sit by the river long enough... the body of your enemy will float by -- SunTzu"
Akula4745 is offline   Reply With Quote
Old 08-28-09, 07:26 PM   #8
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,747
Downloads: 303
Uploads: 0


Default

Just so you know, I think I managed to make an improvement to the latest version. I reset the initial velocity to 0.25 from 1 and I changed the alignment to "Worldaligned" from "Motion Aligned".

Before making these changes, a group of Fletcher DD's attacked two Japanese battleships and scored a single hit, with most of the torpedoes being deep runners. Two destroyers were lost and I sank both BB's with my sub.

After making the changes, in the same test mission the Fletchers sank both of the battleships with no help, scoring at least five hits with no deep runners. No destroyers were lost.
iambecomelife is offline   Reply With Quote
Old 10-19-09, 03:32 PM   #9
Admiral Von Gerlach
Seasoned Skipper
 
Join Date: Nov 2008
Location: Colorado and California
Posts: 728
Downloads: 358
Uploads: 0
Default

Getting ready to implement this remarkable mod..just a few questions from a shellback.... ie newbie to some of the adjustments...

Installation:
- install manually or using JSGME, no files will be overwritten.
- Now for all ships you want to have torpedoes add a main armament node in its .dat file (in the .dat file - Data\Sea\Shipname\Shipname.dat, open
Quote:
using S3D -
you'll find nodes called cfg#M01_NPT_Boat_A,

what is S3D?


cfg#M02_NPT_Boat_A etc. If the last one is for example called cfg#M04_NPT_Boat_A you must add a new one called cfg#M05_NPT_Boat_A)
- Make sure this node is placed well clear of the ship. Launching torpedoes from a node too close to the hull will lead to torpedoes scattering all over the place. Also rotate it into the direction you want torpedoes fired in as the torpedo launcher will only fire within 45 degrees to either side of this direction. I recommend an X-coordinate offset of at the very least 0,5 game units. If you see torpedoes heading for space it means the node is too close to the ship.

Quote:
Make sure this node is placed well clear of the ship.
how do we do that?


- now
Quote:
finally in the ships .eqp file add:
Quote:
[Equipment 6] ;one more than the previous
NodeName=M01 ;name of the node, if in the .dat file the node is called cfg#M05_NPT_Boat_A this should be 'M05'
LinkName=TorpLauncher
StartDate=19380101
EndDate=19451231
do we need special program to edit .eqp file?

can someone possibly post an example of the correct phrasing of things for say one of Miner's Japanese PT's like the Gyoraitei PT Boat? or a cruiser? that would be a huge help to an novice who would love to see this in action. thanks for any help that is possible.
And thanks so much for this remarkable mod.
__________________
Erlaubnis an Bord zu kommen.
Admiral Von Gerlach is offline   Reply With Quote
Old 10-19-09, 06:32 PM   #10
DarkFish
Sea Lord
 
Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,785
Downloads: 28
Uploads: 0
Default

Quote:
Originally Posted by Admiral Von Gerlach View Post
what is S3D?
Silent 3ditor (http://www.subsim.com/radioroom/showthread.php?t=119571)
Quote:
how do we do that?
Using S3D, select the node and change its position.
Quote:
do we need special program to edit .eqp file?
No, you can open them using notepad.
Quote:
can someone possibly post an example of the correct phrasing of things for say one of Miner's Japanese PT's like the Gyoraitei PT Boat?
I would if I had better internet. But as of now I can't DL the PT boat mod 'cause if I exceed my 1GB limit my DL speed crash dives to crush depth
__________________

DarkFish is offline   Reply With Quote
Old 10-19-09, 08:37 PM   #11
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by Admiral Von Gerlach View Post
Getting ready to implement this remarkable mod..just a few questions from a shellback.... ie newbie to some of the adjustments...

Installation:
- install manually or using JSGME, no files will be overwritten.
- Now for all ships you want to have torpedoes add a main armament node in its .dat file (in the .dat file - Data\Sea\Shipname\Shipname.dat, open you'll find nodes called cfg#M01_NPT_Boat_A,

what is S3D?


cfg#M02_NPT_Boat_A etc. If the last one is for example called cfg#M04_NPT_Boat_A you must add a new one called cfg#M05_NPT_Boat_A)
- Make sure this node is placed well clear of the ship. Launching torpedoes from a node too close to the hull will lead to torpedoes scattering all over the place. Also rotate it into the direction you want torpedoes fired in as the torpedo launcher will only fire within 45 degrees to either side of this direction. I recommend an X-coordinate offset of at the very least 0,5 game units. If you see torpedoes heading for space it means the node is too close to the ship.



how do we do that?


- now

Quote:
[Equipment 6] ;one more than the previous
NodeName=M01 ;name of the node, if in the .dat file the node is called cfg#M05_NPT_Boat_A this should be 'M05'
LinkName=TorpLauncher
StartDate=19380101
EndDate=19451231
do we need special program to edit .eqp file?

can someone possibly post an example of the correct phrasing of things for say one of Miner's Japanese PT's like the Gyoraitei PT Boat? or a cruiser? that would be a huge help to an novice who would love to see this in action. thanks for any help that is possible.
And thanks so much for this remarkable mod.
Admiral,

I'll give it a shot on a tutorial. I need to make one so I will give it a try. I don't have Miners ships yet and there are several ships in one MOD, so to simplify for a test, I will use an existing ship. DD usually have Torps so I chose the NDD_Asashio. (Japanese DD). I'm sure if I mess up, Darkfish will shoot me....or maybe just tell me I'm wrong.

1. Extract the AI Torp Mod to a place you can work on it and we will combine the ship changes into the same MOD so it should work with just enabling one mod without permanently changing the ship in the game.
2. Open the AI Torp folder
3. Open the Data folder
4. Create a folder called "Sea"
5. Open the Sea folder and create a folder called "NDD_Asashio"
6. Open the "NDD_Asashio" folder so we can copy files to it
************************************************** **.
7. Go to your SH4 install, find the Sea folder, find the NDD_Asashio folder and open it.
8. Copy NDD_Asashio.dat to your working "NDD_Asashio" folder
9. Copty NDD_Asashio.eqp to your working folder.

Now your files are ready to work on, everything from here on uses the files in the "working' folder not the ones in the SH4 folder so close them so you don't use the wrong ones.

Darkfish gave you a link to S3D (Silent 3ditor) make sure it is installed.

Creating the launcher.

1. Open the 'working copy' of NDD_Asashio.eqp with NOTEPAD.
2. Notice the first three item are M01, M02 and M03, so we need to make an M04.
3. Scroll to the bottom of the eqp file and add:

[Equipment 25]
NodeName=M04
LinkName=TorpLauncher
StartDate=19380101
EndDate=19451231

4. Save the file and close it.
************************************************** ******
Adding node to NDD_Asashio.dat

1. Open S3D.
2. File/Open browse to your 'working' folder and the NDD_Asashio folder and open "NDD_Asashio.dat.
3. Click + beside node 7 to open the tree.
4. Click + beside node 12 to open it. This is the front of the ship. Notice it says NDD_Asashio_F and the next node is _B. One is front one is the back, I have already looked at the DD and I think the best place for this is next to an actual Torpedo Launcher that is already on the ship, so I picked a spot for it.
5. On the right side of S3D shrink the "linked 3D Model section with the arrow at the far right. Then Click on "Model Preview" and a window shows up.
6. Click node 166 and you will see a red dot, that is where the Torpedo Launcher is on the ship. (It's a T01 node which if you refer to the eqp file you will see it is a torp turret, we are not going to use it, just have the toeps launch next to it using Darkfish's technique and the Translation numbers for Z.)
7. Click the + next to node 164 to open 165.
8. Select node 165 and right click:
9. Select Append New Chunk/Nodes(type:4)/Node (Type 4/100) Click.
10. You should get a node 166 down towards the bottom of the file, and it says "Node".
11, Select 166 Node and on the right side at the top COPY the ID
12. Now right click on 166: Node and select:
Append New Chunk/Label (Type:8/0)
13, Now you have "A node 167:<New Label>" . It should be selected, if not select it.
14 Go to the upper right and find "Parent ID" and Paste the number you copied before into this box.
15. Node 167 should now indent under node 166.
16. Again at the top right you will see Label and under that Name: Erase <New Label> and enter (no quotes) "cfg#M04_NDD_Asashio" and 166 and 167 should now have labels.
17. Go back up and select node 12 and COPY the ID (NOT the Parent ID).
18. Select 166:Node-cfg#M04_NDD_Asashio and at the top right PASTE Into the PARENT ID box. Make sure it goes in the Parent ID.
19. If you did it right the node 166 should pop up into its proper location in the list.
20 Select Node 166 and look for the red dot in the Preview Window. Use the Node Positioning to move it where you want it. X is left/right Y is up/down Z is forward/back.
21. If you select node 168 which is T01 you can copy the Z value so the Torpedo will spawn next to the actual on ship Torp launcher.
22. Put the Z value into node 166. and if you want it the same height as the launcher you can also use the Y value. Darkfish states you put it at least .5 away from the ship. I used .7 to test it.
23. Save the .dat file.

I am posting a couple pics of S3D showing creating the node. And one with the Created node and the preview window. The reason I had you start on the 165 node to create the new node is to keep the numbering in order. And it will renumber all nodes below it. There are other ways to do this including copying, but this is simple for this example, so I thought I would show you how it works.



Arrows point to the node created after it is done. The Node Positioning boxes and in the Preview window the red dot that represents the position of the launcher. NOTE: I think I forgot a step, I think the "Visible:" box needs to be "unchecked" otherwise the launcher you just created will be visible in the game. It is in the node positioning section.



Now I will go try this to see if it works. Or if I messed it up.
Copy to the MODs folder and create a mission with the ship.

Edit: Not working. Where did I mess up? Did something wrong.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.


Last edited by peabody; 10-19-09 at 09:54 PM.
peabody is offline   Reply With Quote
Old 09-09-09, 01:43 AM   #12
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: USA
Posts: 8,646
Downloads: 697
Uploads: 61


Default re

Reading these posts about AI controlled torpedos from subs and ships is a big tease(lol) Thanks for the work guys, can't wait till your work is implemented in major mods out there, will be too cool.
Bubblehead1980 is offline   Reply With Quote
Reply

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 08:52 PM.


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