When you need to set up a scenario and precisely define the behavior of each participant, you need a tool that allows such freedom. Most of the tools on the market provide predefined tasks and doctrines that cannot be changed. It can be very sexy with stunning 3D output but beyond the game aspect you won’t get what you needed.
With vsTASKER, you have the ability to build your scenario the way you want. You define graphically your own doctrines based on state-machine like logics. You attach behaviors and sensors to your entities. You populate the gaming area. You specify what to do upon communications, detections, signals, whatever events which occur during the simulation and you quickly get a realistic virtual battlefield up an running.
Three fleets of ships are defined. Two for the red force and one for the white. In the white fleet, only one ship (Kunming) has a logic, a radar and a sonar.
The two most important items of this logic are Send_UAV and Send2Pos which directs the drone to the computed position. Send_UAV consider an area and not individual detections.
White and red jet fighters are created by air force bases upon reception of a threat by Kunming frigate (for white forces) or Yaoshan radar. All airports share the same logic.
White jets have their prime mission to destroyed a given red ship. The red jets have for mission to fight and kill a specific white jet. Dogfight will be triggered when both are in visual range.
UAV are sent by white frigate Kunming upon detection of red vessels on an area not covered by another UAV. Once launched, the drone will head towards the area and start randomly patrolling over the region. Whatever is detected by its sensor is forwarded to ship Kunming. As soon as fuel is low, the drone will return to its ship.
One radar has been put at the top of a mountain range, to cover the strait without shadow. The Yaoshan logic is fairly simple:
- Record: extract from all detections any new valid threats
- CallAF: select air bases and forward all new threats
Two submarines are stationned on coastal harbors and can receive the AttackBlue event from Yaoshan radar (see image above). When requested, they will navigate in the strait and rely on their sonar to detect enemy ships. Use of torpedoes to destroy targeted ships.