![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Weps
![]() Join Date: Feb 2004
Posts: 353
Downloads: 121
Uploads: 4
|
![]()
Ok, now that I am completely sucked back into SHIII after taking a break, I have a few questions about tweaking. /evil grin.
First, in the Sub Commander Randomization file (which is an amazing tool btw)... What I am trying to do is make the Message that I get when I send a Patrol report be random *and* relative to my U-Boat number. For example, in the NYGM 2.2 en_menu.txt the following line is called on when ever I receive a response to my patrol report when I have torpedos remaining: 4197=Acknowledged. Now in the Randomization folder I should be able to add the following to make that line random each time I receive a message I get a diffrent response by doing the following (as per Gouldjg's Hollywood example): [0_data\Menu\en_menu.txt] ChooseFrom=13 RndMidPat=1 0_STRINGS|4197=Message Acknowledged. Excellent Work. 1_STRINGS|4197=Message Acknowledged. Increase Patrol One Grid NORTH. 2_STRINGS|4197=Message Acknowledged. Increase Patrol One Grid SOUTH. 3_STRINGS|4197=Message Acknowledged. Increase Patrol One Grid WEST. 4_STRINGS|4197=Message Acknowledged. Increase Patrol One Grid EAST. 5_STRINGS|4197=Message Acknowledged. REPOSITION ONE GRID NORTH. 6_STRINGS|4197=Message Acknowledged. REPOSITION ONE GRID SOUTH. 7_STRINGS|4197=Message Acknowledged. Good Hunting Kaleun! 8_STRINGS|4197=Message Acknowledged. Keep up the good work Kaleun! 9_STRINGS|4197=Message Acknowledged. Excellent Results. 10_STRINGS|4197=Message Acknowledged. REPOSITION ONE GRID EAST. 11_STRINGS|4197=Message Acknowledged. REPOSITION ONE GRID WEST. What I would like to do is incorporate the U Boat Number I have been assigned so it would read like the following (using one line as an example): 0_STRINGS|4197=Message Acknowledged U-97. Excellent Work. (but have the Uboat number match my boat each time it changes) Is this possible? Thanks in advance, Church Last edited by Church SUBSIM; 11-01-06 at 12:00 PM. |
![]() |
![]() |
![]() |
#2 | |
Seasoned Skipper
![]() Join Date: Jan 2006
Location: South Carolina, CSA
Posts: 684
Downloads: 37
Uploads: 0
|
![]() Quote:
Don't know for sure about the "personalized" U-boat number But you could try : 0_STRINGS|4197=Message Acknowledged. Excellent Work. %s and see what happens. I used Gouldjg's Hollywood example also. I randomised my messages but I had a problem with it working, it finally worked when I changed [0_data\Menu\en_menu.txt] to [MT0:data\Menu\en_menu.txt] If the %s works let me know please. Btw. I believe 4197 is the response you get when you send a Patrol Report that does not include a new sinking. 4198 is the one you get when you report a new sinking.
__________________
![]() GWX 3, JSGME 2.3, Sh3 Commander 3.2 SH3 Gen 8.1, Water Stream for U-boats, LRT LITE 2.0, Lifeboats for SH3 Last edited by Samwolf; 11-01-06 at 01:21 PM. |
|
![]() |
![]() |
![]() |
#3 |
Weps
![]() Join Date: Feb 2004
Posts: 353
Downloads: 121
Uploads: 4
|
![]()
Thanks for the great response.
Like you, I was having problems getting the messages to work at all but have now incorporated you fix. I will see how it goes. I added the %s and will let you know if it works. She is loading right now. One thing that I wanted to ask you .... given the issues with the text in the Hollywood example needing tweaking, do I need to change the 0_ to MT:0 (as an example) for the sensors as well? Once I noticed the text was not working, I could not be sure the sensor randomization was working as well. Any feedback on that? Thanks again, Church ** UPDATE ** Ok, I managed to get the deck officers response to update but not the patrol report responses, so I suspect because they have the %s included in the line, they are defaulting to the original. Will advise once I tweak it again. Last edited by Church SUBSIM; 11-01-06 at 02:02 PM. |
![]() |
![]() |
![]() |
#4 | |
Seasoned Skipper
![]() Join Date: Jan 2006
Location: South Carolina, CSA
Posts: 684
Downloads: 37
Uploads: 0
|
![]() Quote:
Sorry to hear that the %s didn't work, hopefully someone else knows the answer. As for the sensors and effects all I did was make sure that the #_ at the beginning was changed to #: The effects seem to work but I haven't run into any DD's to know if the sensors work I changed my Senors and effects to SE1: SE2: EF1: EF2: etc. The letters don't matter as long as they're unique for each section, I think the : is the important thing.
__________________
![]() GWX 3, JSGME 2.3, Sh3 Commander 3.2 SH3 Gen 8.1, Water Stream for U-boats, LRT LITE 2.0, Lifeboats for SH3 Last edited by Samwolf; 11-01-06 at 02:16 PM. |
|
![]() |
![]() |
![]() |
#5 | |
Weps
![]() Join Date: Feb 2004
Posts: 353
Downloads: 121
Uploads: 4
|
![]() Quote:
Thanks again so much for the help. A perfect example of how great this community is here at Subsim! Church |
|
![]() |
![]() |
![]() |
#6 | |
Seasoned Skipper
![]() Join Date: Jan 2006
Location: South Carolina, CSA
Posts: 684
Downloads: 37
Uploads: 0
|
![]() Quote:
__________________
![]() GWX 3, JSGME 2.3, Sh3 Commander 3.2 SH3 Gen 8.1, Water Stream for U-boats, LRT LITE 2.0, Lifeboats for SH3 |
|
![]() |
![]() |
![]() |
|
|