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-27-11, 03:12 PM   #3
fred8615
Saint of the seas
 
fred8615's Avatar
 
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,320
Downloads: 265
Uploads: 127
Default

Okay, let me try to be a little clearer.

This is what I'm trying to do:



But it also does this:



And this:



And this:



I've actually figured out how to fix the last two. For the Status Report, it's this line in the menu.txt:

4171=%s. Position %s

As you can see, it uses the same variable for two different pieces of information. The way it uses them is sequential. If you delete just the first %s then all the sub info will print after "Position." But if I blank the line entirely, the other info will print just fine cause it uses a different variable.

The reply you receive is a bit trickier. It's this line:

4192=From: %s|To: %s|%s

Again, same variable, multiple uses. In this case, the last %s is the message body. So if I blank that line, while you will get the white message card pop up, there WON'T be a copy in the messages clipboard in case you want/need to review it again later. While it's not a problem for me personally, it might be for everyone else.

The real problem is the Operational Orders message. I've been through the menu.txt so many times I can practically recite it from memory! But I can't figure out yet which line to edit to stop it printing out all that info. If it would just print the orders, that would be fine. But as it is now, I wouldn't even use this mod for my strictly personal use, let alone release it.

So, that's where things stand. I'll probably keep playing at it to see if I can eventually get it to work. Maybe since I've illustrated exactly what I'm trying to do, someone out there can help or advise. Even if it's "Forget it. It can't be done." At least then I wouldn't waste any more time.
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 11:19 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.