|
VR-Engage
2.3
|
This page covers VR-Engage component descriptors and ammunition parameters. Update C++ descriptor access and the matching system definitions together.
vreRotaryWingActuatorDescriptor.h no longer exposes DtVreRotaryWingActuatorDescriptor::reverseCollective() const or setReverseCollective(bool). Remove calls and custom overrides of those accessors. The descriptor no longer stores myReverseCollective; review custom collective input mapping rather than relying on that flag. Remove reverse-collective from custom system definitions.
DtVreRotaryWingActuatorDescriptor changes its default PID settings. The p-gain default is now 0.08 (was 0), and d-gain is 0.03 (was 0). pid-output-filter now defaults to 0.25 (was 0.1); pid-ramp-rate to 0.06 (was 0.1); and pid-max-i-output to 0.05 (was 0). Set explicit values in custom system definitions when the previous tuning is required.
vreAmmunitionParams.h no longer declares DtVreAmmunitionParams::getData(DtlObjPtr, const DtReaderWriter::SearchPaths&, const DtVariableBindingsList&). The class retains its createAmmunitionTableEntry() const override. Code that explicitly calls the derived getData() implementation must use the inherited base reader instead. Keep VRE-specific entry creation when customizing ammunition loading.
vreQuadCopterActuatorDescriptor.h adds DtVreQuadCopterActuatorDescriptor with descriptor type "vre-quadcopter-actuator-descriptor". Its accessors include setMaxTiltRad(double), setHorizontalAcceleration(double), setMaxHorizontalSpeed(double), setFlightTimeMinutes(double), and corresponding getters. Use this descriptor with the actuator in vreVrfmodel Library API Changes when configuring quadcopter behavior.
vreWeaponControllerDescriptor.h adds bool hasTargetingModes() const and void setHasTargetingModes(bool). The system-definition parameter is has-targeting-modes and defaults to false.
artPartActuatorDescriptor.h adds DtVreStabilizedArtPartActuatorDescriptor::amCueMaster() const and setAmCueMaster(bool). Set the cue-master parameter on the articulated part that owns the stabilization cue; its default is false.