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, 09:26 AM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by reallydedpoet View Post
In the py options ( user ) or the in-game stuff? If in py, where exactly. I looked though this and have not disabled the right one.

Thanks for your help DW
################################### Radio Reports and Messages ##################################
....
# are radio messages enabled in game?
# change below to either True or False
RadioMessagesEnabled = False
TheDarkWraith is offline   Reply With Quote
Old 02-09-11, 09:34 AM   #2
ReallyDedPoet
Canadian Wolf
 
ReallyDedPoet's Avatar
 
Join Date: Jul 2006
Location: Canada. The one and only, East Coast
Posts: 10,966
Downloads: 969
Uploads: 5


Default

Quote:
Originally Posted by TheDarkWraith View Post
################################### Radio Reports and Messages ##################################
....
# are radio messages enabled in game?
# change below to either True or False
RadioMessagesEnabled = False
Thanks
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Old 02-09-11, 06:00 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

some exciting things might be happening here soon. While working with Stormfly on adding sounds to the radio messages I discovered that the game wouldn't let you define new .sdl entries for 'Menu' items. Being the determined one I am I wasn't about to give up. So I did what needed to be done - write a custom .dll file to play them for me. What does this have to do with anything? Simple - I now can retrieve the handle to the main SH5 window. This is HUGE With that handle I can draw on it, play sounds, capture mouse events, basically I can do just about whatever I want

Time to start really playing with the game now
TheDarkWraith is offline   Reply With Quote
Old 02-09-11, 06:14 PM   #4
stoianm
Ocean Warrior
 
Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
Default

sounds promising
stoianm is offline   Reply With Quote
Old 02-09-11, 06:18 PM   #5
ustahl
Watch Officer
 
Join Date: Apr 2005
Location: Oulu, Finland
Posts: 339
Downloads: 156
Uploads: 0
Default

TDW, that sounds intriguing!
Would that make it possible to automaticly show the U-Boat's flag only in close vicinity of the home port, and, say 50 miles from home port only an empty flagstaff?
That would get closer to realism, I guess, instead of showing the flag throughout the mission.
__________________
Cheers
Uffe
ustahl is offline   Reply With Quote
Old 02-09-11, 07:37 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

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). It's also telling me I moved the mouse x,y,z pixels since last call to the function (Note: Z is the mousewheel - this means I'll be able to tell when the map zooms in/out now!). Awesome. Yep, I'll be able to do some things I've been wanting to do now

Last edited by TheDarkWraith; 02-09-11 at 07:54 PM.
TheDarkWraith is offline   Reply With Quote
Old 02-09-11, 07:58 PM   #7
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   #8
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
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 07:12 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.