Показать сообщение отдельно
Старый 18-11-2023, 08:58   #3350
seadog0514
seadog
 
Регистрация: Aug 2016
Адрес: China
Сообщений: 95
Цитата:
Сообщение от CrazyIvan Посмотреть сообщение
To: seadog0514

It is quite possible to write this code in the weaponDLL platforms themselves.
Why complicate things so much?
At the moment, I don't see any point in this.
Just like, for example, calculating fuel consumptionand speed at depth with gas turbine torpedoes.
In principle, this phenomenon does exist, but for theneeds of this simulator, I consider it overkill.

From the description of the operation of torpedoes capableof being controlled by wire:
Some explanations regarding wired control:

When first wire-guided interface opened, depth andspeed will always be set to 000 value.
Next,for example - the first device (from tube #1)after launch, was set player to a speed of 10 knots and a depth of 300 meters.
When the second device is started (from tube #2 orothers), when you open the wired interface, it will be set to the initial datathat you entered for the first device: 10 knots and a depth of 300 meters.
This will not affect the movement parameters of thesecond device (device use ordered depth and speed setting at preset panelbefore launch) in any way, until you change these orders again.
When the new motion parameters are entered, they willbe applied to the device for which you opened the wired control interface.

However, it is possible to avoid some confusion inthese parameters.
After you enter the new movement parameters and thedevice receives them [you can choose a wire-guided device at the weapon controlstation (or on the navigation map) and go to the navigation map. On the DDIdisplay, monitor the change in the behavior of the mobile decoy, torpedo orUUV], you can set the speed and depth values to 000. New zero parametersordered, will not affected for earlyordered moving parameters. In whole, we can say this - the introduction of"zero" values, does not send these parameters into the wire-guideddevice.

It should be noted such a moment - some torpedoes(such as for example the TEST-71 series,A 183, etc) have only two speed modes. Minimumspeed and maximum.
If you set the speed in the range of 1-26 knots, thenthe torpedo will take into account the minimum speed setting - 26 knots.
Setting a speed above 26 knots (minimal speed) willassign the torpedo its maximum speed: 40 knots.

More advanced torpedoes (ADCAP,UGST etc) provide theability to set the any values between the minimum and maximum speed.

Also, it is worth recalling the search mode: when thetorpedo is sensor is enabled,the search speed of the torpedo will be assignedthe same as it was entered before the launch of the torpedo at PRESET panel. Insearch mode - changing wire speed and depth will have no effect.

When the wire runs out on the coil and breaks, thesensor on the torpedo will be automatically turned on (if the sensor was notturned on previously), and the torpedo will go into search mode.

When the wire breaks, the muzzle of the tube closes. Inorder to return the tube to its normal state, the player must open the muzzleagain, then close it, and reset the E and F buttons.
Device RNGnmi Wire nmi

A 184 13,5 10
A 184 M3 18 15
ADCAP 27 16
Black Shark 27 27
DM 2A4 30 27
F 17 10,8 10,8
MG-74 30 13,5
MG-74 ALFA 25 13,5
MK 37 MOD 1 8,9 5
MK 37C 19,4 10
Mk 48 MOD 1 21 10
Mk 48 MOD 4 27 16
Mobile Cm Chinа 30 10
Mobile Cm Ghost 40,5 32,4
MOSS Mk 70 30 16
Spearfish 30 16
TEST-71 13,5 13,5
Tigerfish 14,8 10
TYPE 89 21 10
UGST 21,6 13,5
UUV 4 4
Yu-6 24,3 15

PS: Sorry, tabulation in the table is obviously not supported by site.


hi:
I have some programming experience, but not familiar with DLL, can you please give some instructions on how to implement this own-sub speed limit while wire-guiding a torpedo?

take the Ruassia UGST as an example.
1. which file(or files) I should edit?
2. How to update the file? what language should we use to update the code?
3. after updating or adding some new logic, how to apply this new file?
seadog0514 вне форума   Ответить с цитированием