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-13-14, 07:18 PM   #2971
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Testing out the new icons in game:


Everything working just like it should

Have to add two more items: a way to set the fore diveplanes angle and the aft diveplanes angle. These will probably be dials that you click on (like the SH3 dials)
TheDarkWraith is offline   Reply With Quote
Old 03-13-14, 09:08 PM   #2972
ReallyDedPoet
Canadian Wolf
 
ReallyDedPoet's Avatar
 
Join Date: Jul 2006
Location: The one and only East Coast
Posts: 10,775
Downloads: 946
Uploads: 5


Default

Nice : )
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Old 03-14-14, 03:55 AM   #2973
Echolot
Seasoned Skipper
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 718
Downloads: 567
Uploads: 0
Default

Great work!

Echolot is offline   Reply With Quote
Old 03-14-14, 05:05 AM   #2974
DrJones
Samurai Navy
 
Join Date: Jun 2009
Location: Germany, 50 Kilometers away from Kiel
Posts: 576
Downloads: 341
Uploads: 0
Default

Hey Mate,

thats fantastic thank you very much.

Best Regards

DrJones
DrJones is offline   Reply With Quote
Old 03-14-14, 11:10 AM   #2975
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

I added two new round dials to the Diveplanes order bar. One was for fore diveplanes and the other was for aft diveplanes. I set the commands for the dials for the two new commands associated with them (diveplanes). I clicked on the dials and the needle for the NewVal was showing where I clicked on the dial but the game was not executing the command associated with the dial (Set_Fore_DP_Value or Set_Aft_DP_Value)

I fired up OllyDebug to see what was going on. Clicked on the dial and got my answer. The command associated with the dial was a null pointer Thus the game had no command to execute.

Ok, now we have watch the dials being created in the game to see why the game is giving it a null pointer. Restarted the game inside OllyDebug and set a breakpoint where it reads the Dials.cfg file. Once it read my first new dial I got my answer again. My command was not in the game's list of known commands and thus a null pointer was set So annoying...Have to add some more assembly code to the game so that I can have dials with commands that aren't part of the game's known commands.
TheDarkWraith is offline   Reply With Quote
Old 03-14-14, 03:54 PM   #2976
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Have to add two more items: a way to set the fore diveplanes angle and the aft diveplanes angle. These will probably be dials that you click on (like the SH3 dials)
Quote:
Originally Posted by TheDarkWraith View Post
I added two new round dials to the Diveplanes order bar.
U-995's dive plane gauges (Vord. Tiefenruder = fore diveplanes; Hint. Tiefenruder = after diveplanes):
http://de.academic.ru/pictures/dewik...9974ecc672.JPG

A diagram by Captain America showing gauges' working:
http://www.subsim.com/radioroom/show...628#post209628

From the above links we can desume the following:

- fore diveplanes deflection range: -35 / +25 deg; after diveplanes deflection range: +/- 30 deg;

- currently I have not my gaming laptop with me, but diveplane gauge graphics should already be in SH5's tex folder, used as skins of command room's corresponding gauges. Should the game miss them, or shouldn't they be accurate enough, I can draw them (both gauges and needles), purposedly for use with your patch and UI mod
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 03-14-14, 07:40 PM   #2977
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Finished writing the assembly code so that dials defined can use commands not defined in the stock game. This is some awesome code This will allow me to do things with dials I've always wanted to do.

In the screenshot below I have two test dials added to the diveplanes command bar so that I could play around with new code. And the results were:


Success

I had my test dials setup to allow for -90 to 90 degrees on each set of diveplanes. I tested both sets of diveplanes through their whole range - game let me do it It's good to know game does not pose any limitations on the angle of the diveplanes.

The below is related to the upcoming new version of my UIs mod (v7.5.0):

The diveplane dials will show when the diveplane is in manual control (here I had fore and aft diveplanes in manual control).

When you click on the dial a needle will show where you clicked. Sit back and watch the true position needle move towards the new position needle
TheDarkWraith is offline   Reply With Quote
Old 03-14-14, 07:44 PM   #2978
RushTheBus
Engineer
 
Join Date: Feb 2014
Posts: 206
Downloads: 211
Uploads: 0
Default

Strong work TDW! This should really allow for some fine adjustment. us Any chance we can get an option to flood tubes then open tube doors with tube ready to fire indicator lights?
RushTheBus is offline   Reply With Quote
Old 03-14-14, 08:24 PM   #2979
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by RushTheBus View Post
Strong work TDW! This should really allow for some fine adjustment. us Any chance we can get an option to flood tubes then open tube doors with tube ready to fire indicator lights?
That is available in my UIs mod

v1.0.156.0 released. See post #1

Starting with v1.0.156.0:
- added some new Updates to sh5.exe
- added a new patch to SH5.exe and SHSim.act: manual diveplane control - this patch allows manual control of the fore and aft diveplanes. BE SURE TO CHECK OUT THE NOTES WITH THIS NEW PATCH!
- added a new patch to SHSim.exe: Air-to-air combat - this patch allows aircraft to target and engage other aircraft.
- added a new patch to SHSim.exe: Coastal defense sub loops - Allows coastal defenses to detect subs that are submerged and/or in heavy fog
- revised new command code in SH5.exe so that it can pass Param1 and Param2 on to functions and to all scripts
- added new code to SH5.exe that allows the defining of commands not recognized by the game to dials
TheDarkWraith is offline   Reply With Quote
Old 03-14-14, 09:25 PM   #2980
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
I have two test dials added to the diveplanes command bar so that I could play around with new code.


so, do you want realistic dials for your new patch?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 03-14-14, 09:28 PM   #2981
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post


so, do you want realistic dials for your new patch?
They'd actually be for the UIs mod. The patch just gives the ability to manually control them. The UI mod implements the patch.

Yes, let's see what you come up with
TheDarkWraith is offline   Reply With Quote
Old 03-14-14, 09:31 PM   #2982
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
They'd actually be for the UIs mod. The patch just gives the ability to manually control them. The UI mod implements the patch.

Yes, let's see what you come up with
Okay, tomorrow I will start working on the new dials. Getting them ready shouldn't take too long
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 03-15-14, 05:11 AM   #2983
tonschk
Admiral
 
Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
Default


Quote:
Originally Posted by TheDarkWraith View Post
Yes, let's see what you come up with
__________________
What we do in life echoes in Eternity
tonschk is offline   Reply With Quote
Old 03-15-14, 10:16 AM   #2984
Sartoris
Captain
 
Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
Default

Love seeing you work on sh5, TDW! So much exciting progress being done here, and at such a breakneck pace. Thanks for all the hard work once again.
Sartoris is offline   Reply With Quote
Old 03-15-14, 10:43 AM   #2985
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Hi TDW

Here is Rus manual for the latest (156) version - http://rghost.ru/53079939

UPD: changed menu.txt will be added in the NewUIs thread
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 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 03:11 PM.


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.