![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Navy Dude
![]() Join Date: Feb 2009
Posts: 171
Downloads: 201
Uploads: 0
|
![]()
Can someone tell me, or release a little mod for desable deck gun use ( crew or captain ) by bad weather like in GWX ? It d be a good improvement to the game realism.
Ps : Can someone tell me too, where i can find the external torpedo reload time value ? Thx in advance ![]() |
![]() |
![]() |
![]() |
#2 |
Ace of the deep .
|
![]()
I think scripting would be the go for not manning the deck gun in bad weather .
C:\Ubisoft\Silent Hunter 5\data\Scripts\AI\Crew\man_the_deck_gun I cannot script but it might be as simple as strategy MAN_THE_DECK_GUN(wp) if Wp:IsGoodWeather() then #Wp:ExecuteCommand( "Man_the_deck_gun" ); else if Wp:IsBadWeather() then Wp:ScriptCompleted(); I have no idea really . |
![]() |
![]() |
![]() |
#3 |
Navy Dude
![]() Join Date: Feb 2009
Posts: 171
Downloads: 201
Uploads: 0
|
![]()
I can rigth some php or html pages... but script no ^^, well if someone can release it, i ll be grateful
|
![]() |
![]() |
![]() |
#4 |
Ocean Warrior
![]() Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
|
![]()
Vikinger made a mod where you can use the deck gun in all condition... maybe you can modif and you can make to react to suit you taste (there are cfg files not scripts so i think you are ok with these files):
here: http://www.subsim.com/radioroom//dow...o=file&id=1564 @TDW i understood that later in the war years the subs were not carring a deck gun to improuve speed and other uboat performance can be done something like this in sh5 ![]() |
![]() |
![]() |
![]() |
#5 | |
Grey Wolf
![]() Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#6 | |
Ocean Warrior
![]() Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
|
![]() Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#7 | |
Grey Wolf
![]() Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
|
![]() Quote:
Weird thing is that I remember maybe two times that there has been a log text "Cannot man the deck gun, too rough seas" or something. So it's super rare and I really don't know what it means, is there a working code buried somewhere down there that every once in a while manages to work, I don't know. |
|
![]() |
![]() |
![]() |
#8 | |
Ocean Warrior
![]() Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#9 | |
Sea Lord
![]() Join Date: Dec 2009
Location: In my U-552 and Tiger
Posts: 1,732
Downloads: 788
Uploads: 0
|
![]() Quote:
I use Magnum´s great mod Open Horizont with the campaign 1943-45 (http://www.subsim.com/radioroom/showthread.php?t=178257) and when I use VIIC/41, I have in bunker a option "enable the deck gun" (standard is VIIC/41 U-Boat without the deck gun). I love this option because on 14 November 1942, the BdU ordered the removal of deck guns from type VII U-Boats to compensate the weight of the increased Flak armament (not the case for submarines in Arctic ocean). Because I constantly move in the North Atlantic, I do not have on my VIIC/41 U-boat the deck gun asi in real life.
__________________
U-552 Tiger IDF |
|
![]() |
![]() |
![]() |
#10 | |
Ocean Warrior
![]() Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
|
![]() Quote:
![]() ![]() very cool - i will try that ![]() |
|
![]() |
![]() |
![]() |
#11 |
Seasoned Skipper
![]() Join Date: Jan 2010
Posts: 713
Downloads: 209
Uploads: 0
|
![]()
I had a
"Cannot use deck gun weather too rough" Report yesterday, we all know you can use DG regardless of weather, but it seems this report is spoken when trying to issue command to man/fire deck gun, while the gun is completely submerged by for example a tall wave. Im no programmer, but it seems a call is made to see if decgun is submerged before allowing AI to use it. This seems to happen in real time, as the gunners will stop for a second if a huge wave rolls over them and continue when the wave is past. Perhaps a timer can be added to this function? Meaning, if deckgun gets submerged, the crew cannot use it for X seconds, till hopefully another large wave covers it, continuing the cycle. Anyone more knowledgeable willing to shed some light on if the above is possible, what files to look at, ect? [EDIT] Oops looks like Sober already awnsered where and what to do, so lets work on a script! Im lookin at other scripts seeing if i can canibalize anything relevant. |
![]() |
![]() |
![]() |
#12 | |
Ocean Warrior
![]() Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
|
![]() Quote:
,,I just changed that setting (timedelay for bad weather) to 1 sec and my crew un-maned the gun with a big wave ![]() Note: this will also switch of your radar ![]() i did not tested yet but i supouse is working as he described |
|
![]() |
![]() |
![]() |
#13 |
Navy Seal
![]() |
![]()
Yes, there in an option in TDW Ui .PY where a time delay was introduced
to prevent large wave switching off the radar. This also stopped the very annoying habit of your engines switch back and fore from battery. The setting is at 5 seconds. If you change this the deck gun will unman in bad weather but you will aslo get the above things. You can also stop the radar and battery switching by having a TC of more than 32. |
![]() |
![]() |
![]() |
#14 |
Grey Wolf
![]() Join Date: Jan 2009
Location: Finland
Posts: 859
Downloads: 174
Uploads: 0
|
![]()
Thanks for the info, didn't know this!
However, I tested this but it had no effect at all. It may be because I didn't disable and re-enable TDW's Ui mod, I just edited the useroptions.py and saved it again (EDIT: I mean that I edited the useroptions.py in SH5/data/scripts/menu- folder!). I thought that this would be enough normally, but I may be wrong. Any other results anyone? Even if this works, it's not a perfect solution, so new script to fix this would be awesome. Too bad I can't help, don't know anything about it. Last edited by Rongel; 03-07-11 at 03:15 PM. |
![]() |
![]() |
![]() |
#15 | ||
Navy Seal
![]() |
![]() Quote:
There is a lot of script about the deckgun in "C:\Ubisoft\Silent Hunter 5\data\Scripts\Menu\Page layout" :- Quote:
|
||
![]() |
![]() |
![]() |
|
|