SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REL] Multiple UIs for SH5 with TDC (https://www.subsim.com/radioroom/showthread.php?t=166093)

TheDarkWraith 05-03-10 12:29 PM

Quote:

Originally Posted by Sonarman (Post 1381113)
I tried to catch you in time but ... you just work too fast these days!!! "Extreme Speed Ahead".:D

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....

Sonarman 05-03-10 12:38 PM

can't we just click and drag the outer ring to rotate it?

TheDarkWraith 05-03-10 12:46 PM

Quote:

Originally Posted by Sonarman (Post 1381121)
can't we just click and drag the outer ring to rotate it?

I haven't figured out how to capture that event yet :damn:

But the code has been added to make it rotate and it does. Uses the same keys as the heading bar:
http://www.subsim.com/radioroom/pict...pictureid=1984

Sonarman 05-03-10 12:51 PM

Amazing, I forsee a lot of wizz-wheel/is-was requests coming up for you soon!

TheDarkWraith 05-03-10 01:06 PM

redid the graphics for the compass and outer ring so that the inner part rotates:
http://www.subsim.com/radioroom/pict...pictureid=1985

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

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?

Sonarman 05-03-10 01:27 PM

@ 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.

TheDarkWraith 05-03-10 01:32 PM

Quote:

Originally Posted by Sonarman (Post 1381159)
@ 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.

Sonarman 05-03-10 01:33 PM

sounds great:up:

ReallyDedPoet 05-03-10 01:38 PM

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

Back on topic :)

TheDarkWraith 05-03-10 01:47 PM

Quote:

Originally Posted by reallydedpoet (Post 1381167)
DW can you mod in a button that prevents my wife from kicking my ass for playing SH5 too much :oops::dead::dead:
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 :shifty:

Sonarman 05-03-10 01:52 PM

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!!"

SeaWolf U-57 05-03-10 01:54 PM

Quote:

Originally Posted by TheDarkWraith (Post 1381173)
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 :shifty:

How about using "I am Aiding the less fortunate all over the world" :har:

ReallyDedPoet 05-03-10 02:00 PM

Quote:

Originally Posted by TheDarkWraith (Post 1381173)
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 :shifty:

Reminded me of this a bit :D, the first part.

Here

TheDarkWraith 05-03-10 02:08 PM

Quote:

Originally Posted by reallydedpoet (Post 1381182)
Reminded me of this a bit :D, 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 :haha: 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).

TheDarkWraith 05-03-10 02:34 PM

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 :D

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.


All times are GMT -5. The time now is 03:14 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.