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 03-12-14, 04:39 PM   #2956
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Tonci87 View Post
@GAP The new ones are perfect.
Thank you Tonci. Let's hope that in game they will look as good

@ TDW

Refresh my memory please: what is the third order button in Orders04.dds (the one with the "D" mark) used for? I am replacing the letters of position fix orders with proper symbols
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 03-12-14, 05:14 PM   #2957
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
@ TDW

Refresh my memory please: what is the third order button in Orders04.dds (the one with the "D" mark) used for? I am replacing the letters of position fix orders with proper symbols
C = Celestial fix
D = dead-reckoning fix
TheDarkWraith is offline   Reply With Quote
Old 03-12-14, 05:55 PM   #2958
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
C = Celestial fix
D = dead-reckoning fix
ops... sorry, I meant the one with the "S"

Celestial and dead-reckoning fix buttons are already done:

__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 03-12-14, 06:05 PM   #2959
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
ops... sorry, I meant the one with the "S"

Celestial and dead-reckoning fix buttons are already done:
Looks good

S = show last fix
TheDarkWraith is offline   Reply With Quote
Old 03-12-14, 06:07 PM   #2960
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Looks good

S = show last fix
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 03-12-14, 06:27 PM   #2961
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

New position fix buttons ready

__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 03-12-14, 06:32 PM   #2962
Sjizzle
Count Dracula
 
Sjizzle's Avatar
 
Join Date: Aug 2012
Location: 46°13′N, 24°47′E
Posts: 1,816
Downloads: 405
Uploads: 0


Default

wow awesome job here guys

master gap and master TDW
Sjizzle is offline   Reply With Quote
Old 03-12-14, 09:18 PM   #2963
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
New position fix buttons ready
Got em, thanks

So far I've added 6 new commands to the game:
Enable_Fore_DP_Manual_Control
Disable_Fore_DP_Manual_Control
Toggle_Fore_DP_Manual_Control
Enable_Aft_DP_Manual_Control
Disable_Aft_DP_Manual_Control
Toggle_Aft_DP_Manual_Control

I've just tested all of them out to ensure they are working as coded and they passed.

I have to add two more new commands to the game that deals with setting the fore/aft diveplanes value (degrees)

Coming along nicely
TheDarkWraith is offline   Reply With Quote
Old 03-12-14, 09:49 PM   #2964
RushTheBus
Engineer
 
Join Date: Feb 2014
Posts: 206
Downloads: 211
Uploads: 0
Default

great work TDW. Is this going to be part of an update for your UI?
RushTheBus is offline   Reply With Quote
Old 03-12-14, 10:13 PM   #2965
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by RushTheBus View Post
great work TDW. Is this going to be part of an update for your UI?
Yes it will. The bulk of it is new patches and code for the SH5.exe and SHSim.act files.

The UI update will just utilize the new commands I've made available via the new code in the patches.

As I have done now and in the past I expose the new functionality via new game commands. This allows others to use the new commands in their UI mods or whatever else they made
TheDarkWraith is offline   Reply With Quote
Old 03-13-14, 11:43 AM   #2966
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Just finished coding the adding of diveplane messages to the new commands. Now when you change control of diveplanes a message will show in the messagebox:


Same thing will happen when you set the angle of the diveplanes.

These are the new strings for the menu.txt file:

; manual diveplane control patch
11200=Automatic control of fore diveplanes
11201=Manual control of fore diveplanes
11202=Automatic control of aft diveplanes
11203=Manual control of aft diveplanes
11204=Set fore diveplanes to %03d
11205=Set aft diveplanes to %03d

for 11204 and 11205 a positive value means up and a negative value means down

Being that they are menu.txt entries they are easy to change to whatever you want them to be
TheDarkWraith is offline   Reply With Quote
Old 03-13-14, 12:02 PM   #2967
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Now when you change control of diveplanes a message will show in the messagebox

...

These are the new strings for the menu.txt file:

...

Being that they are menu.txt entries they are easy to change to whatever you want them to be
Clean implementation indeed
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 03-13-14, 02:59 PM   #2968
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

All the needed assembly code for the manual control of the diveplanes is finally complete and tested



Now just have to work on the UI updates

Finalized the new strings for menu.txt file:

; manual diveplane control patch
11200=Automatic control of fore diveplanes
11201=Manual control of fore diveplanes
11202=Automatic control of aft diveplanes
11203=Manual control of aft diveplanes
11204=Set fore diveplanes to %d degrees
11205=Set aft diveplanes to %d degrees

And the new commands added by this patch:

Toggle_Fore_DP_Manual_Control
Toggle_Aft_DP_Manual_Control
Enable_Fore_DP_Manual_Control
Disable_Fore_DP_Manual_Control
Enable_Aft_DP_Manual_Control
Disable_Aft_DP_Manual_Control
Set_Fore_DP_Value
Set_Aft_DP_Value
TheDarkWraith is offline   Reply With Quote
Old 03-13-14, 03:16 PM   #2969
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
All the needed assembly code for the manual control of the diveplanes is finally complete and tested
Now just have to work on the UI updates
great work TDW
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 03-13-14, 03:17 PM   #2970
Sjizzle
Count Dracula
 
Sjizzle's Avatar
 
Join Date: Aug 2012
Location: 46°13′N, 24°47′E
Posts: 1,816
Downloads: 405
Uploads: 0


Default

whoop great job TDW respect !!!
Sjizzle is offline   Reply With Quote
Reply


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 06:31 AM.


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