![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
08-24-18, 09:41 AM
|
#1 | |
|
Swabbie
![]() Join Date: May 2018
Location: Liverpool UK
Posts: 9
Downloads: 536
Uploads: 0
|
Quote:
By the way - what has been achieved already with the AI ship torpedoes is absolutely marvellous - It's fascinating to watch the salvos speeding towards their targets with the free camera - and actually the hit rate can be surprising good. I'll try investigating and tinkering with the "guns" files and do some testing. Thanks again Last edited by Squashman; 08-24-18 at 09:53 AM. |
|
|
|
08-24-18, 12:45 PM
|
#2 | ||
|
Admiral
![]() |
Quote:
To have the AI Torpedoes fire at longer distances, you simple need to change the Data/Cfg/Sim.cfg files, [AI AA guns] "MaxFireRange=1400" to something else. The only problem with that is ANY/ALL AA guns that are working in-game will do the same. You set it to 7000 meters.....the 50 cal machine gun will detect and fire at the distance. Not a great idea for all AA type guns. A better solution is to go into each "TorpGun" and change its designation from an "AAGun" to "Cannon". Then the Torpgun would fire as the larger Cannons do, at whatever the Data/Cfg/Sim.cfg, [AI Cannon] "MaxFireRange=" distance is set there. The place to make the switch is in the Library/ShipParts/whichever "TorpGun" you choose and open the .sim file to the Wpn_Cannon/Obj_Turret/Type= designation. Change the designation from "AA Gun" to "Cannon" and the gun model uses the Cannon distance. But, lets be clear here......The further away a target is from the firing gun, the less likely you'll even remotely come close to hitting what the gun aimed at!! Unlike the shells that travel at high speeds, the torpedo can't do it and reach a target that it aims at! Without the torpedo "visual" that makes some of the "full effect" of the torpedo traveling through the water, you'll miss some of the value of the torpedo. AND, without having the torpedo fire at relatively close range, you're just spraying the water with torpedoes, with little effect. And, I wouldn't be surprised to find the torpedo couldn't reach the target at longer distances anyway without it slowing down, and/or, sinking to depths that would be ineffective. You've seen the "gravity pull" the game physics have on shell's fired at longer ranged targets? The AI_torpedoes will do the same.
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
|
||
|
|
08-29-18, 06:04 PM
|
#3 | |
|
Silent Hunter
![]() |
Quote:
i took your suggestion above and attempted to apply it to the Opmonsun mod for the XXI boats which have only 20mm/30mm turrets. when i changed the turrets in C:\Ubisoft\SilentHunter4\Data\Library\GerSubParts\ Deck_Gun_GE20mm_Turret.sim from AA to Cannon, CTD, every time. so, i backed off that change and went on my merry way. did i miss something in your explanation? thanks. mb mb
__________________
there are only two things in the world: submarines and targets. Fortis et stabilis et fidelis, semper ![]() ![]() ![]() ------------------------------------------------------------ Silent Hunter 4 1.5 Gold Edition on CDROM LAA enabled Dell XPS with 32 GB Ram running Win10 |
|
|
|
08-30-18, 06:41 AM
|
#4 | ||
|
Admiral
![]() |
Quote:
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
|
||
|
|
08-30-18, 08:04 AM
|
#5 | |
|
Silent Hunter
![]() |
Quote:
so, let me re-phrase my quest: if i wanted to use my turrets for antiship cleanup and i wanted the CrewAI to be effective, how would i modify the turret gun file (s)? ![]() the guns would have to have their range extended a bit and the ammo would have to be beefed up a bit but the challenge is getting the CrewAI to control the weapon and actually fire on a ship vs a plane. ![]()
__________________
there are only two things in the world: submarines and targets. Fortis et stabilis et fidelis, semper ![]() ![]() ![]() ------------------------------------------------------------ Silent Hunter 4 1.5 Gold Edition on CDROM LAA enabled Dell XPS with 32 GB Ram running Win10 |
|
|
|
08-30-18, 11:29 AM
|
#6 | ||
|
Admiral
![]() |
Quote:
I'm going to use a Stock game unit as an example: First off, find the particular AA gun you're wanting to modify. I chose the A04 from the Kongo and use the .dat files ID: of the A04 gun to locate it in the Kongo's .sim file (happens to be at Node-14 in the .sim file): You're interested in having the gun aim down to the waterline. So the "Elevation" parameter reads Min=0.0; Max=90.0. The Minimum value is how far "Down" the gun turret on the Kongo will go; the Maximum value is how far "up" it will elevate. At these values, the Kongo's turret for this particular A04 will go down to the water line and up directly overhead.....we're good here! But, now you want to find the gun the Kongo uses in this particular A04 slot, so you need to see what gun does it equip for the A04 slot? Go to the Kongo's "Equipment" file and find the "NodeName=A04" equipment section: ![]() The "LinkName=5in_AA_Double_base_JP" gives you the particular gun to look for. You need to find IT in order to make sure the gun will use the "Elevation" the Ship states it want's to use. With the Stock game it's easy to find the particular gun you're looking for (there mainly found in the "guns_radars.dat" file). With mods, a particular gun may be in any .dat file (usually found in the Library folder)? ![]() Again, follow the guns ID: over to the corresponding .sim file and you'll find the particulars for the gun in question. As this shows, the "Elevation" for the 5in_AA_Double_base_JP is "Min= -7.0"; Max= 90. So, the gun itself will point Down to less than a 90 degree angle.....7 degrees below the perpendicular water line; and will point straight up 90 degrees. This gun will fire as you wish it to (from straight up, to perpendicular to the water line), within the constraints of the other axis of the gun (the "Traverse" part of things). My thoughts on what settings to use is to have the particular wpn_Cannon follow a zero to 360 Traverse setting; with the Elevation to be 0.0 to 90.0. Then, in the ships obj_turret parameters you set the amount of Traverse or Elevation as you want for the ship in-question (you don't want it to shoot through a bulkhead, or down through the deck)! Gun placement/function 101.
__________________
The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813 USS Chesapeake Captain James Lawrence lay mortally wounded... Quote:
Last edited by CapnScurvy; 08-31-18 at 08:43 AM. |
||
|
|
08-30-18, 02:53 PM
|
#7 | |
|
Silent Hunter
![]() |
Quote:
however, perhaps i did not explain myself properly. i am trying to get the CrewAI to use an AA_Gun as if it was a Deck_Gun and fire and have the crew fire at ships. it wont do that at present. my thought, based on conversations you have had with others in the forum, was that Crew_AI should do what i want if only i changed the AA_gun to a Cannon. for example: ![]() this is Deck_Gun_GE20mm_Turret.sim. BTW, all of the German guns, both AA and deck guns, are labeled as cannons in the game files. and this is a one of two identical weapons on board. so, when i tried this change i got a CTD. now, realistically, the CTD could be from anything but because this was the only change, i associated the two. what do you think about my idea? am i missing a file that i need to change?
__________________
there are only two things in the world: submarines and targets. Fortis et stabilis et fidelis, semper ![]() ![]() ![]() ------------------------------------------------------------ Silent Hunter 4 1.5 Gold Edition on CDROM LAA enabled Dell XPS with 32 GB Ram running Win10 Last edited by KaleunMarco; 08-30-18 at 03:05 PM. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
