SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters > DW Mod Workshop
Forget password? Reset here

Reply
 
Thread Tools Search this Thread Display Modes
Old 02-10-06, 02:00 PM   #1
Amizaur
Sonar Guy
 
Join Date: Nov 2002
Location: Poland
Posts: 398
Downloads: 0
Uploads: 0
Default Advanced Torpedo Control Beta

You asked for torpedo depth control... OK, I worked on it few hours, it works as I want and I can't find errors in it anymore, so I think you will test faster and better than me :-) Try it and tell me if it's any good.

Demo version of torpedo doctrine with depth and speed control ready to download and test. Use it rather on plain DW (without LwAmi mod) because it have no features of LwAmi mod - it's just standard DW torpedo doctrine with demo of advanced control mod. If it works, then I can include this changes in LwAmi mod doctrines too.

http://members.chello.pl/m.ostrowski...ControlBet.zip

And the "manual" here, I know it's too long but I wanted to describe really every aspect of mod here, even those that are obvious

Quote:
Advanced Torpedo Control Mod Demo

Torpedo if not touched after launch will behave as before - so after reaching enable range it will go to seaarchdepth and enable in passive or active mode as set.

If you take manual control over torpedo then it works like that:

Click Enable once - torpedo enabled in passive mode, speed set to 40kts, depth NOT CHANGED

click Enable again - torpedo enabled in active mode, speed set to max, depth NOT CHANGED

Click Preenable once - Preenable (when enabled) or nothing (if preenabled)

Click Preenable again - cycle depth between launch ---> search ---> ceiling ---> reset

So second preenable click - depth change from launch to search depth
third preenable click - depth change from Search depth to ceiling
fourth preenable click - depth change from ceiling back to launch depth and counter reset

(so fifth preenable click - cycle starts again with depth set from launch to search depth ect.)

IMPORTANT: there have to be at least one second pause between clicks. If you click fast few times in one second frame, game will notice only one click. So click - wait a second - click - wait a second ect.

P.S. To be more precise, I should write "one game frame" not "one second" pause. The time between two game screen updates can be - sometimes - little longer than a second, so sometimes one second pause could be not enaugh. After click, wait untill game screen refreshes (torpedo position updates) and then you can click next time ect.

If torpedo is actually at depth that would be set, nothing will happen. For example if torpedo was at search depth (you send it there or it enabled after reaching enable range) then first preenable will preenable torp, second preenable do nothing (would set torp to search depth but it's already there), third preenable send to ceiling ect. So not every click will change depth, if you click preenable second time and nothing happens then torpedo is probably on search depth already, just click again to continue to ceiling and ect.

After manual enable it will not go to search depth on it's own anymore to give you full control over it's depth. Of course I could left it as it was - going to search depth after enable, but you couln't change torpedo search depth at all - after enable it would always return to preset search depth.

So now after manual enable torpedo will just start search on it's CURRENT depth, so FIRST set it to depth you want and THEN enable it. This way you can set it to search on any depth you want - launch depth, search depth or ceiling.
To change depth of enabled torpedo, preenable it, change depth with use of Preenable button and enable it again on wanted depth.

I have discovered that by simple change I can give you basic speed control. Change is that after preenable, torpedo speed is NOT reset to preenable speed and torpedo continues run on it's current speed. Passive enable sets torpedo to 40kts, active enable to max speed. So if you preenable the torpedo in passive mode, it will continue on 40kts, if you preenable active torpedo - it will continue on max speed.

So if you want to speed up a slow torpedo, you have to enable it to active mode first (clicking on Enable button twice, with a pause between) and then you may preenable it if you want. Of course it will emit a ping after active enable so rather turn it away from enemy to do that :-).
If you have 55kts torpedo and want to slow it down, preenable it, enable in passive mode (once) so it slows down to 40kts and then preenable again - it will continue on 40kts.

I hope it's all clear, I tried to make my best with my english :-)

This is beta manual so I have tried to describe EVERYTHING here, so please tell me what parts of this "manual" are so obvious that not needed and I will remove them to make it shorter.

Ami
Amizaur is offline   Reply With Quote
Old 02-10-06, 02:48 PM   #2
Molon Labe
Silent Hunter
 
Join Date: Jun 2004
Location: Along the Watchtower
Posts: 3,810
Downloads: 27
Uploads: 5
Default

You're my hero!

But the depth change order I observed was Launch-->Search-->Ceiling, not Launch-->Ceiling--->Search.
__________________
Molon Labe is offline   Reply With Quote
Old 02-10-06, 03:48 PM   #3
Amizaur
Sonar Guy
 
Join Date: Nov 2002
Location: Poland
Posts: 398
Downloads: 0
Uploads: 0
Default

Grrr thay may be error in manual, initially it was launch-ceiling-search and I changed it later to launch-search-ceiling, forgot to change the ReadMe...

Yes, there was complete mess in the ReadMe - there was stated ceiling ---> ceiling in one place :P

Fixing and uploading fixed doc to the zip file.

P.S. Just noticed that the beginning was "You saked for depth control...." Of course I meaned "asked" but I have suspicious that "saked" means something in english oo...? or not ?
Amizaur is offline   Reply With Quote
Old 02-10-06, 07:07 PM   #4
Deathblow
Captain
 
Join Date: Sep 2005
Posts: 518
Downloads: 0
Uploads: 0
Default

Wow this is some impressive modding and ingenuity. Very impressive.
Deathblow is offline   Reply With Quote
Old 02-11-06, 11:07 AM   #5
Bellman
Sea Lord
 
Join Date: Feb 2004
Posts: 1,945
Downloads: 220
Uploads: 0
Default

You're are an Ace Amizaur - thanks a bundle.

I've been out and just spotted your post - RL does get in the way at times.

But I'm about to DL and am really looking forward to this one.

Cheers.
__________________

Liberty, Equality, Fraternity
Bellman is offline   Reply With Quote
Old 02-11-06, 12:00 PM   #6
Bellman
Sea Lord
 
Join Date: Feb 2004
Posts: 1,945
Downloads: 220
Uploads: 0
Default

I could hardly tear myself away from running this great control system.
Just had to come back to say how much I appreciate what you have achieved with this mod -
it really delivers the business. Very creative - great job. :|\

Many thanks.
__________________

Liberty, Equality, Fraternity
Bellman is offline   Reply With Quote
Old 02-11-06, 01:26 PM   #7
Molon Labe
Silent Hunter
 
Join Date: Jun 2004
Location: Along the Watchtower
Posts: 3,810
Downloads: 27
Uploads: 5
Default

Quote:
Originally Posted by Amizaur
Grrr thay may be error in manual, initially it was launch-ceiling-search and I changed it later to launch-search-ceiling, forgot to change the ReadMe...

Yes, there was complete mess in the ReadMe - there was stated ceiling ---> ceiling in one place :P

Fixing and uploading fixed doc to the zip file.

P.S. Just noticed that the beginning was "You saked for depth control...." Of course I meaned "asked" but I have suspicious that "saked" means something in english oo...? or not ?
I don't think it's a word. "Sacked" is though...I think that's what happened to the SW SSN CoC....
__________________
Molon Labe is offline   Reply With Quote
Old 02-14-06, 09:09 AM   #8
Bellman
Sea Lord
 
Join Date: Feb 2004
Posts: 1,945
Downloads: 220
Uploads: 0
Default

Amizaurs new Torp Speed and Depth control Mod is a delight to use. Taking manual control performance
is as outlined and we now have a real golden bullet.

Everything works fine if you step in before the torp activates at RTE range. However I have problems with control
when trying manual speed and depth control after the torp activates. Now this may be down to my technique but
I have followed Amis instructions both with the one sec button selection delay and the order in which
the buttons are pressed.

Here is what I found on four runs of the following proceedure - SW 800 ft Mk 48 Search depth 400 ft Default ceil.
Run out speed 45 knots. RTE 2000 yds** (1 nm) Truth 3D used to observe torps ascend/descend performance.

When the torp reaches RTE it activates but stays at Launch depth.
1st push of Preenable - Torp goes to Search depth.
2nd push of Preenable - No reaction.
3rd push of Preenable - Torp goes to Ceiling depth.
4th push of Preenable - Torp returns to Launch depth.
5th push of Preenable - Torp goes to Search depth.
6th push of Preenable - Torp goes to Ceiling depth.

Now for Speed :-

Speed Reduction:-
At Ceiling depth at 55 knts order 40 by pushing Preenable then Enable then preenable (as per instructions)
torp slows to 40 and dives to Launch depth. This is even though the Prenable button has not been
previously touched in that torps run. Now push Preenable again and torp goes to Search depth. Push it again
and torp goes to Ceiling depth.

Speed increase:-
At ceiling depth at 40 knts. order 55 knts by pushing Enable, then Preenable the torp stays
at the same speed with no depth change.

**Note. I observed this post activation behaviour also at default RTE ranges.
__________________

Liberty, Equality, Fraternity
Bellman is offline   Reply With Quote
Old 02-14-06, 11:12 AM   #9
Amizaur
Sonar Guy
 
Join Date: Nov 2002
Location: Poland
Posts: 398
Downloads: 0
Uploads: 0
Default

Thanx, will check it, they may be indeed some non planned thing happening if torpedo reach RTE range and then you try to take control, have to look at code what happens then.... :hmm: Will check the rest of things you observed too, as I said it's a demo only and in beta stage :-)

P.S. Yes there was command missing sending enabled weapon to proper depth.
Amizaur is offline   Reply With Quote
Old 02-14-06, 04:05 PM   #10
Amizaur
Sonar Guy
 
Join Date: Nov 2002
Location: Poland
Posts: 398
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Bellman

Everything works fine if you step in before the torp activates at RTE range. However I have problems with control
and this is exactly what I counted on ;-) that you'll help me find bugs in this rountines

Quote:
Now this may be down to my technique but
I have followed Amis instructions both with the one sec button selection delay and the order in which
the buttons are pressed.
I should write not "one second" but "one game frame" instead. It's sometime a little longer than a second. Just click once, and wait untill next game cycle (for example torpedo enables going red in case of enable). Then you can click next time. It usually takes about second and it's easily visible that something moved on the screen and game's clock "ticked"

Quote:
When the torp reaches RTE it activates but stays at Launch depth.
1st push of Preenable - Torp goes to Search depth.
There was missing command in fact, fixed !

Quote:
Speed Reduction:-
At Ceiling depth at 55 knts order 40 by pushing Preenable then Enable then preenable (as per instructions)
torp slows to 40 and dives to Launch depth.
Can't recreate this. Have 55kts torp at ceiling and after slowing down with enable/preenable it stays on ceiling. I would say that you waited too short after enable, but then torpedo wouldn't slow down to 40kts... if it slowed down then it was in fact enabled. anyway I can't recreate this, could you confirm this and post exact steps to reproduce from the point torpedo is in the tube ?

Quote:
Speed increase:-
At ceiling depth at 40 knts. order 55 knts by pushing Enable, then Preenable the torp stays
at the same speed with no depth change.
To order 55kts you have to enable torp in active mode, so use enable button twice (with one game frame between), not once. I have to update the readme to mention that. You remember - first enable is always passive, 40kts, only second is active 55kts. So to speed up, enable in active, then preenable.
Amizaur is offline   Reply With Quote
Old 02-15-06, 03:22 AM   #11
Bellman
Sea Lord
 
Join Date: Feb 2004
Posts: 1,945
Downloads: 220
Uploads: 0
Default

OK Ami I have retested with details below.

Main findings excluding activation depth:
1. Confirm speed reduction proceedure of your last post is OK
2. Speed increase works as you describe also - needs reame update.
3. After this proceedure Depth changes are out of sequence.

DW 1.03 (No additions) SW at depth etc as before.
You asked for detailed proceedures followed:
Mk 48 launched at 800 ft and self activated at RTE

Depth changes:
Torp at Launch depth.
1st. Pre - goes to Search
2nd. Pre - No change.
3rd. Pre - goes to Ceil. at 55 knts (Non active)

1. Speed reduction:
1st. Enable - goes to 40 knts (Active)
Push Pre (Non Active) NB. 4th Pre -Could this affect later problem ?
OK so now we are at Ceil Non Act at 40 knots lets speed up.

2. Speed Increase:
1st Enable - still 40 (Active)
2nd. Enable - goes to 55 knts. (Active)
Push Pre - goes Non Active. (Cumulative of Pres now 5th)
At Ceil then 55 knts NON Active lets dive -

3.Depth Change:
Push Pre - dives to Search (Cumulative 6th)
Push Pre - climbs to Ceil ( C=7th)
Push Pre - dives to Launch. (C=8th)
Push Pre - climbs to Search. (C=9th)
Push Pre - climbs to Ceil.

Wonder with the Pres whether the cumulative /reset is interfering ?
__________________

Liberty, Equality, Fraternity
Bellman is offline   Reply With Quote
Old 02-16-06, 04:53 PM   #12
Molon Labe
Silent Hunter
 
Join Date: Jun 2004
Location: Along the Watchtower
Posts: 3,810
Downloads: 27
Uploads: 5
Default

Does this torpedo.txt doctrine file include the updated doctrine that was released as a supplement to LW/Ami 3.0B?
__________________
Molon Labe is offline   Reply With Quote
Old 02-17-06, 12:13 AM   #13
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default

I told amizaur about the problem, and I think he started making the same changes or something similiar for all his doctrines.
__________________
LW
LuftWolf is offline   Reply With Quote
Old 02-17-06, 09:23 AM   #14
Molon Labe
Silent Hunter
 
Join Date: Jun 2004
Location: Along the Watchtower
Posts: 3,810
Downloads: 27
Uploads: 5
Default

I'm a little concerned that the torp mod might be effecting non wire-guided torps.

Yesterday, I was playing in the FFG with LW/Ami 3.0B and the torp mod over it; I was firing SVTT torps set to search at 800 feet, and they were doing their search patterns on the surface.

I also had a Mk54 travel 10nm to hit a Victor, but I think this is game-engine related.
__________________
Molon Labe is offline   Reply With Quote
Old 02-17-06, 09:41 AM   #15
Bellman
Sea Lord
 
Join Date: Feb 2004
Posts: 1,945
Downloads: 220
Uploads: 0
Default

ML:
Quote:
I'm a little concerned that the torp mod might be effecting non wire-guided torps.
Yesterday, I was playing in the FFG with LW/Ami 3.0B and the torp mod over it;
Amizaurs ReadMe:
Quote:
Use it rather on plain DW (without LwAmi mod) because it have no features of LwAmi mod.
:hmm:
__________________

Liberty, Equality, Fraternity
Bellman is offline   Reply With Quote
Reply


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 10:17 PM.


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