![]() |
VR-Forces Development_Version Class Documentation
|
The new Fire At Target task, which replaces Set Fire Now, required a variety of changes to entity components and interfaces.
The target selection controller (TSC) now communicates with weapon systems through the Weapon Component Interface. Each of the following controllers has a DtWeaponControllerInterface member, which is cached by the TSC:
Targets are sent from the TSC to the weapon system through the weapon component interface. The weapon and task (in the case of the Fire At Target task) state is sent back to the TSC.
The target selection controller now Derives from DtSingleTaskControllerComponent, so it can process DtFireAtTargetTasks. It now uses DtComponentDescriptor because it does not contain the target-priorities any longer. It responds to weapon list requests from the GUI.
The target selection controller no longer contains target priorities. These are defined in the weapon systems and the TSC gets them through the weapon component interface. The TSC now performs permission to fire checks.
The ports the TSC used to use to communicate to weapons are gone. It still communicates with the sensors through ports.
Communication between TSC and turreted weapons now goes through the weapon interface, to the weapon controller - the weapon controller sends the target info to the turret, rather than the turret sending it to the weapon controller.
DtIntegratedLaserGuidedLauncherController is a subclass of the DtLaserGuidedLauncher. It contains 2 new data members:
If this controller is given a new target while it already has a missile in the air, it will ignore the new target and keep its laser designator on the old target until the missile is removed. Then it will go back to processing targets as usual.
The lasing controller now has a concept of being “integrated” with a launcher. Whether or not it is integrated determines how it gets target input, as follows:
Permission to fire is now handled in the TSC, instead of within the individual weapon controllers.
The OPD Editor no longer adds connections between target selection controllers and weapon systems.
DtSimComponent has a componentFullName for getting the fully qualified name (unique name) for a component.
In the GUI, DtWeaponListRequestor requests a weapon list from the selected entity when the Fire At Target task dialog is opened. It caches the results.
[<< VR-Forces 4.0.3 to 4.0.4 Simulation Model Set Changes] [Home] [Top of Page] [VR-Forces 4.0.4 to 4.1 API Changes]