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 05-03-10, 12:29 PM   #1501
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sonarman View Post
I tried to catch you in time but ... you just work too fast these days!!! "Extreme Speed Ahead".
I still can't capture the mousewheel...script manager only allows mousewheel capture on 3D objects....have to use keys to control rotation. I'm thinking same keys used for heading bar....
TheDarkWraith is offline   Reply With Quote
Old 05-03-10, 12:38 PM   #1502
Sonarman
The Old Man
 
Join Date: Mar 2002
Location: Ayr,Scotland,UK
Posts: 1,392
Downloads: 79
Uploads: 0
Default

can't we just click and drag the outer ring to rotate it?
__________________
"The action is simulated...the excitement is real!"
Microprose Simulation Software.
Sonarman is offline   Reply With Quote
Old 05-03-10, 12:46 PM   #1503
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sonarman View Post
can't we just click and drag the outer ring to rotate it?
I haven't figured out how to capture that event yet

But the code has been added to make it rotate and it does. Uses the same keys as the heading bar:
TheDarkWraith is offline   Reply With Quote
Old 05-03-10, 12:51 PM   #1504
Sonarman
The Old Man
 
Join Date: Mar 2002
Location: Ayr,Scotland,UK
Posts: 1,392
Downloads: 79
Uploads: 0
Default

Amazing, I forsee a lot of wizz-wheel/is-was requests coming up for you soon!
__________________
"The action is simulated...the excitement is real!"
Microprose Simulation Software.
Sonarman is offline   Reply With Quote
Old 05-03-10, 01:06 PM   #1505
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

redid the graphics for the compass and outer ring so that the inner part rotates:


I just ran out of pictures Time to ask Neal for more storage room

Both the north up and south up have rotatable outer rings.

@ Sonarman - I'll send you a copy of v2.1.0 as it stand now with this feature if you do a tutorial on what this is used for and how to use it. Sound fair?

Pressing the keys used for the heading bar results in 0.5 degree changes. If you press shift with the keys you get 5 degree changes.

Now should I make the two draggable compasses slaved to each other? If you drag one the other follows? Then when you click on the draggable compass it switches to the other one?
TheDarkWraith is offline   Reply With Quote
Old 05-03-10, 01:27 PM   #1506
Sonarman
The Old Man
 
Join Date: Mar 2002
Location: Ayr,Scotland,UK
Posts: 1,392
Downloads: 79
Uploads: 0
Default

@ Sonarman - I'll send you a copy of v2.1.0 as it stand now with this feature if you do a tutorial on what this is used for and how to use it. Sound fair?

Yes, that sounds fine, most of the guys here will know what it's for but for newbs it might be nice to have a quick tutorial.(although at your current speed it will be out of date in ten minutes time!)

Pressing the keys used for the heading bar results in 0.5 degree changes. If you press shift with the keys you get 5 degree changes.

Maybe 1 degree increments would be better than .5 as you never need that much accuracy.

Now should I make the two draggable compasses slaved to each other? If you drag one the other follows? Then when you click on the draggable compass it switches to the other one?

Probably best, if they are slaved and appear to the eye to be one compass.
__________________
"The action is simulated...the excitement is real!"
Microprose Simulation Software.
Sonarman is offline   Reply With Quote
Old 05-03-10, 01:32 PM   #1507
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sonarman View Post
@ Sonarman - I'll send you a copy of v2.1.0 as it stand now with this feature if you do a tutorial on what this is used for and how to use it. Sound fair?

Yes, that sounds fine, most of the guys here will know what it's for but for newbs it might be nice to have a quick tutorial.(although at your current speed it will be out of date in ten minutes time!)

Pressing the keys used for the heading bar results in 0.5 degree changes. If you press shift with the keys you get 5 degree changes.

Maybe 1 degree increments would be better than .5 as you never need that much accuracy.

Now should I make the two draggable compasses slaved to each other? If you drag one the other follows? Then when you click on the draggable compass it switches to the other one?

Probably best, if they are slaved and appear to the eye to be one compass.
ok then I'll slave the south up to the north up. I'll make it also that when you click in the middle of the draggable compass it switches to the other compass. I'll make the small increase 1.0 degrees.
TheDarkWraith is offline   Reply With Quote
Old 05-03-10, 01:33 PM   #1508
Sonarman
The Old Man
 
Join Date: Mar 2002
Location: Ayr,Scotland,UK
Posts: 1,392
Downloads: 79
Uploads: 0
Default

sounds great
__________________
"The action is simulated...the excitement is real!"
Microprose Simulation Software.
Sonarman is offline   Reply With Quote
Old 05-03-10, 01:38 PM   #1509
ReallyDedPoet
Canadian Wolf
 
ReallyDedPoet's Avatar
 
Join Date: Jul 2006
Location: Canada. The one and only, East Coast
Posts: 10,890
Downloads: 946
Uploads: 5


Default

DW can you mod in a button that prevents my wife from kicking my ass for playing SH5 too much
as a result of mods like this one.

Back on topic
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Old 05-03-10, 01:47 PM   #1510
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reallydedpoet View Post
DW can you mod in a button that prevents my wife from kicking my ass for playing SH5 too much
as a result of mods like this one.

Back on topic
I need that same button for my girlfriend......she's starting to get really upset with the amount of time I'm spending on the computer lately......I told her it's a hobby......didn't fly
TheDarkWraith is offline   Reply With Quote
Old 05-03-10, 01:52 PM   #1511
Sonarman
The Old Man
 
Join Date: Mar 2002
Location: Ayr,Scotland,UK
Posts: 1,392
Downloads: 79
Uploads: 0
Default

My girlfriend is away this week, but my dog sits and stares across the room at me with his big brown eyes saying "isn't it time we went for a walk yet dad!!"
__________________
"The action is simulated...the excitement is real!"
Microprose Simulation Software.
Sonarman is offline   Reply With Quote
Old 05-03-10, 01:54 PM   #1512
SeaWolf U-57
Ace of the Deep
 
Join Date: May 2008
Posts: 1,231
Downloads: 92
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
I need that same button for my girlfriend......she's starting to get really upset with the amount of time I'm spending on the computer lately......I told her it's a hobby......didn't fly
How about using "I am Aiding the less fortunate all over the world"
SeaWolf U-57 is offline   Reply With Quote
Old 05-03-10, 02:00 PM   #1513
ReallyDedPoet
Canadian Wolf
 
ReallyDedPoet's Avatar
 
Join Date: Jul 2006
Location: Canada. The one and only, East Coast
Posts: 10,890
Downloads: 946
Uploads: 5


Default

Quote:
Originally Posted by TheDarkWraith View Post
I need that same button for my girlfriend......she's starting to get really upset with the amount of time I'm spending on the computer lately......I told her it's a hobby......didn't fly
Reminded me of this a bit , the first part.

Here
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Old 05-03-10, 02:08 PM   #1514
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reallydedpoet View Post
Reminded me of this a bit , the first part.

Here
hmm...i've never done that to her.....(she asks question and I'm totally not listening as I'm coding some new feature)...Sure, sounds great.....she gets really upset because my answer doesn't make sense to the question she asked I keep telling her not to bug me when I'm working......

EDIT:

changes made. draggable compass south up is slaved to north up. Rotation without shift key is 1.0 degrees, with shift key is 5 degrees. Unable to add click to center to change state due to draggable control being there (you can still use the map tool I provided for this).

Last edited by TheDarkWraith; 05-03-10 at 02:30 PM.
TheDarkWraith is offline   Reply With Quote
Old 05-03-10, 02:34 PM   #1515
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

well that wraps up v2.1.0. I've sent out the new files to the people that are testing it. If everything is good then it's release time

final change log for v2.1.0 (it's a pretty major update):

v2.1.0 - fixed bug of togglable icon for XO TDC dialog box not working correctly
- fixed bug of when user resizes the messagebox using the mouse the messagebox had tendency to 'creep' when user had the option of TC set to 1 on new nav map contact.
- added button to messagebox above the toggle button that allows the user to specify the current height as the new minimum height of the messagebox
- fixed sonar notepad not showing any data on contact
- flipped the 2 draggable compasses around as they were backwards
- battlestations now turns to selected (Gold) when battlestations is active
- the determination for when sub is underwater is now controlled by the warning icon denoting sub is underwater
- timer value used for follow target changed from 0.05 to 0.025 seconds
- timer value used for updating officers, officer category bars, and officer order bars changed from 0.2 to 0.1 seconds
- error handling code added to follow target
- when an order category or order bar order is clicked it will blink twice so that user knows the command is being executed
- added user option to be able to change the number of messages stored in the messagebox. Stock game is 20. After x messages are added to the messagebox and a new one is added, the oldest is removed from the list (NumberMessagesToKeepInMessageBox)
- when submerged you will not receive radio reports (if they start out with 'Radio Report Received' then they will be squelched). They will still be added to the captain's log though as that is hard coded in the C++ code.
- enabled the notepads for the UZO, attack, and obs scopes. You will be able to access stadimeter and AOB from this notepad (Speed is disabled due to errors with it. Trying to implement my own version of it)
- changed the code for the XO TDC dialog dynamically repositioning itself to take into account the notepad being shown. If the XO TDC is draggable then it's dynamic repositioning is disabled.
- rewrote most of the code to go from a polling event driven style to an event driven style
- made the DarkWraithUserOptions.py file the repository for all values. Accessor methods added to retrieve/set variables data
- when submerged you will not receive radio messages (if they start out with 'Radio Message Received' then they will be squelched). They will still be added to the captain's log though as that is hard coded in the C++ code.
- added user option that will set TC to 1 on a Radio Report received or a Radio Message received (TC1OnRadioReportMessageReceived)
- added togglable icon to TC group in top right bar to control TC1OnRadioReportMessageReceived
- CE Reports now shows selected (Gold) when it's selected
- WEPS Weapons management now shows selected (Gold) when it's selected
- Watch officer Weapons management now shows selected (Gold) when it's selected
- the officer icons change state based on their health (healthy, wounded, or dead). When they change state they will flash 4 times to try and get the users attention about it
- removed the additional buttons from the captains log that I added some revisions ago. Reason is the log entries are not editable code wise
- removed the large draggable compass and in it's place added the same small draggable compass. Now there are two draggable compasses of the same style, one with north up, one with south up
- added a new button to the TAI. It is located in the top left corner and when enabled it will keep the TAI/nav map centered on the sub. There are conditions that will cause this to stop as the game sometimes needs to get control of the maps (i.e. center on map mission). The control will blink twice when being enabled and disabled.
- XO's TDC mode defaults to on
- added button to nav map that allows the user to toggle the visibility of the TDC dials on it. The TDC dials will 'layout' on the nav map just like they do for the UZO, attack, and Obs according to TDC mode selected by user
- for the all dials TDC mode and minimal dials TDC mode the Gyroangle box is now draggable so you can reposition it where you would like
- when officer is dead his order category bar and order bars are disabled
- lightened colors used in order bars, order category bars, and teleport orders. This should help with night vision.
- added a new feature that when you have an officer selected and you left click and hold for 1 second then his abilities page will show so you can change his abilities
- added an outer ring to the 2 draggable compasses. By using the same keys as the heading bar uses you can rotate the outer ring. Just pressing the keys without shift results in 1.0 degree changes. Keys + shift results in 5.0 degree changes.
- the two draggable compasses are now slaved to each other. When you move one the other follows.
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui


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 07:49 AM.


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