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 09-24-24, 08:17 AM   #1
promitheas
Seaman
 
Join Date: Jul 2015
Posts: 32
Downloads: 26
Uploads: 0
bullhorn SH3 Ship Recognition Manual Generator (pdf) v0.1

Hello everyone, how are you all doing?

A couple days ago I was searching for a printable pdf version of the ship recognition manual and pretty much all threads on here that mentioned them lead to dead links, so I decided to make one myself.

I spent the night cobbling together a series of scripts that will allow anyone to generate their own manual, all they would need to do is update a couple directory paths in the script to point to their game directory.

Its very rough still, it includes both merchant and warships in a single file (I intend to separate them and essentially generate two pdf files at some point). Keep in mind I only spent a single night hacking it together.

I'll upload the resultant pdf here as well so you can take a look at it, but I'd also really really appreciate if those who have the technical know-how could look at the code, because I have some questions given I am not too familiar with the game files and the internals of SH3.

For example I would like to know how I can tell if a ship is a warship or merchant from its ClassName/Name, so that I can programmatically separate them into two different pdf files. I also intend to eventually have it sorted in some way, either by tonnage or type or whatever people find most useful.

Also, I of course appreciate all feedback you have if you decide to take a look at it. Just keep in mind, its still extremely basic - just the in-game manual page, with a line or two of text below it which includes the information, like mast height, tonnage, name, etc.

Here is the link to the pdf file: https://drive.google.com/file/d/1Wxz...ew?usp=sharing

And here is the link to the github repository: https://github.com/promitheas17j/Sil...nual-Generator

Thanks in advance!
__________________
Recognition manual pdf (v0.1 - kinda proof of concept for the generator): https://drive.google.com/file/d/1Wxz...ew?usp=sharing

Recognition manual generator code: https://github.com/promitheas17j/Sil...nual-Generator



---
promitheas is offline   Reply With Quote
Old 09-24-24, 10:25 AM   #2
rik007
Grey Wolf
 
Join Date: Jan 2002
Location: Holland
Posts: 752
Downloads: 122
Uploads: 0
Default

Nice!

I hope the Unittype helps with finding the class of a ship. See: https://www.subsim.com/radioroom/sho...86&postcount=2

Hope it helps.
rik007 is offline   Reply With Quote
Old 09-24-24, 06:16 PM   #3
promitheas
Seaman
 
Join Date: Jul 2015
Posts: 32
Downloads: 26
Uploads: 0
Default

Quote:
Originally Posted by rik007 View Post
Nice!

I hope the Unittype helps with finding the class of a ship. See: https://www.subsim.com/radioroom/sho...86&postcount=2

Hope it helps.
That's certainly what I am looking for, it would be trivial to determine which file the ship needs to go to with this. However it seems some of my unit types are different. For example, my Icebergs have a unittype of 16 while in the post you linked they have a unittype of 105.

Looking at that did lead me to a file called EnglishNames.cfg though, and in there it has the folder name containing each units related files, mapped to its name. I think I could also do something with that. In any case I would need that anyway to write the type of the ship on the manual
__________________
Recognition manual pdf (v0.1 - kinda proof of concept for the generator): https://drive.google.com/file/d/1Wxz...ew?usp=sharing

Recognition manual generator code: https://github.com/promitheas17j/Sil...nual-Generator



---
promitheas is offline   Reply With Quote
Old 09-24-24, 07:22 PM   #4
JohnCarterOfMars
Seaman
 
Join Date: Jul 2023
Posts: 31
Downloads: 22
Uploads: 0
Default

If you want the Unit Type that appears in the notepad from the UZO or Attack Periscope, you can find those values in data->roster->English.cfg.

The mod No_NotePad_ID blanks out these values to give a more realistic experience for the player.
JohnCarterOfMars is offline   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 06:06 AM.


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.