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 03-21-10, 05:50 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

well i've been working hard, very hard. I had to add LOTS of scripting to get all my UIs merged into one, fix problems found in stock game, add new features/functions, etc. It's almost complete. To give you an idea of how much scripting is added, the stock Page layout.py file is 1.39kb. It's now at 60.9kb!
My solution to the heading/rudder thing I think can best be seen by some screenshots:

here's the screenshot when you first enter into the game (I expanded the TAI map on my own cause it starts out minimized. I stopped the periscope from rising automatically when you start the game also! I clicked on the Radio officer icon and then clicked on gramophone and the following orders are available):


now if you click the heading bar just to the right of the stock UI speed bar you get this:


if you click the little button below the compass you get this:


click on the heading bar again and the compass/rudder goes away! The emergency surface icon added to the depth bar on the far left works also (right below the crash dive icon).

All the officers orders are scripted such that they have to meet conditions before they are enabled. Some require you to be underwater, some require you to be on the surface, some require you to have a contact locked, etc. In the screenshot above all the orders are available because the conditions are met. If some of the orders conditions were not met then it would not appear in the bar (it would have a blank space). An example of an order that would get a blank space: you're on the surface and you click on the CE. The orders that would normally pop up are Propulsion, Emergency maneuvers, and Reports. But since you're on the surface emergency maneuvers are not allowed (all emergency maneuvers require you to be underwater - game problem because it causes the sub to dive and you, the captain, can remain on the bridge - BUG!). I had to script the commands because of bugs with the game in order for them to work correctly. I'm sure that when I release this here soon you all WILL enjoy it. And yes, the gramophone works along with many other things.
One peculiar thing I haven't been able to get to work is Battlestations. I added an icon in the Watch officer's orders that is for battlestations. When you click on it the command is recognized by the game but nothing happens.....it is a delayed event so I don't know what causes the 'event' to fire. You all will have to tell me what triggers it when I release this.
I've combined all my UI mods into one. You determine what UI you want to use and what settings by modifying one file. Couldn't be any easier huh?

Now I'm just polishing up the loose ends. But there are a LOT of them. There's more features and all to add to this mod but I'll finish up this version so you all can get the basic functionality back into the game.

Last edited by TheDarkWraith; 03-21-10 at 06:09 PM.
TheDarkWraith is offline   Reply With Quote
Old 03-21-10, 06:08 PM   #2
Barso
Stowaway
 
Posts: n/a
Downloads:
Uploads:
I don't know what to say!
Genius is all I can think of!
  Reply With Quote
Old 03-21-10, 06:13 PM   #3
piri_reis
Seasoned Skipper
 
Join Date: Aug 2005
Location: Istanbul, Turkiye
Posts: 715
Downloads: 115
Uploads: 0
Default

DW, we're so lucky to have you here.
This mod and the evolution of it is some lesson in modding, project management, development, documentation and everything
__________________

Lt.z.S. Barbaros Hayreddin, U-35, 2nd Flot/Kiel, Type VIIB
Oct.29.1939, 2nd Patrol Eastern English Waters
Running SH5/TWOS
piri_reis is offline   Reply With Quote
Old 03-21-10, 06:17 PM   #4
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Realy nice TDW, a little prayer....

Could you implement Skwasjers new digital clock ?

http://www.subsim.com/radioroom/showthread.php?t=165545

  Reply With Quote
Old 03-21-10, 06:18 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Mav87th View Post
Realy nice TDW, a little prayer....

Could you implement Skwasjers new digital clock ?

http://www.subsim.com/radioroom/showthread.php?t=165545

I sent him a PM about it. If he doesn't respond it was a feature I was going to add but it sat really low in the priority list. The priorities were getting basic functionality and commands back and then polish it up. So if he doesn't respond by the time I get to that item I'll add my own version.
TheDarkWraith is offline   Reply With Quote
Old 03-21-10, 06:19 PM   #6
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

Yeah, ditto, awesome work DW et al
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Old 03-21-10, 06:27 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

well the menu.txt file has grown. Added many missing tooltips and thus need updated translations of the menu.txt file. Use winmerge to see changes. File available here: http://www.filefront.com/15896197/menu.txt/

skwasjer is good with adding his clock(s) to my UIs.
TheDarkWraith is offline   Reply With Quote
Old 03-21-10, 06:28 PM   #8
Txema
中国水兵
 
Join Date: Mar 2005
Location: Basque Country
Posts: 283
Downloads: 366
Uploads: 0
Default

Excellent work TheDarkWraith !!!!

Thank you !!!!




Txema
Txema is offline   Reply With Quote
Old 03-21-10, 07:04 PM   #9
Reaves
The Old Man
 
Join Date: Sep 2004
Location: Melbourne, Australia
Posts: 1,474
Downloads: 4
Uploads: 0
Default

Much appreciated. This mod is a must have.
__________________
Reaves is offline   Reply With Quote
Old 03-21-10, 07:40 PM   #10
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Quote:
Originally Posted by TheDarkWraith View Post
One peculiar thing I haven't been able to get to work is Battlestations. I added an icon in the Watch officer's orders that is for battlestations. When you click on it the command is recognized by the game but nothing happens.....it is a delayed event so I don't know what causes the 'event' to fire.
In my crew scripting tests, I've noticed that Wp:IsCrewState(B_STATIONS) never returns true, regardless of battle stations being selected or not. That might be related to what you're seeing. I could be a bug or have something to do with battle stations getting changed to an 'ability'. It also won't trigger its appropriate command script.
Heretic is offline   Reply With Quote
Old 03-22-10, 01:24 PM   #11
TopCat
Helmsman
 
Join Date: Nov 2004
Location: Switzerland
Posts: 105
Downloads: 113
Uploads: 0
Default

Quote:
Originally Posted by Heretic View Post
In my crew scripting tests, I've noticed that Wp:IsCrewState(B_STATIONS) never returns true, regardless of battle stations being selected or not. That might be related to what you're seeing. I could be a bug or have something to do with battle stations getting changed to an 'ability'. It also won't trigger its appropriate command script.
Well, have you ever tried sending crew to battle stations in stock game? I did and nothing happened. Deck guns and flak were not manned and when I walked through my boat, the guys were gently lying in their berths as they did before. No one's alert and no one runs through the compartments, no alarm sound, nothing ...
TopCat is offline   Reply With Quote
Reply

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 02:41 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.