SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   DW Mod Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=196)
-   -   Advanced Torpedo Control Beta (https://www.subsim.com/radioroom/showthread.php?t=89340)

Amizaur 02-10-06 02:00 PM

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


Molon Labe 02-10-06 02:48 PM

You're my hero!

But the depth change order I observed was Launch-->Search-->Ceiling, not Launch-->Ceiling--->Search.

Amizaur 02-10-06 03:48 PM

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...." :-j Of course I meaned "asked" but I have suspicious that "saked" means something in english oo...? or not ? :)

Deathblow 02-10-06 07:07 PM

Wow this is some impressive modding and ingenuity. :yep: :rock: Very impressive.

Bellman 02-11-06 11:07 AM

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

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

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

Cheers.

Bellman 02-11-06 12:00 PM

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. :D

Molon Labe 02-11-06 01:26 PM

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...." :-j 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....

Bellman 02-14-06 09:09 AM

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.

Amizaur 02-14-06 11:12 AM

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 02-14-06 04:05 PM

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 ! :up:

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.

Bellman 02-15-06 03:22 AM

:) 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 ?

Molon Labe 02-16-06 04:53 PM

Does this torpedo.txt doctrine file include the updated doctrine that was released as a supplement to LW/Ami 3.0B?

LuftWolf 02-17-06 12:13 AM

I told amizaur about the problem, and I think he started making the same changes or something similiar for all his doctrines.

Molon Labe 02-17-06 09:23 AM

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. :doh:

Bellman 02-17-06 09:41 AM

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:


All times are GMT -5. The time now is 06:36 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.