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 08-04-10, 07:13 PM   #1
Sudo
Helmsman
 
Join Date: Jan 2009
Location: Area 7
Posts: 110
Downloads: 86
Uploads: 0
Default

Hey TheDarkWraith. Great UI. I've been using it since its inception.

One question about all of your new add-ons in 3.9.3. Just for instance, do we need to use both versions of the add-ons? Say, I want to use No_Contact_Colors, do I also need to enable Waypoint_Contacts_No_Color? Or is it an optional thing where you would choose one and use it like:

NewUIs_TDC_3_9_3_No_Contact_Colors - Use this if you just don't want colors
NewUIs_TDC_3_9_3_Waypoint_Contacts_No_Colors - Use this if you don't want contact colors on original contact and the "ghost" images

Thanks, and sorry if this is confusing because I'm confused too.
Sudo is offline   Reply With Quote
Old 08-04-10, 07:35 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sudo View Post
Hey TheDarkWraith. Great UI. I've been using it since its inception.

One question about all of your new add-ons in 3.9.3. Just for instance, do we need to use both versions of the add-ons? Say, I want to use No_Contact_Colors, do I also need to enable Waypoint_Contacts_No_Color? Or is it an optional thing where you would choose one and use it like:

NewUIs_TDC_3_9_3_No_Contact_Colors - Use this if you just don't want colors
NewUIs_TDC_3_9_3_Waypoint_Contacts_No_Colors - Use this if you don't want contact colors on original contact and the "ghost" images

Thanks, and sorry if this is confusing because I'm confused too.
I gave you all the option to choose if you wanted both of them without colors, same shapes, etc. So if you want both of them to not have colors then you have to enable no colors for both. Same for the shapes. Make sense? There might be some person who wants the contacts to be colorless and the same shape but if they drag a waypoint they want to 'cheat' and see what the color is and what kind of contact it is.
TheDarkWraith is offline   Reply With Quote
Old 08-04-10, 08:15 PM   #3
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,870
Downloads: 102
Uploads: 1
Default

Hey TDW, I don't know if this would be possible; but I know you mentioned earlier in this thread (dont wanna go through 300 pages to find it..) that all dials in the sub were linked to a certain function.

With this in mind, would it be possible to make the TDC in the conning tower interactive? Or would this beyond the scope of this Mod or the game itself?
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-04-10, 08:18 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
Hey TDW, I don't know if this would be possible; but I know you mentioned earlier in this thread (dont wanna go through 300 pages to find it..) that all dials in the sub were linked to a certain function.

With this in mind, would it be possible to make the TDC in the conning tower interactive? Or would this beyond the scope of this Mod or the game itself?
I can't answer that as I haven't tried to see/make them work yet. In time I will get to that. It's on my list
TheDarkWraith is offline   Reply With Quote
Old 08-04-10, 08:21 PM   #5
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,870
Downloads: 102
Uploads: 1
Default

Your the man

Also, I remember back in the times of 2.0 to 2.6 or so you had one your ToDo list of making seperate throttle controles (port/starboard). Is this off the drawing board as not workable?
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-04-10, 08:47 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
Your the man

Also, I remember back in the times of 2.0 to 2.6 or so you had one your ToDo list of making seperate throttle controles (port/starboard). Is this off the drawing board as not workable?
it's not workable. They still haven't fixed this from SH3 days
TheDarkWraith is offline   Reply With Quote
Old 08-04-10, 08:48 PM   #7
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,870
Downloads: 102
Uploads: 1
Default

bah; well thanks for all the work you've done all the same
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 08-04-10, 09:16 PM   #8
Sudo
Helmsman
 
Join Date: Jan 2009
Location: Area 7
Posts: 110
Downloads: 86
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
I gave you all the option to choose if you wanted both of them without colors, same shapes, etc. So if you want both of them to not have colors then you have to enable no colors for both. Same for the shapes. Make sense? There might be some person who wants the contacts to be colorless and the same shape but if they drag a waypoint they want to 'cheat' and see what the color is and what kind of contact it is.
Got ya! Makes perfect sense. I just wanted to make sure I was getting everything installed that I wanted. Thank you kind sir, and great mod.
Sudo is offline   Reply With Quote
Old 08-04-10, 10:02 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

The parser for the automation files is complete. Now I have to take the commands and break them down into their components: command, parameter 1, parameter 2, and time. Then finish the automation code
TheDarkWraith is offline   Reply With Quote
Old 08-05-10, 01:17 AM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Automation works This is going to open up a whole slew of possibilities.....I've made it so that you can define multiple scripts. All these scripts reside in a single file and are read in at game start. You will be able to select the script you want to use during the game. You'll have options to start, stop, and pause the script. You can even change scripts on the fly (say you have one running and you want to start another one now - done!).
I see the following possibilities for this:
- custom evasive maneuver scripts
- custom navigation scripts
- scripts to automate 'daily' tasks during long distance travels (run on surface 1 hr, dive, all stop, listen for sound contacts, ahead standard, surface, repeat)

There's really endless possibilities for this

I'm going to add the teleport commands as commands available to the scripts. This will allow you to dive when surfaced (teleport to radio or hydrophone).

The script currently running is stopped when you press any key. Once a script is stopped and you want to start it again it will start from the beginning. Pause can be used to stop a script midstream and then restart where it was.

This is awesome
TheDarkWraith is offline   Reply With Quote
Old 08-05-10, 05:14 AM   #11
simsurfer
Watch Officer
 
Join Date: Jul 2004
Location: Pittsburgh, PA
Posts: 342
Downloads: 54
Uploads: 0
Default

I like the idea of creating a daily schedule as in dive in the morning for a trim dive, surface, crash dive auto on plane sighting ect...
__________________
simsurfer is offline   Reply With Quote
Old 08-05-10, 07:48 AM   #12
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

check depth before diving .
THE_MASK is offline   Reply With Quote
Old 08-05-10, 08:04 AM   #13
wittmann
Swabbie
 
Join Date: Jun 2009
Posts: 8
Downloads: 246
Uploads: 0
Default

Hi TDW!

I really like the new UI!
However, there is a problem.RAOBF calculate range not accurate!
For example, RAOBF calculated range 850 meters ,nav map measured range 600 meters,
RAOBF calculated range 2600 meters ,nav map measured range 1450 meters.
I used RAOBF in SH3,i know use.
Installed mods: Multiple UI,RAOBF patch,scope rework
What's wrong?
wittmann is offline   Reply With Quote
Old 08-05-10, 11:40 AM   #14
Tectronus
Watch
 
Join Date: Mar 2006
Posts: 24
Downloads: 37
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Automation works This is going to open up a whole slew of possibilities.....I've made it so that you can define multiple scripts. All these scripts reside in a single file and are read in at game start. You will be able to select the script you want to use during the game. You'll have options to start, stop, and pause the script. You can even change scripts on the fly (say you have one running and you want to start another one now - done!).
I see the following possibilities for this:
- custom evasive maneuver scripts
- custom navigation scripts
- scripts to automate 'daily' tasks during long distance travels (run on surface 1 hr, dive, all stop, listen for sound contacts, ahead standard, surface, repeat)

There's really endless possibilities for this

I'm going to add the teleport commands as commands available to the scripts. This will allow you to dive when surfaced (teleport to radio or hydrophone).

The script currently running is stopped when you press any key. Once a script is stopped and you want to start it again it will start from the beginning. Pause can be used to stop a script midstream and then restart where it was.

This is awesome
This is beond awesome TDW.... Good news.. Great work!
Tectronus is offline   Reply With Quote
Old 08-05-10, 11:56 AM   #15
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Tectronus View Post
This is beond awesome TDW.... Good news.. Great work!
Automation just made a turn to being even more powerful. Anything you can do in a script, and I mean anything, you can do in a custom command. You define a custom command like so:

# a TC command
class AutomationTCCommand( TDWAutomation.AutomationScriptInFile.BaseAutomatio nCommandUndefined ):
def Initialize( self ):
self.complete = True
def Execute( self ):
Menu.TimeCompression = self.param1
return self.complete

then your custom command has to be added to the undefined commands so Automation will recognize it:

# these are commands either made by user or not defined in commands.cfg
# these commands will use the BaseAutomationCommandUndefined class
#
undefinedcommands = [
[ "Set_Time_Compression", AutomationTCCommand ]
#,[ "Loop", AutomationLoopCommand ]
]

Once defined and 'registered' with undefinedcommands you are free to use those commands in your automation script!

Now those that are unfamiliar with programming and classes will not see the great power I have given here. What I've done is allowed you all to extend the commands Automation 'knows' and the commands in the game by defining custom commands. These custom commands can only be used currently in Automation but there's no reason they couldn't be used outside of it also (with some supporting code).

Last edited by TheDarkWraith; 08-05-10 at 12:18 PM.
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

Thread Tools
Display Modes

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


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