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

Reply
 
Thread Tools Display Modes
Old 08-11-14, 05:01 AM   #1
MadCowMoo
Watch
 
Join Date: Aug 2014
Location: Dublin, Ireland
Posts: 15
Downloads: 27
Uploads: 0
Weapons Officer Ship Identification Issue

Magnificent interface. Am presently using it as part of the Wolves of Steel mod.

Have one issue though:

During Real Nav, after locking on to a target, if I select Weapons Officer --> Torpedo Attack --> Ship Identification, there is no icon there. There seems to be a black square there alright, same size as the other icons, just not clickable, it has no graphic and is not greyed out or faded.

I am aware that in TDW's notes, this option is disabled by default, but I have set it to True and restarted SH5 and even gone for New Campaign again to see. I just can't get the icon to show.

Did try PM'ing TDW but his box is full.

Any help please guys 'n' gals?

(Note: Wolves of Steel seems to use version 7.5.0 with the associated patch)
__________________
" == Drinkin' an' Swimmin' With Bow Legged Wimmin' == "
MadCowMoo is offline   Reply With Quote
Old 08-11-14, 09:34 AM   #2
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

What version of NewUI's are you running?
What view is having trouble (O Scope, A Scope, UZO)?
Is the TDC turned On?

You can also make short cut key in data\cfg\commands.cfg
I use "I" myself but I do use the Officer menu as you describe as well.
Code:
[Cmd343]
Name=WP_Identify_target
Contexts=1
MnID=0x3F130002
StringID=1073
Key0=0x49,,"I"
HasDelayedExecution=Yes
Sound_0=ELO_Weapon,Target_identified
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 08-14-14, 02:33 AM   #3
MadCowMoo
Watch
 
Join Date: Aug 2014
Location: Dublin, Ireland
Posts: 15
Downloads: 27
Uploads: 0
Default

Quote:
Originally Posted by TheBeast View Post
What version of NewUI's are you running?
What view is having trouble (O Scope, A Scope, UZO)?
Is the TDC turned On?

You can also make short cut key in data\cfg\commands.cfg
I use "I" myself but I do use the Officer menu as you describe as well.
Code:
[Cmd343]
Name=WP_Identify_target
Contexts=1
MnID=0x3F130002
StringID=1073
Key0=0x49,,"I"
HasDelayedExecution=Yes
Sound_0=ELO_Weapon,Target_identified
Magnificent!!

Thank you very, very, very much my friend. I have to say this community makes "newbie subs nubs" like me feel very welcome.
__________________
" == Drinkin' an' Swimmin' With Bow Legged Wimmin' == "
MadCowMoo is offline   Reply With Quote
Old 08-11-14, 02:35 PM   #4
pokara
Torpedoman
 
Join Date: Apr 2006
Location: Fuengirola, Spain
Posts: 117
Downloads: 592
Uploads: 0
Default

Quote:
Originally Posted by MadCowMoo View Post
Magnificent interface. Am presently using it as part of the Wolves of Steel mod.

Have one issue though:

During Real Nav, after locking on to a target, if I select Weapons Officer --> Torpedo Attack --> Ship Identification, there is no icon there. There seems to be a black square there alright, same size as the other icons, just not clickable, it has no graphic and is not greyed out or faded.

I am aware that in TDW's notes, this option is disabled by default, but I have set it to True and restarted SH5 and even gone for New Campaign again to see. I just can't get the icon to show.

Did try PM'ing TDW but his box is full.

Any help please guys 'n' gals?

(Note: Wolves of Steel seems to use version 7.5.0 with the associated patch)

take a look here, dont need to ask the same on diferent threads


Click here
pokara is offline   Reply With Quote
Old 08-11-14, 03:53 PM   #5
MadCowMoo
Watch
 
Join Date: Aug 2014
Location: Dublin, Ireland
Posts: 15
Downloads: 27
Uploads: 0
Default

Quote:
Originally Posted by pokara View Post
take a look here, dont need to ask the same on diferent threads


Click here
Indeed. However I posted here in case it is an issue related to TDW's UI as opposed to a bug with the WOS pack.

Hence the courteous different wording of each post, but your point is taken
__________________
" == Drinkin' an' Swimmin' With Bow Legged Wimmin' == "
MadCowMoo is offline   Reply With Quote
Old 08-13-14, 12:26 AM   #6
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Can we Script Minimum Days in Base?

Hi, tried to PM but you have exceeded your messages quota.

I have been away for a long time, almost 2 years.
One of the first things I encountered after updating MODS was entering bunker 1 day before a mission started so upon exiting bunker, 13 days of mission time had already been wasted.
I obviously edited my data\CFG\UPC.cfg changing value for MinimumDaysInBaseGE=14 to 1 so I could at least have a chance to complete the mission.

This got me thinking. The value for MinimumDaysInBaseGE=XX may be a variable that could be scripted.
If this is possible, We can set default to one(1) and I could script time for each piece of equipment being changed/added.
i.e.
SET MinimumDaysInBaseGE=%MinimumDaysInBaseGE%+XX
for each piece of equipment being changed or added.

The variable would be set/updated every time you hit the accept button located on bottom right of upgrades menu.

Not sure how to or if we even want to handle torpedo loading because dragging torpedo doesn't use button to execute scripts. The default of one(1) day would be enough to cover torpedo loading and refueling.

Maybe even have a UI Menu option to give like 1, 2, 5 or 10 days of shore leave to crew that is only available when near base or friendly port. Like when the Refit option appears.

I do know that if the variable is set before entering bunker it will be saved to save game or when entering bunker but not sure about the shore leave part.
And if some one makes equipment changes in bunker we may have to update Entering Bunker and or latest save game file when exiting Upgrades Menu.
%UserProfile%\Documents\SH5\data\cfg\SaveGames\<La stSave>\CareerTrack.upc
PatrolStartDateTime=YYYY-MM-DD HH:MM:SS

The %UserProfile% is a default OS variable that is set when a User logs onto the computer. Not sure how to access this variable from game but game know where to put save files.

What do you think?

Regards!
TheBeast
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire

Last edited by TheBeast; 08-14-14 at 05:28 PM.
TheBeast is offline   Reply With Quote
Old 08-19-14, 07:58 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by TheBeast View Post
One of the first things I encountered after updating MODS was entering bunker 1 day before a mission started so upon exiting bunker, 13 days of mission time had already been wasted.
I obviously edited my data\CFG\UPC.cfg changing value for MinimumDaysInBaseGE=14 to 1 so I could at least have a chance to complete the mission.

This got me thinking. The value for MinimumDaysInBaseGE=XX may be a variable that could be scripted.
If this is possible, We can set default to one(1) and I could script time for each piece of equipment being changed/added.
i.e.
SET MinimumDaysInBaseGE=%MinimumDaysInBaseGE%+XX
for each piece of equipment being changed or added.

The variable would be set/updated every time you hit the accept button located on bottom right of upgrades menu.

Not sure how to or if we even want to handle torpedo loading because dragging torpedo doesn't use button to execute scripts. The default of one(1) day would be enough to cover torpedo loading and refueling.

Maybe even have a UI Menu option to give like 1, 2, 5 or 10 days of shore leave to crew that is only available when near base or friendly port. Like when the Refit option appears.

I do know that if the variable is set before entering bunker it will be saved to save game or when entering bunker but not sure about the shore leave part.
And if some one makes equipment changes in bunker we may have to update Entering Bunker and or latest save game file when exiting Upgrades Menu.
%UserProfile%\Documents\SH5\data\cfg\SaveGames\<La stSave>\CareerTrack.upc
PatrolStartDateTime=YYYY-MM-DD HH:MM:SS

The %UserProfile% is a default OS variable that is set when a User logs onto the computer. Not sure how to access this variable from game but game know where to put save files.

What do you think?

Regards!
TheBeast
That can't be scripted - well it could but it would require a new patch to be made for the SH5.exe to support it. The MinimumDaysInBaseGE is read in by the game and stored in SH5's DATA area of memory. It's read in only once (at game load) and then it's just referenced from SH5's DATA memory area.

Reading of environment variables such as %UserProfile% can be done in Python
TheDarkWraith is offline   Reply With Quote
Old 08-19-14, 08:00 PM   #8
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Test version 18 , whoops . Still using 17 . Will update my mod list .
THE_MASK is offline   Reply With Quote
Old 08-19-14, 08:05 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
Test version 18 , whoops . Still using 17 . Will update my mod list .
Yeah 18 is needed because I redid the hydro follow target to eliminate the lock-on errors that happened before 18. Also fixed the problem of user's dragging SOAN off the side of the screen and then having to delete the draggable files in order to get it back - now the game is smart enough to see that SOAN is off the edges of the screen (at game start) and will reset it to it's as-designed position (basically it always wants to see at least one of the tabs visible on the screen).
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 02:25 AM.


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.