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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 06-24-11, 03:27 PM   #1
fred8615
Saint of the seas
 
fred8615's Avatar
 
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,320
Downloads: 265
Uploads: 127
Well I thought I had a good idea

While playing a patrol in my current career I suddenly got the idea to see if I could expand the tooltip that comes up when you put the cursor over the sub image on the crew management screen, torpedo screen, etc. My idea was to add info on the sub so you could have it ingame. Like this:

USS Narwhal (SS-167)
Class: Narwhal
Commissioned: May 15th, 1930
Displacement: 2730 tons surfaced, 3960 tons submerged
Length: 371 feet
Beam: 33 feet 3.25 inches
Draft: 16 feet 11.25 inches
Maximum Speed: 17.4 knots surfaced, 8 knots submerged
Range: 9380 nm at 10 knots
Underwater Endurance: 10 hours at 5 knots
Test Depth: 300 feet

I found the files I needed to edit, and this morning I was trying to actually create a mod to add it, hence the Narwhal info above. But I ran into a few problems.

The first was that the entire info above types out in the message when you start a career. This wasn't a biggie as it's a simple matter of editing the relevant entry in the menu.txt (which I intended to include in the readme). I realized it would also do this when you got a medal, but again it's a simple editing fix for that too.

My real problem is that everything types out when you get your Operational Orders when starting a patrol, when you send a message, or get a message specifically for your boat. And I can't find the part in the menu.txt to turn off the sub name in these. The career start message and the medals use #SUBMARINENAME# for the sub, but those are the only instances when it appears. I assume it's one of the dozens of uses of %s or %(letter) scattered throughout the menu.txt, but which one where, I have no clue. And I'm assuming it's in menu.txt cause I looked through every other file it could've possibly been in.

So I'm hoping maybe someone with a bit more knowledge can help me out? Otherwise this is gonna end up being one those great ideas that just doesn't work.

Like the magnetic exploder.
fred8615 is offline   Reply With Quote
 


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


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