SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
Thread Tools | Display Modes |
09-24-24, 08:17 AM | #1 |
Seaman
Join Date: Jul 2015
Posts: 33
Downloads: 26
Uploads: 0
|
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 --- |
09-24-24, 10:25 AM | #2 |
Grey Wolf
Join Date: Jan 2002
Location: Holland
Posts: 752
Downloads: 122
Uploads: 0
|
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. |
09-24-24, 06:16 PM | #3 | |
Seaman
Join Date: Jul 2015
Posts: 33
Downloads: 26
Uploads: 0
|
Quote:
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 --- |
|
09-24-24, 07:22 PM | #4 |
Seaman
Join Date: Jul 2023
Posts: 31
Downloads: 22
Uploads: 0
|
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. |
|
|