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

Reply
 
Thread Tools Display Modes
Old 03-18-26, 10:32 PM   #1
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: USA
Posts: 8,645
Downloads: 697
Uploads: 61


Default

Quote:
Originally Posted by Baxder View Post
Got the "supply" pickup in Cavite, which is awesome, but nothing updated after the second day in the bay. I went back to the dock on the second night per orders, but the mission stars were still grey and nothing updated. Every objective shows "complete," but I'm getting no further orders. If I understand it correctly, after the second night of loading at the dock, I should get orders to the dropoff point.

PlayerCurrentObjectiveCode=TroutOPS
PlayerDefaultObjectives=ID94
PlayerCurrentObjectives=ID255
PatrolStartDateTime=1941-12-09 14:25:47


Thank you for bringing to my attention.


I tested it and worked fine to begin with but second test, did not work.


I saw a likely issue with an event trigger and corrected it. Also revised
the patrol slightly. No major change.


Please see link below and enclosed README


https://www.mediafire.com/file/tarun...on+01.zip/file



Remember, it is a good practice to assign yourself another mission in the careertrack.upc file by changing the ID and Objective code, saving. Enable the revised mission at the link via JSGME, then go back to careertrack.upc and provide the code for this mission (ID255). This can help avoid CTD's due to miss changes. Make sure to make a new save file when in office. Unfortunately, will need to start patrol over.


This mission is actually not supposed to be assigned to player until January 1942 (mission is based on Trout's patrol where delivered AA ammo and evacuated gold, among other important items in Feb 1942) but oh well.
Will corrected in the forthcoming patch.



Let me know how it works out for you.
Bubblehead1980 is offline   Reply With Quote
Old 03-19-26, 09:36 AM   #2
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Gone to Texas. No More Kleptocratic Government for me!
Posts: 4,710
Downloads: 508
Uploads: 31


Default

Quote:
Originally Posted by Bubblehead1980 View Post
Thank you for bringing to my attention.


I tested it and worked fine to begin with but second test, did not work.


I saw a likely issue with an event trigger and corrected it. Also revised
the patrol slightly. No major change.

with all of the missions i have run and tested (Dark Waters, FOTRSU, and TMO_BH), i have noticed that SH4 does not always like it when we use a trigger for more than one event. logically, a one-to-many usage should work, but i have seen it fail...and not on a consistent basis.

so...when i design or modify a mission, i always setup my Triggers and Events on a 1:1 basis because this will work every time.

just some thoughts to keep in mind.

__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote
Old 03-19-26, 04:17 PM   #3
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: USA
Posts: 8,645
Downloads: 697
Uploads: 61


Default

Quote:
Originally Posted by KaleunMarco View Post
with all of the missions i have run and tested (Dark Waters, FOTRSU, and TMO_BH), i have noticed that SH4 does not always like it when we use a trigger for more than one event. logically, a one-to-many usage should work, but i have seen it fail...and not on a consistent basis.

so...when i design or modify a mission, i always setup my Triggers and Events on a 1:1 basis because this will work every time.

just some thoughts to keep in mind.


Yes, learned that after reworked a lot of missions and have revise.d many (still in progress) exception being using same trigger for updating objectives and the corresponding radio messages, those typically work fine.


The issue in this mission appeared to be how the trigger was named, it was not always triggering the new objective. Worked fine Ford test, second test did not. Removed trigger from event, deleted it, renamed the new one, activated and worked fine.
Bubblehead1980 is offline   Reply With Quote
Old 03-19-26, 04:52 PM   #4
ElCid97
Engineer
 
Join Date: Nov 2019
Location: Miami, FL
Posts: 204
Downloads: 146
Uploads: 6


Default

I'm only updating the textures for the ships and not changing any of the names, so there shouldn't be a problem, but just in case ...

Is there going to be a problem, you think, if you are calling different textures at a different "era" in-game?

For example, the Hikawa class (3-ships -- still cloing the other two) are based on a single NYK texture prior to Dec 1941 or so when they were taken into the IJN as hospital ship (Hikawa) and troop ships (Hie Maru and Heian Maru).

Prior to a specific date, they are black hulled with full NYK striping on the funnels. After that date, they are either hospital or IJN gray.

If the player is out on mission and the date passes, would that be a problem? (i.e. -- up to 12-21-1941 civilian "Texture 1" and from 12-22-1941 "Texture 2" in the cfg file of the Roster folder). If the player is at night with one in the scope and it goes from 23:59 hrs to 00:00 hrs, I just hope it doesn't CTD. My guess is that the ship will either swap out the texture "real-time" or just keep the old one until the "mission" is over, correct?

Hopefully it works!

For this to work I may have to change a few things here and there, so I want to make sure I'm not messing anything up before getting too deep into the "special" ships.

The Teiryu Maru and SCV1 ships should be okay since I don't have to change any names, just what texture is called up.

Saludos!

ElCid97
ElCid97 is offline   Reply With Quote
Old 03-19-26, 10:11 PM   #5
ElCid97
Engineer
 
Join Date: Nov 2019
Location: Miami, FL
Posts: 204
Downloads: 146
Uploads: 6


Default

Good evening!

Please forgive me if this is a "hijack" -- which it is NOT meant to be BY ANY MEANS.

I just wanted to update everyone - including BH - at the same time since my "down" time is somewhat limited. I actually had the chance to sit down tonight and run some tests as well as take some screenshots -- something I've been promissing BH for a while now.

Here are a few shots of the progress to date on my end to help out:

Is-Was coming along nicely. Works, so far, without any issues. Still need to update the Camera.dat files for Vickers full interiors. Will have one for Early Scopes and one for Late (normal) scopes. All will be OTC and 16:9 ratio. If someone uses something different in ratio, please let me know.

All work is from the original author, just updated for Vickers and BH. For example, I'm updating the BH early scope masks using the "dash" lines from the OTC -- which is what I have in the screenshot. It's the original OTC scope for 16:9 ratio, not the one(s) that will be introduced/kept with the TMO-BH update.

The "Torpedo Gyro Angle" and "Torpedo Course" data is supplied automatically by the game since it's a "blank" dial where some of the default TDC stuff is supposed to be. That way you have the data but not the dials themselves which would ruin the immersion. The "pop-up" data goes away when you move the mouse off the upper part of the notepad.

Hovering the mouse over the actual Is-Was give you the "Torpedo Bearing" data/numbers (wording may be off?) because of the dials it represents. Again, it's default info the game gives you as a pop-up based on the dials that are on the PK/TDC.

To "Zero Out" the torpedoes:

1. Place the TDC (Targeting Data Crew) "Off Duty" to stop the automatic updates by the TDC (Torpedo Data Computer Position Keeper -- this Is-Was is just a visual "gatekeeper" to the default stuff. Think of it as lipstick on a pig).

2. Place the periscope straight ahead (360*/0* bearing).

3. Place range at shortest range. Send data twice (once for range and again for periscope bearing).

4. Place AOB at 0* degrees (as in the target ship is coming straight at you). Send the data.

5. Place speed at 0 kts. Send the data.

Once done, you should get a 0 torpedo gyro angle when you hover over the top-right notepad on the Is-Was. I've only been close enough to have either -1 or 1, but never right on 0. It's just how close you can get everything to "zero" at the other stations. I'm just not that good.



Here we have the SCV1 ship by Alex which BH has graciously included in the latest shipping packs. I'm in the process of making civilian textures for the early part of the war, to include the pre-war missions. This one is for the Hokuyo Maru (sp?) which is the display name for this model. I also have over 40 textures for the Akita Maru types and about 7 so far for the Hikawa Maru types. I just need to finish the cfg files in the Roster so the textures get called up when they should be getting called up.

I actually finished the 7 Teiryu Maru types (also by Alex) to along with that particular model.

You can see my VERY horrid attempt at a Normal/Bump map in the shot. Tried the method in a forum post that was kindly provided and it worked okay since it's meant to just give a "quick and dirty" effect. I polished up the funnel effects a little bit as well as the wood for the bridge, but I would have to work on those a lot more before I actually add them to any release. This first attempt looks like melted metal or gooey ice cream. But at least you can see the rivets, right?



This is one of Alex's Teiryu Maru types (can't remember which of the 7 this is) showing that his models will break in two just like the default ones. He did a GREAT job modeling these and it's going to be great having them in the next release with these updated textures.



The total count was 6 of 8 ships in a test mission I put together. Here is the tally, with an example of the sole "Mitsubishi" texture on one of the Teiryu Maru types. Again, I can't remember which if these "maru's" it was, but it's part of the 7 included by BH for the Teiryu Maru clones.



I've been "farming" civilian company info from the "Combined Fleet" website and the internet in general. Most textures will swap from the civilian to the IJN/IJA textures around spring of 1942, but some go all through the year just to give some variety to the ships early in the war. By 1943 everyone has the updated IJN/IJA gray textures I made, while almost everyone as a type of green "splinter" camo by mid- late- 1944 time frame.

I've also changed out the text to "typed" text in the main "menu_1024_768.ini" file. Let me know if you guys like this, or if you prefer the "block" standard text that's default. I did this originally for the BuPers mod, but that didn't work out as well as I was hoping. The typed text, however, I thought look rather nice when used throughout.

Ranks for the player are also getting worked on. I had already done changes to the "menu.txt" file as well as some other files in order to get "rating" instead of "specialty" for the crew. When you hover over the face of the crewmember, you get "Gunner's Mate" instead of "Guns" or "Weapons", while instead of "Watch" you get "Signalman".

I just need to update all that for TMO-BH since it was FotRSU originally and didn't play nice with TMO.

All of this is still being worked on when I have the chance, but for now the Is-Was and it's supporting camera.dat settings is in the forefront. The textures were already done to an extent. Now that we have the "Unrestricted Submarine Warfare" addon for the update, we can have a lot more fun since I have a cfg file to put those textures in!

Let me know if you would prefer a link to a download for beta when the Is-Was is ready, or if you prefer to just message through our profiles for an e-mail address. Either way is fine with me. I've already e-mail BH several files for testing on the side, so whatever works.

Saludos!

ElCid97
ElCid97 is offline   Reply With Quote
Old 03-19-26, 10:15 PM   #6
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: USA
Posts: 8,645
Downloads: 697
Uploads: 61


Default

Quote:
Originally Posted by ElCid97 View Post
I'm only updating the textures for the ships and not changing any of the names, so there shouldn't be a problem, but just in case ...

Is there going to be a problem, you think, if you are calling different textures at a different "era" in-game?

For example, the Hikawa class (3-ships -- still cloing the other two) are based on a single NYK texture prior to Dec 1941 or so when they were taken into the IJN as hospital ship (Hikawa) and troop ships (Hie Maru and Heian Maru).

Prior to a specific date, they are black hulled with full NYK striping on the funnels. After that date, they are either hospital or IJN gray.

If the player is out on mission and the date passes, would that be a problem? (i.e. -- up to 12-21-1941 civilian "Texture 1" and from 12-22-1941 "Texture 2" in the cfg file of the Roster folder). If the player is at night with one in the scope and it goes from 23:59 hrs to 00:00 hrs, I just hope it doesn't CTD. My guess is that the ship will either swap out the texture "real-time" or just keep the old one until the "mission" is over, correct?

Hopefully it works!

For this to work I may have to change a few things here and there, so I want to make sure I'm not messing anything up before getting too deep into the "special" ships.

The Teiryu Maru and SCV1 ships should be okay since I don't have to change any names, just what texture is called up.

Saludos!

ElCid97

Texture should not be a problem,. most likely would not change until out contact with player i.e. out of all sensor range, then when it renders again if contacted, should show changed texture. Well, how it appears to work anyways. Been a very long time since I tested anything with textures.


You'd have to tell me what you're changing specifically for me to say if will be an issue one way or other. Generally, renaming things etc can be problematic, to say the least.
Bubblehead1980 is offline   Reply With Quote
Old 03-19-26, 10:29 PM   #7
ElCid97
Engineer
 
Join Date: Nov 2019
Location: Miami, FL
Posts: 204
Downloads: 146
Uploads: 6


Default

Quote:
Originally Posted by Bubblehead1980 View Post
Texture should not be a problem,. most likely would not change until out contact with player i.e. out of all sensor range, then when it renders again if contacted, should show changed texture. Well, how it appears to work anyways. Been a very long time since I tested anything with textures.

You'd have to tell me what you're changing specifically for me to say if will be an issue one way or other. Generally, renaming things etc can be problematic, to say the least.
Thanks for the heads up!

I was only thinking of the "clones" for the Hikawas since they're basically hospital ships as default. I was going to have a "103" ship for the 3 sisters up to the date the main ship went to "hospital" status (109). From that point forward it would be as we have it now for Hikawa Maru, but the sister clones would remain as "103" under NYK, eventually changing over to IJN gray scheme for their roles as transports.

I saw where "Hikawa Maru" is already being used, albeit as a hospital ship. Can we have 2 of them with different types? Or would the clone have to be renamed to "Hikawa_NYK" or something along those lines?

I can see where the "diplomatic" green texture I did for the Conte Verde model would not be a problem since nothing would be renamed -- just add a texture with a date range for when it was used to repatriate people and call it a day.

The problem -- if any -- would, again, be with the "clone" of any ship as a "103" early war when painted in civilian scheme. At that point it's just a regular "Maru" and not a "special" ship.

I'm guessing as long as it's "out" of play by the date the other one comes in, then everything should be fine, correct?

Or can you only have one "type" of ship? Maybe I'm not using the correct term here (see Hikawa question above).

Again, thanks for the info!

Saludos!

ElCid97
ElCid97 is offline   Reply With Quote
Old 03-20-26, 08:43 AM   #8
sesfan
sink 'em all
 
sesfan's Avatar
 
Join Date: Jan 2019
Posts: 86
Downloads: 63
Uploads: 0
Default

ElCid97 the Is-Was mod is exactly what I've been wanting for my S-Boat campaign, thanks for your work on this.
sesfan is offline   Reply With Quote
Old 03-21-26, 01:57 PM   #9
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: USA
Posts: 8,645
Downloads: 697
Uploads: 61


Default

Quote:
Originally Posted by ElCid97 View Post
Thanks for the heads up!

I was only thinking of the "clones" for the Hikawas since they're basically hospital ships as default. I was going to have a "103" ship for the 3 sisters up to the date the main ship went to "hospital" status (109). From that point forward it would be as we have it now for Hikawa Maru, but the sister clones would remain as "103" under NYK, eventually changing over to IJN gray scheme for their roles as transports.

I saw where "Hikawa Maru" is already being used, albeit as a hospital ship. Can we have 2 of them with different types? Or would the clone have to be renamed to "Hikawa_NYK" or something along those lines?

I can see where the "diplomatic" green texture I did for the Conte Verde model would not be a problem since nothing would be renamed -- just add a texture with a date range for when it was used to repatriate people and call it a day.

The problem -- if any -- would, again, be with the "clone" of any ship as a "103" early war when painted in civilian scheme. At that point it's just a regular "Maru" and not a "special" ship.

I'm guessing as long as it's "out" of play by the date the other one comes in, then everything should be fine, correct?

Or can you only have one "type" of ship? Maybe I'm not using the correct term here (see Hikawa question above).

Again, thanks for the info!

Saludos!

ElCid97

Cloning a ship but having them as different types such as cloning a 103 and naming its clones as 109 type, IRRC it caused CTD's in development of the ship pack. May working but then SH 4, being testy, decides it does not like it lol and CTD. Best practice is not to vary the types from the "mother" and its clones.

You'd want to rename the mother and its clones as far as their roster and sea files something different from Hikawa, as Type 103's then have their exit dates sea in the roster files when Hikawa was converted to hospital ship and enters the campaign.


In the Names.cfg in the roster folder, can still name them Hikawa Maru etc.
Bubblehead1980 is offline   Reply With Quote
Old 03-19-26, 09:49 AM   #10
Baxder
Chief
 
Join Date: Jul 2008
Posts: 329
Downloads: 84
Uploads: 3
Default

Quote:
Originally Posted by Bubblehead1980 View Post
Thank you for bringing to my attention.


I tested it and worked fine to begin with but second test, did not work.


I saw a likely issue with an event trigger and corrected it. Also revised
the patrol slightly. No major change.


Please see link below and enclosed README


https://www.mediafire.com/file/tarun...on+01.zip/file



Remember, it is a good practice to assign yourself another mission in the careertrack.upc file by changing the ID and Objective code, saving. Enable the revised mission at the link via JSGME, then go back to careertrack.upc and provide the code for this mission (ID255). This can help avoid CTD's due to miss changes. Make sure to make a new save file when in office. Unfortunately, will need to start patrol over.


This mission is actually not supposed to be assigned to player until January 1942 (mission is based on Trout's patrol where delivered AA ammo and evacuated gold, among other important items in Feb 1942) but oh well.
Will corrected in the forthcoming patch.



Let me know how it works out for you.
Do I need to change the mission ID even though they're the same?
__________________
Help for eye-haters: 4k 3kyd Plotter - SH4 4k Playability Package - Now with bigger text!

Do you even ReShade?
Baxder is offline   Reply With Quote
Old 03-19-26, 04:13 PM   #11
Bubblehead1980
Navy Seal
 
Join Date: Apr 2009
Location: USA
Posts: 8,645
Downloads: 697
Uploads: 61


Default

Quote:
Originally Posted by Baxder View Post
Do I need to change the mission ID even though they're the same?

Yes.

I've had issues when already assigned a mission and make changes, activate revised via jsgme.


Just change it, save. Activate the new mission, then change it back. Should be fine.
Bubblehead1980 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 06:45 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.