#include <vlutil/vlPrint.h>
#include <vlpi/disEnums.h>
#include <vrfExtProtocol/objTypeEnums.h>
#include "vrfobjparam/pathMoveDesc.h"
{
}
{
}
{
"tank-platoon-param");
DtObjectTypePseudoAggregate,
DtAggregateKindMilitaryHierarchy,
DtPlatformDomainLand,
-1,
DtAggregateCategoryPlatoon,
-1,
-1,
-1);
return parameters;
}
{
formationControllerDesc.init();
formationControllerDesc.setComponentType("aggregate-formation-controller");
"move-into-formation-controller");
moveIntoFormationDescriptor.setComponentType("aggregate-move-into-formation-controller");
moveIntoFormationDescriptor.setStopMovingUponArrival(true);
moveIntoFormationDescriptor.setTurnToHeadingUponArrival(true);
turnToHeadingControllerDesc.setComponentType("aggregate-turn-to-heading-controller");
moveToControllerDesc.setComponentType("aggregate-move-to-controller");
moveToLocationControllerDesc.setComponentType("aggregate-move-to-location-controller");
patrolBetweenControllerDesc.setComponentType("aggregate-patrol-between-controller");
patrolAlongControllerDesc.setComponentType("aggregate-patrol-along-controller");
moveAlongControllerDesc.setComponentType("aggregate-move-along-controller");
moveAlongControllerDesc.setCatchUpFactor(1.5);
moveAlongControllerDesc.setSlowDownFactor(0.1);
moveAlongControllerDesc.setInPositionTolerance(0.2);
moveAlongControllerDesc.setEvaluationInterval(1.0);
moveAlongControllerDesc.setGenerateRoutesWithRoundedCorners(true);
moveAlongControllerDesc.setVertexSpacingAlongRoundedCorners(20.0);
DtPathMovementControllerDescriptor pathMovementControllerDesc("path-movement");
pathMovementControllerDesc.setComponentType("path-movement-controller");
setControllerDesc.setComponentType("pseudo-aggregate-set-controller");
organizationControllerDesc.setComponentType("pseudo-aggregate-organization-controller");
waitControllerDesc.setComponentType("pseudo-aggregate-wait-controller");
aggregateActuator.setComponentType("aggregate-actuator");
damageActuatorDesc.setComponentType("pseudo-aggregate-damage-actuator");
}
{
sub1.setObjectType(DtObjectType(1, 1, 1, 225, 1, 1, 3, 0));
sub1.setPositionOffset(
DtVector(0.0, 0.0, 0.0));
sub1.setHeadingOffset(0.0);
sub2.setObjectType(DtObjectType(1, 1, 1, 225, 1, 1, 3, 0));
sub2.setPositionOffset(
DtVector(-20.0, -20.0, 0.0));
sub2.setHeadingOffset(0.0);
sub3.setObjectType(DtObjectType(1, 1, 1, 225, 1, 1, 3, 0));
sub3.setPositionOffset(
DtVector(-40.0, -40.0, 0.0));
sub3.setHeadingOffset(0.0);
sub4.setObjectType(DtObjectType(1, 1, 1, 225, 1, 1, 3, 0));
sub4.setPositionOffset(
DtVector(-20.0, 20.0, 0.0));
sub4.setHeadingOffset(0.0);
subordinates.addSubObjectEntry(sub1);
subordinates.addSubObjectEntry(sub2);
subordinates.addSubObjectEntry(sub3);
subordinates.addSubObjectEntry(sub4);
}
{
remoteVrfSubComponentTypes();
}