Hi!
We shall make complete alteration job of torpedos.
Principle on which we build job of torpedos - real presence of contact on a sensor control at a torpedo.
In the original version of game, the final stage of job of a torpedo, is based on cheat a command TERMINAL_HOME.
I shall explain as it incorrectly works.
For example - the torpedo searches in a passive mode.
The player, establishes high speed, and makes cavitation. After that, the torpedo can hear a submarine and begin a stage of an attack.
What the player can undertake? To reduce speed - to remove cavitation. Or even completely to stop a boat in 0 knots - to hide from a passive torpedo.
But under the original version - even when the player will lower speed and really torpedo will not hear any more Sub Player - torpedo will carry out all the same stage of an attack!
The command gives the terminal home, coordinate of a submarine of the player for a torpedo, though the sensor control of a torpedo any more does not hear a Sub! It works the expendable trigger - he has slammed on the Sub Target, and the Target will not lose any more.
We reconstruct job of torpedo sensor controls so that the prompting of a torpedo was carried out only directly from a sensor control. We check age of the Target on a sensor control at a torpedo.
The active sensor control of a torpedo makes one ping per 5 seconds.
When the target is found out, its age begins Is increased. 0--->1 --- > 2 --- > 3 ---- > 4 ----- > 5 ----- > 0 etc.etc
The age reaches 5 seconds - following ping does age again to zero.
Hence, the age of the "alive" Target, can not be more than 5 of seconds.
If age of the target to become it is more than 5 seconds - the torpedo means has lost contact.
It is similar, how the age on the display DDI - is broadcast when the target is lost that age is increased. If the contact IS NOT LOST that age of the target always 0 or is updated with periodicity of job of a sensor control.
Algorithm on recognition CMs, and performance of function reattack of torpedos, capable to this also takes root.
It is necessary to say, is what is it planned thus - if the torpedo catches CM on the large distance, she can not determine yet - what is it false target. And the cruise of a torpedo on CM will proceed so long, as the force of a signal of a CM will not exceed the certain threshold.
In other words, it is possible so to designate it - than closer torpedo to CM, the more probability that the torpedo will not attack a CM.
And on the contrary - if the torpedo finds out CM from the large distance, the more probability that the torpedo will be induced on this CM - while she does not distinguish her on the increased force of a signal.
It is a wise part of job of the weapon and is very difficult for coding in the doctrines.
Cheers!
|