![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#2971 |
Black Magic
![]() |
![]()
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) |
![]() |
![]() |
![]() |
#2972 |
Canadian Wolf
|
![]()
Nice : )
|
![]() |
![]() |
![]() |
#2973 |
Seasoned Skipper
![]() Join Date: Mar 2010
Location: Berlin, Germany
Posts: 718
Downloads: 575
Uploads: 0
|
![]()
Great work!
![]() |
![]() |
![]() |
![]() |
#2974 |
Samurai Navy
![]() Join Date: Jun 2009
Location: Germany, 50 Kilometers away from Kiel
Posts: 576
Downloads: 343
Uploads: 0
|
![]()
Hey Mate,
thats fantastic ![]() Best Regards DrJones ![]() |
![]() |
![]() |
![]() |
#2975 |
Black Magic
![]() |
![]()
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 ![]() 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 ![]() |
![]() |
![]() |
![]() |
#2976 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
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 ![]() |
|
![]() |
![]() |
![]() |
#2977 |
Black Magic
![]() |
![]()
Finished writing the assembly code so that dials defined can use commands not defined in the stock game. This is some awesome code
![]() 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 ![]() 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 ![]() |
![]() |
![]() |
![]() |
#2978 |
Engineer
![]() Join Date: Feb 2014
Posts: 206
Downloads: 211
Uploads: 0
|
![]()
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?
![]() |
![]() |
![]() |
![]() |
#2979 | |
Black Magic
![]() |
![]() Quote:
![]() 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 |
|
![]() |
![]() |
![]() |
#2980 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() so, do you want realistic dials for your new patch? |
|
![]() |
![]() |
![]() |
#2981 |
Black Magic
![]() |
![]() |
![]() |
![]() |
![]() |
#2982 | |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
#2983 |
Admiral
![]() Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
|
![]()
__________________
What we do in life echoes in Eternity |
![]() |
![]() |
![]() |
#2984 |
Captain
![]() Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
|
![]()
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.
![]() |
![]() |
![]() |
![]() |
#2985 |
Ocean Warrior
![]() |
![]()
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 |
![]() |
![]() |
![]() |
|
|