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 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 12-29-23, 10:52 AM   #1
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 794
Downloads: 27
Uploads: 0


Support Hardcode modifications requests

So, maybe we could put here all the things we really would like to be working, but which can only work with some modification to the hard code of SH3...

This has been done in the past, so why not hope for future improvements?


Please don't rain on my thread saying that nobody will ever do further hard code fixes, one never knows...

Last edited by Mister_M; 12-29-23 at 01:09 PM.
Mister_M is online   Reply With Quote
Old 12-29-23, 10:58 AM   #2
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 794
Downloads: 27
Uploads: 0


Default

#1 Guns' firing behaviour


I will start with something that has bothered me from the beginning.

There are several guns on a ship, and they have their own firing range. But as soon as the ship detects an enemy ship, all the guns (even the light AA guns) will turn towards the enemy ship and fire at it, even if the enemy ship is much farer than the guns' max firing range...

The correct behaviour would be rather this one:

- the gun will start moving towards the enemy target when this target is less than {the gun's max firing range + 1 km} away.

- the gun will start firing only when the target is less than {the gun's max range} away.
Mister_M is online   Reply With Quote
Old 12-29-23, 12:03 PM   #3
VonDos
Admiral
 
Join Date: Mar 2007
Location: Italy
Posts: 2,222
Downloads: 75
Uploads: 49


Default

#2, the dream of dreams, remove 32bit\4gb ram limitations

Best regards,
Vd
__________________

Those, others and WIP ships are avaiable in my SHIPYARD here:
http://www.subsim.com/radioroom/showthread.php?t=136508
VonDos is online   Reply With Quote
Old 12-29-23, 12:52 PM   #4
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 794
Downloads: 27
Uploads: 0


Default

Quote:
Originally Posted by VonDos View Post
#2, the dream of dreams, remove 32bit\4gb ram limitations

Yeah, sure!

But it's probably not an easy fix, else I believe H.Sie or Stiebler would have fixed it long time ago...

Last edited by Mister_M; 12-29-23 at 01:01 PM.
Mister_M is online   Reply With Quote
Old 12-29-23, 01:06 PM   #5
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 794
Downloads: 27
Uploads: 0


Default

#3 ASDIC detection vs. depth


So, Stiebler added a fix where the enemy ASDIC doesn't work very well when your U-Boot is in shallow waters.

In my opinion, this should depend not on the sea bed's depth, but on the distance between the U-Boot and the sea bed. Hence, if your U-Boot lies on the bottom, the enemy destroyers' ASDIC should not be able to detect you whatever the depth.
Mister_M is online   Reply With Quote
Old 12-29-23, 01:12 PM   #6
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Quote:
Originally Posted by VonDos View Post
#2, the dream of dreams, remove 32bit\4gb ram limitations
Only way to do that is to recompile the original source code to 64 bit.
That might sound easy given one has the source code but can open up a lot of bugs, will increase the size of the major files like the exe, dll's, and act files.
Each and every file would need recompiled and tested for problems.

SH3 Commander and other add-ons would no longer work also.
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 12-29-23, 02:49 PM   #7
Tabris
Gunner
 
Tabris's Avatar
 
Join Date: Jan 2020
Location: Oregon, USA
Posts: 98
Downloads: 171
Uploads: 0
Default

Adding new crew voice lines for orders that are currently unvoiced. I've been told that current understanding of the code says this is impossible. Probably a minor thing for most people, but more immersion is always good, and having the chief say "raising snorkel," or the radio man saying "detecting radar signals!" would be incredible.

Also, an old SH dream is to be able to manually control which motors are doing the work. In Iron Coffins the author describes using the e-machines while in port and starting the diesels only later. I know American boats in the Pacific would use them during night surface attacks to prevent being heard when the seas were calm. It'd be amazing to get to choose when to use which.

Last edited by Tabris; 01-02-24 at 11:52 PM.
Tabris is offline   Reply With Quote
Old 12-29-23, 05:00 PM   #8
John Pancoast
Ocean Warrior
 
Join Date: Apr 2002
Location: Minnysoda
Posts: 3,186
Downloads: 490
Uploads: 4


Default

- Escorts in correct escorting positions, numbers and tactics (get rid of the routine wandering off into never neverland, leaving the entire convoy flank exposed "tactic").
- Convoys correct sizes
- Aircraft use correct attack profiles and weapons
- Better damage model; damaged batteries leak chlorine gas, less predictability (always the forward deck, flak guns damaged first, i.e.), fuel/oil leaks which increase the chance of detection, etc., etc.
- better silent running mode vs the invincible state it currently is.
- depth charge noise masking
- convoy noise masking
- enemy a/c that spot you relay that info. to nearby escorts/convoys.
- moonlight affects. (thanks rik007!)
- more wolfpack attacks. Even with H.sie's mod, there are not nearly enough with virtually none in some historically active areas. Pack attacks were the norm, not the exception, and there are way to many single attacks still.

Probably come up with others later Btw, all the above were in AOD.
__________________
"Realistic" is not always GAME-GOOD." - Wave Skipper

Last edited by John Pancoast; 12-30-23 at 08:13 PM.
John Pancoast is offline   Reply With Quote
Old 12-30-23, 10:24 AM   #9
rik007
Seasoned Skipper
 
Join Date: Jan 2002
Location: Holland
Posts: 714
Downloads: 117
Uploads: 0
Default

#4
Time compression that works larger than 256X
Correct caps when rain or shine

Seriously:
Step 1: install cheatengine
Step 2: install x32dbg
Step 3: install NASM
Step 4: Fire up sh3
Step 5: Fire up cheatengine
Step 6: Fire up x32dbg
Step 7: After some research:
Step 7: Start coding your solution in NASM
.....

Although the requirments you have are very simple - provided you have the C++ code in front of you. Soon you will learn that they are very complicated in Harde code fixing. For example: how do you know if a gun is an aa gun? How do you know if it is a gun? Where is the check done that a ship is within 1 Km? How do you know if a ship is firing? And which ship? How are the ships stored anyway? How many guns are there on a ship? etc, etc.

It will take a few months to create it (or fail). If you are working full time on it maybe a few exhausting weeks...

Last edited by rik007; 12-30-23 at 11:03 AM.
rik007 is offline   Reply With Quote
Old 01-03-24, 04:35 AM   #10
Fluffysheap
Bosun
 
Join Date: Jan 2009
Posts: 63
Downloads: 8
Uploads: 0
Default

Quote:
Originally Posted by Tabris View Post
Also, an old SH dream is to be able to manually control which motors are doing the work. In Iron Coffins the author describes using the e-machines while in port and starting the diesels only later. I know American boats in the Pacific would use them during night surface attacks to prevent being heard when the seas were calm. It'd be amazing to get to choose when to use which.

To some degree this is a difference in the design of the American and German subs. American subs had the diesels power a generator and used only electric motors for propulsion, similar to a diesel-electric locomotive. German subs had the electric and diesel motors both attached by clutches to the propulsion shafts and used the same machinery as either a generator or a motor, more like a hybrid car. The American system was bulkier but simpler and more flexible. For example the awkward arrangement where the Germans would have to run on one engine for propulsion while the other charged the batteries was not necessary for the Americans (and was actually only done at slower speeds by the Germans - at high speeds they would drive both propellers with the diesels and clutch in one or both electric motors as generators). The Americans could just run the diesels at full power and always have the most efficient distribution of energy. But both approaches had advantages. German subs could be "jump started" by towing with the electric motors engaged, making it easier to capture them



It's likely that the Germans had to use electric motors in port because their system would require a minimum speed when on diesel power. This is not implemented in SH3 but any combustion engine has a minimum speed at which it can run.
Fluffysheap is offline   Reply With Quote
Old 01-03-24, 06:55 AM   #11
derstosstrupp
Grey Wolf
 
derstosstrupp's Avatar
 
Join Date: Aug 2008
Posts: 887
Downloads: 489
Uploads: 0


Default

The reason for the use of the motors in port is because the diesels (to the extent they were even reversible, see below), were relatively more difficult and time consuming to reverse. You had to shut the engine off, shift the cams over and then restart it. As a weight-saving measure about mid war, reversible diesels were no longer supplied.

The motors on the other hand are very easy to reverse and quick. You simply place the speed rheostat on full field, switch the travel direction switch to the opposite direction, and you are done. This causes a significant initial surge in armature current, but the starting resistors can handle that until CEMF starts building in the opposite direction.
__________________
Ask me anything about the Type VII or IX!

One-Stop Targeting Shop:
https://drive.google.com/drive/folde...WwBt-1vjW28JbO
My YT Channel:
https://www.youtube.com/channel/UCIJ...9FXbD3S2kgwdPQ

Last edited by derstosstrupp; 01-03-24 at 07:09 AM.
derstosstrupp is offline   Reply With Quote
Old 01-03-24, 11:37 AM   #12
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 794
Downloads: 27
Uploads: 0


Default

When departing from a U-bunker, the electric motor would allow you to have a very slow speed (thus avoiding to create huge waves), and would prevent the emission of toxic vapors from the diesel engines.

Also, if you can't go reverse with the diesel engines, then you can't use them to leave the bunker, because you entered in the bunker moving forward, remember?...


Quote:
Originally Posted by rik007 View Post
Step 1: install cheatengine
Step 2: install x32dbg
Step 3: install NASM
Step 4: Fire up sh3
Step 5: Fire up cheatengine
Step 6: Fire up x32dbg
Step 7: After some research:
Step 7: Start coding your solution in NASM
.....

Although the requirments you have are very simple - provided you have the C++ code in front of you. Soon you will learn that they are very complicated in Harde code fixing. For example: how do you know if a gun is an aa gun? How do you know if it is a gun? Where is the check done that a ship is within 1 Km? How do you know if a ship is firing? And which ship? How are the ships stored anyway? How many guns are there on a ship? etc, etc.

It will take a few months to create it (or fail). If you are working full time on it maybe a few exhausting weeks...

I understand the point, thank you!
Mister_M is online   Reply With Quote
Old 01-03-24, 03:20 PM   #13
Doolar
Expert Shipsinker
 
Doolar's Avatar
 
Join Date: Feb 2007
Location: Baltimore,Md./ CA45
Posts: 803
Downloads: 360
Uploads: 0
Default Re

Player controled "dive planes" and to ba able to use "electric motors" on the surface
__________________
ONEALEX 1.53 ARB / NYGM Enhanced "Steel Coffin" v5.7 DGUI / CCom12 DGUI / WAC 5.2 DGUI / Toyotagt86 v2.2 ARB / GWX3 DGUI
Doolar is offline   Reply With Quote
Old 01-03-24, 03:55 PM   #14
rik007
Seasoned Skipper
 
Join Date: Jan 2002
Location: Holland
Posts: 714
Downloads: 117
Uploads: 0
Default

Quote:
Originally Posted by Mister_M View Post
Originally Posted by rik007 View Post
Step 1: install cheatengine
Step 2: install x32dbg
Step 3: install NASM
Step 4: Fire up sh3
Step 5: Fire up cheatengine
Step 6: Fire up x32dbg
Step 7: After some research:
Step 7: Start coding your solution in NASM
.....

Although the requirments you have are very simple - provided you have the C++ code in front of you. Soon you will learn that they are very complicated in Harde code fixing. For example: how do you know if a gun is an aa gun? How do you know if it is a gun? Where is the check done that a ship is within 1 Km? How do you know if a ship is firing? And which ship? How are the ships stored anyway? How many guns are there on a ship? etc, etc.

It will take a few months to create it (or fail). If you are working full time on it maybe a few exhausting weeks...

I understand the point, thank you!
If I had the C++ source code in front of my I would not have hesitated to fullfill your request
rik007 is offline   Reply With Quote
Old 01-03-24, 04:59 PM   #15
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 794
Downloads: 27
Uploads: 0


Default

So, the game is coded in C++?
Mister_M is online   Reply With Quote
Reply


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:55 PM.


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