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 02-09-11, 07:58 PM   #6241
Obelix
Seasoned Skipper
 
Join Date: Aug 2010
Location: 49°44´N 129°40´E
Posts: 665
Downloads: 124
Uploads: 7
Default

Quote:
Originally Posted by TheDarkWraith View Post
Wrote a quick .dll to capture the mouse buttons and some code to decipher it:

It's telling me that I had the right mouse button down and the center mouse button down (Button0 is left mouse button). Awesome. Yep, I'll be able to do some things I've been wanting to do now
I would place the ubisoft burned with shame.
__________________
Speed squadron is the speed of the slowest ship ... but only so long as on the trail of the squadron did not sit submarines ...
Obelix is offline   Reply With Quote
Old 02-10-11, 01:58 AM   #6242
Silent Steel
Sea Lord
 
Join Date: Jun 2008
Location: Noch dabei
Posts: 1,732
Downloads: 618
Uploads: 0
Seen before?

Last night all of a sudden this happened.
It didn't influence on gameplay. At least I didn't see anything.



//
Silent Steel is offline   Reply With Quote
Old 02-10-11, 09:31 AM   #6243
NeonsStyle
Chief
 
Join Date: Jun 2008
Location: South Australia
Posts: 326
Downloads: 195
Uploads: 0


Default

This is such a powerful mod... thanks TDW.

I really think u should eliminate blue as one of the Automatic colours,
if your glasses are a bit old (as mine are lol), blue can be really hard
to real. I wish ppl would stop using it everywhere on the forums. Same
with black...
NeonsStyle is offline   Reply With Quote
Old 02-10-11, 10:33 AM   #6244
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Blue was removed
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 02-10-11, 03:25 PM   #6245
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Syntax in TheDarkWraithUserOptions.py?

Hi TDW,
Maybe I'm daft, but I have trouble understanding some of the user instructions/explanations in Options.py. Here are two examples:

# AutomationHotKey = [ True, None, False ]
# True = enabled
# None = key used
# False = disabled
#
# if you wanted to enable this without shift required:
# AutomationHotKey = [ True, None, False ]
#
# if you wanted to disable this:
# AutomationHotKey = [ True, None, False ] Different function, yet same command words as above 'without shift required'

And the next one:

# AutomationScriptHotKeyx = [ True, None, False ]
# True = enabled
# None = key used
# False = disabled
#
# if you wanted to enable this without shift required:
# AutomationScriptHotKeyx = [ True, None, False ]
#
# if you wanted to disable this:
# AutomationScriptHotKeyx = [ True, None, False ] Different function, yet same command words as above 'without shift required'

I don't understand how two different functions call for the same syntax (in bold).
There are further occurances of the same kind in the options file (different function - same syntax), but if you can help me understand the above ones, maybe I can understand the others.

Now that I have made my ignorance public, it would be great to have your explanation.
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 02-10-11, 03:37 PM   #6246
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Regarding to that big breakthrough yesterday with Stormfly and the dll-files: Could it be possible that we could have somekind of crew control interface with this?? I don't need exactly something that we had in previous games, but just little something more. I think that this crew management option is the biggest thing that is missing from the game. And i'm in no hurry, the game is pretty good already, but could these new possibilities help fix this??? If I remember right, you said before that it's not a realistic wish...
Rongel is offline   Reply With Quote
Old 02-11-11, 08:59 AM   #6247
naights
Sparky
 
Join Date: Mar 2008
Location: Spain
Posts: 154
Downloads: 384
Uploads: 7
Default

Hi:

Don't know if this is possible but Maybe might be okay somehow to send radio messages (Status radio messages and Attack messages) but with some context written by you, so we'll have something else to do.

For example you can just say that you sunk an enemy carrier in x position, hour of attack, torpedoes used... and then receive a random radio message from a database, in this case from Attack messages database (for example)

Sorry about my poor english.
naights is offline   Reply With Quote
Old 02-11-11, 09:40 AM   #6248
Bilge_Rat
Ocean Warrior
 
Join Date: Apr 2002
Location: standing watch...
Posts: 3,194
Downloads: 344
Uploads: 0
Default

TDW,

How difficult would it be to give the player the option to have the periscope in the stock game position, slightly offset to the right?

When I use the scope, I like to keep the TAI map open on the left to track the target. With the scope in the middle, the TAI map overlaps.
Furthermore, when you use a realistic periscope mod like Arclight's mod, the horizontal graticules to measure height are on the left and are often covered by the TAI map.

Moving the scope back to the stock position solves all these issues (see below). I dont use dials, so the extra space on the right is wasted.







Uploaded with ImageShack.us


Uploaded with ImageShack.us
__________________
Bilge_Rat is offline   Reply With Quote
Old 02-11-11, 11:57 AM   #6249
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Bilge_Rat View Post
TDW,

How difficult would it be to give the player the option to have the periscope in the stock game position, slightly offset to the right?
should be fairly easy.
TheDarkWraith is offline   Reply With Quote
Old 02-11-11, 12:44 PM   #6250
Bilge_Rat
Ocean Warrior
 
Join Date: Apr 2002
Location: standing watch...
Posts: 3,194
Downloads: 344
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
should be fairly easy.
great news TDW.

Hopefully, you will be able to add it to your "to do list" (which I am sure must be quite long by now).
__________________
Bilge_Rat is offline   Reply With Quote
Old 02-11-11, 12:46 PM   #6251
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Bilge_Rat View Post
great news TDW.

Hopefully, you will be able to add it to your "to do list" (which I am sure must be quite long by now).
Way long....this whole .dll thing is a godsend but a PITA at the same time (re-writing code from Python to C#)

The awesome thing about the .dlls is I can start new threads to do additional work! The high precision timer has been moved to it's own thread now.

Last edited by TheDarkWraith; 02-11-11 at 01:50 PM.
TheDarkWraith is offline   Reply With Quote
Old 02-12-11, 01:45 AM   #6252
Akula4745
Convicted Ship Killer
 
Join Date: Mar 2009
Location: Just out of sight... plotting your course and speed
Posts: 846
Downloads: 374
Uploads: 1
Default

Quote:
Originally Posted by TheDarkWraith View Post
can you send me the revised files and I'll update the mod
Will do, TDW... its as good as on its way.
__________________
Akula4745



"If you sit by the river long enough... the body of your enemy will float by -- SunTzu"
Akula4745 is offline   Reply With Quote
Old 02-12-11, 02:35 AM   #6253
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

this may not prove interesting to about 99% of you but I did find a way to manipulate menu items in C# Basically anything that you have access to in the Script Editor can be accessible in C#, C++, Visual Basic, etc. All you have to do is add a reference to the ScriptManagerWrappers.dll file to your project

Once you've done that you can pass ANY of those items to your application and perform work on them

This is great because now one can hide all their code in a .dll file so no one with prying eyes can look it over to see how you did something Code protection, it's a great thing
TheDarkWraith is offline   Reply With Quote
Old 02-12-11, 03:44 AM   #6254
panosrxo
Planesman
 
Join Date: Jan 2010
Location: Greece
Posts: 188
Downloads: 115
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
this may not prove interesting to about 99% of you but I did find a way to manipulate menu items in C# Basically anything that you have access to in the Script Editor can be accessible in C#, C++, Visual Basic, etc. All you have to do is add a reference to the ScriptManagerWrappers.dll file to your project

Once you've done that you can pass ANY of those items to your application and perform work on them

This is great because now one can hide all their code in a .dll file so no one with prying eyes can look it over to see how you did something Code protection, it's a great thing
Plus it is going to be faster right?

Would it be possible to convert the whole game? Eliminate python? (Thats just a theoretical question)
panosrxo is offline   Reply With Quote
Old 02-12-11, 07:46 AM   #6255
Stormfly
Serial Port Protector
 
Stormfly's Avatar
 
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
Default

Quote:
Originally Posted by panosrxo View Post
Plus it is going to be faster right?

Would it be possible to convert the whole game? Eliminate python? (Thats just a theoretical question)
nice would also be accessing the sub engine / physics using external code like A2A Simulation did with their new ACCUSIM Spitfire for FSX
__________________
Stormy......

Stormfly 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 06:52 PM.


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.