| View previous topic :: View next topic |
| Author |
Message |
timetraveller
Joined: 23 Dec 2004 Posts: 967 Location: Atlantic Shipping Lanes
|
Posted: Thu Mar 31, 2005 3:15 am Post subject: Add confirmation messages to hydrophone tasks |
|
|
I was bugged that I never got a log confirmation when clicking the "Follow nearest sound contact" or "Normal sweep" when running the hydrophone. Sooo, I added confirmation messages which will show up in the message log. You can too.
Message definition strings are kept in the data\Menu\en_menu.txt file (English version). We're going to add these two new ones:
;new strings
4950=Following nearest contact!
4951=Normal sweep!
to the end of the Sonar area in this file.
Here's the Sonar area as it looks now. Add the new strings (4950 and 4951) to the end of the Sonar area. Resave the file.
;Sonar
4900=Sweeping!
4901=Sweeping ahead!
4902=Sweeping ahead port!
4903=Sweeping ahead starboard!
4904=Sweeping abeam port!
4905=Sweeping abeam starboard!
4906=Sweeping astern!
4907=Sweeping astern port!
4908=Sweeping astern starboard!
4909=Sonar is off!
4910=Ship sinking!
4911=Ship breaking up!
4912=Nearest sonar contact at bearing %03.0f degrees!
4913=No sonar contact!
4914=No target selected!
4915=Range to target is %d!
;new strings
4950=Following nearest contact!
4951=Normal sweep!
Now we need to update the command file to reference the new strings. Open up data\Cfg\Command_en.cfg (English version) and look down at the very bottom for these two commands. Add the two Str= values as I've shown here.
[Cmd483]
Name=Hydrophone_normal_sweep
Ctxt=1
MnID=0x3F270002
Str=4951
[Cmd484]
Name=Follow_nearest_sound_contact
Ctxt=1
MnID=0x3F270003
Str=4950
Now those two hydrophone commands will have confirmation messages! Yippee!! All ahead flank!!!
-timetraveller
Last edited by timetraveller on Thu Mar 31, 2005 11:38 am; edited 2 times in total |
|
| Back to top |
|
 |
poopdeck
Joined: 15 Mar 2005 Posts: 218
|
Posted: Thu Mar 31, 2005 3:17 am Post subject: |
|
|
Agh, much goodness, thanks!!!!
OH! And one little update to your post...
data\Command_en.cfg
-- should be --
data\cfg\Command_en.cfg
Thanks!!! |
|
| Back to top |
|
 |
Church SUBSIM
Joined: 19 Feb 2004 Posts: 257
|
Posted: Thu Mar 31, 2005 3:41 am Post subject: |
|
|
bows to timetraveller!
Excellent find! |
|
| Back to top |
|
 |
jmr
Joined: 24 Sep 2004 Posts: 296
|
Posted: Thu Mar 31, 2005 4:32 am Post subject: |
|
|
| But does the sonarman actually carry out the commands? |
|
| Back to top |
|
 |
Sniper_1
Joined: 01 Dec 2003 Posts: 277 Location: Dublin, Ireland
|
Posted: Thu Mar 31, 2005 4:56 am Post subject: |
|
|
I guess a few games should answer that question :doh: . BTW there is another thread where it says you should modify the sensors.cfg file for Hydrophone. I think the last line refers to radar rather than hydrophones and may be an explanation for the silence of the sonaramn.
Sniper_1. |
|
| Back to top |
|
 |
jmr
Joined: 24 Sep 2004 Posts: 296
|
Posted: Thu Mar 31, 2005 5:11 am Post subject: |
|
|
| Yeah I caught that thread and made the appropriate changes but I need to do more testing. |
|
| Back to top |
|
 |
timetraveller
Joined: 23 Dec 2004 Posts: 967 Location: Atlantic Shipping Lanes
|
Posted: Thu Mar 31, 2005 11:40 am Post subject: |
|
|
| poopdeck wrote: | Agh, much goodness, thanks!!!!
OH! And one little update to your post...
data\Command_en.cfg
-- should be --
data\cfg\Command_en.cfg
Thanks!!! |
Thanks for the heads up poopdeck. Fixed.
-timetraveller |
|
| Back to top |
|
 |
timetraveller
Joined: 23 Dec 2004 Posts: 967 Location: Atlantic Shipping Lanes
|
Posted: Thu Mar 31, 2005 11:50 am Post subject: |
|
|
| jmr wrote: | | But does the sonarman actually carry out the commands? |
In the game code they lump the hydrophone message strings in with the sonar strings. It's the same guy sitting at the station.
Another thing which still seems to be open for discussion are the "estimate contact range" and "get precise range" commands. Some think they should not be used because they believe them to be active sonar pings. I disagree. I believe the hydrophone sound level is being used to "calculate" the ranges (in an imaginary way of course). I have yet to use either of these functions and get detected, that I can remember. I don't think an active sonar ping is being done, like when you hit the sonar button at the bottom left of the hydrophone. It was true in WW2 that a good hydrophone man could estimate ship range pretty well by the volume of the sound he was hearing. I guess we'll see in time which is correct.
-timetraveller |
|
| Back to top |
|
 |
Jace11
Joined: 16 Mar 2005 Posts: 1091
|
Posted: Fri Apr 01, 2005 11:53 pm Post subject: |
|
|
| Sniper_1 wrote: | I guess a few games should answer that question :doh: . BTW there is another thread where it says you should modify the sensors.cfg file for Hydrophone. I think the last line refers to radar rather than hydrophones and may be an explanation for the silence of the sonaramn.
Sniper_1. |
I changed it to hydrophone experiance = true, and my sonar was pretty rubbish close targets were not being picked up by "report nearest contact", I put it to false and it still seems a bit poor but better. |
|
| Back to top |
|
 |
Shockwave74
Joined: 30 Mar 2005 Posts: 229
|
Posted: Sat Apr 02, 2005 11:53 pm Post subject: Re: Add confirmation messages to hydrophone tasks |
|
|
TT since ure there, why don't u also add the W key to confirm the closing of firing tubes?
Big job man!  |
|
| Back to top |
|
 |
timetraveller
Joined: 23 Dec 2004 Posts: 967 Location: Atlantic Shipping Lanes
|
Posted: Sun Apr 03, 2005 12:06 am Post subject: Re: Add confirmation messages to hydrophone tasks |
|
|
| Shockwave74 wrote: | TT since ure there, why don't u also add the W key to confirm the closing of firing tubes?
Big job man!  |
Gonna test that one next big guy!!
-timetraveller |
|
| Back to top |
|
 |
MONOLITH
Joined: 22 Nov 2002 Posts: 524
|
Posted: Sun Apr 03, 2005 12:23 am Post subject: |
|
|
This is what I would really like to see;
I turn map updates off, because I want to be able to plot the map myself, I don't believe the sonarman can reach it with his pencil.
But, I still want the sonarman to follow the target of my choice, and every minute or so, report to me the bearing and range so I can mark it on the map.
It appears we have the commands to ask for this, but it doesn't seem to happen. At least not correctly all the time.
I'm going to try a few things again. Tell me if this scenario should work...
I manually take over the hydrophone, find that pesky escort, and click the sonar notepad. Now I leave the sonar room, and go to the map.
If I click 'estimate range to target', he should give me an update on the escort, right?
What's missing is, he won't update the bearing, so I have no idea where the escort went. 'Follow nearest target' doesn't work because he might choose a different ship than the escort.
So it seems what we really need is a bearing report added to the 'estimate range to target'.
Than the guy would be properly updating me on a specific ship so I could plot the map.
You guys agree?
Am I missing anything? |
|
| Back to top |
|
 |
akdavis
Joined: 24 Mar 2005 Posts: 171 Location: Fort Worth, Texas
|
Posted: Sun Apr 03, 2005 1:08 am Post subject: |
|
|
| timetraveller wrote: | | jmr wrote: | | But does the sonarman actually carry out the commands? |
In the game code they lump the hydrophone message strings in with the sonar strings. It's the same guy sitting at the station.
Another thing which still seems to be open for discussion are the "estimate contact range" and "get precise range" commands. Some think they should not be used because they believe them to be active sonar pings. I disagree. I believe the hydrophone sound level is being used to "calculate" the ranges (in an imaginary way of course). |
No, and this is why those two commands are not under the hydrophone command menu, but under the sonar command menu. You already get an estimated range for hydrophone contacts (far, close, etc.). There is no way in the world an exact range of say 5477m could be determined by hydrophone. As far as estimated range, that's just a randomly selected number within a range, else it would be an estimate rounded to the nearest hundred or five hundred meters.
Whether these commands are actually emitting unheard pings that the AI might home in on is unknown.
Don't let the fact that these commands work on boats without sonar equipment fool you. That is just another bug in a part of the game that was shipped unfinished (thus the missing messages, illogical functioning, unused functions, lack of response to commands, lack of results from commands, lack of sounds, unfinished 3D stations, etc.) |
|
| Back to top |
|
 |
U-Schultz
Joined: 28 Mar 2005 Posts: 174 Location: North Atlantic
|
Posted: Sun Apr 03, 2005 1:42 pm Post subject: |
|
|
The instructions seem simple enough but its not working for me.
Did this work for everyone? |
|
| Back to top |
|
 |
timetraveller
Joined: 23 Dec 2004 Posts: 967 Location: Atlantic Shipping Lanes
|
Posted: Sun Apr 03, 2005 2:59 pm Post subject: |
|
|
| akdavis wrote: | | timetraveller wrote: | | jmr wrote: | | But does the sonarman actually carry out the commands? |
In the game code they lump the hydrophone message strings in with the sonar strings. It's the same guy sitting at the station.
Another thing which still seems to be open for discussion are the "estimate contact range" and "get precise range" commands. Some think they should not be used because they believe them to be active sonar pings. I disagree. I believe the hydrophone sound level is being used to "calculate" the ranges (in an imaginary way of course). |
No, and this is why those two commands are not under the hydrophone command menu, but under the sonar command menu. You already get an estimated range for hydrophone contacts (far, close, etc.). There is no way in the world an exact range of say 5477m could be determined by hydrophone. As far as estimated range, that's just a randomly selected number within a range, else it would be an estimate rounded to the nearest hundred or five hundred meters.
Whether these commands are actually emitting unheard pings that the AI might home in on is unknown.
Don't let the fact that these commands work on boats without sonar equipment fool you. That is just another bug in a part of the game that was shipped unfinished (thus the missing messages, illogical functioning, unused functions, lack of response to commands, lack of results from commands, lack of sounds, unfinished 3D stations, etc.) |
It's hard to say what the devs intended. I do agree that since the two commands are not on the hydrophne menu that they seem to belong to the sonar man (active sonar). Yes, obviously a hydrophone man could not tell range accuracy like is being reported. However, no audible sonar ping is emitted either. That was either an oversight or a rush to get the product out the door. I'm still up in the air about it. I need to do some more testing when I have the time to see if I ever get detected by enquiring range. I haven't so far. Maybe a bug. Hopefully patch 1.2 will reveal their true intentions.
-timetraveller |
|
| Back to top |
|
 |
|