Quote:
Originally Posted by gap
If an unit can detect more than one target with its sensor, how will it decide which one to attack? The closest one maybe? Any idea?
|
The one with the highest signal strength (not necessarily the closest one either)
Quote:
Originally Posted by gap
On an unrelated note: there's something I always wanted to ask you, but I never did. Let's say that (while using your ship radio patch) our u-boat is detected by a radio-equipped unit, and that it calls in for reinforcements. I already know that assisting units, on turn, must have fuctional radio equipment and they must be within a "Lost contact" travel time (at their max speed) for them to react. But what if there is an airfield/carrier in the vicinity? Do aircraft spawn from them based on "lost contact time", or rather they max range is taken into account (or both of them)?
|
My patch says if unit detects contact then set the check airstrike timer to 1 (thus will cause check for airstrikes on next game loop iteration). When the game checks for airstrikes it will iterate over all the game units and if any game unit has the current game unit as a contact then the game will see if it can launch an airstrike on that game unit. So the game takes the max range of the airbase or carrier into account.