WSF_P6DOF_EXPLICIT_WEAPON

weapon WSF_P6DOF_EXPLICIT_WEAPON

Script Class: WsfWeapon

weapon <name> WSF_P6DOF_EXPLICIT_WEAPON
   ... Platform Part Commands ...
   ... Articulated Part Commands ...
   ... WSF_EXPLICIT_WEAPON Commands ...

   add_subobject ...

end_weapon

Overview

WSF_P6DOF_EXPLICIT_WEAPON is derived from WSF_EXPLICIT_WEAPON and represents a weapon that is modeled as an independent platform when it is fired.

The purpose of WSF_P6DOF_EXPLICIT_WEAPON is to allow a platform equipped with a WSF_P6DOF_MOVER to launch/jettison its P6DOF subobjects as weapons. This means that the mover will have been modeling any aerodynamic, propulsion, and/or mass effects from the subobject (such as weight and drag) prior to launch, and will then cease doing so as the subobject is launched/fired. This means a realistic reduction in performance due to carrying weapons is properly modeled by the WSF_P6DOF_MOVER. In addition, the relative location and orientation of the weapon relative to the parent vehicle is automatically specified within the definition of the p6dof_object_type. Since the subobject will have its own independent platform when it is fired, it is an explicit weapon. Any separation velocity and/or angular rates are specified in the parent P6DOF object.

Commands

add_subobject <string>

Specifies the base name of a subobject on the WSF_P6DOF_MOVER that will be launched/fired. Each individual subobject supported by the weapon (launcher) requires its own add_subobject command line. Each subobject must have a unique name. The subobject weapons will be launched in the order they are listed. Note that the launched platform type associated with the subobject is specified using the definition contained in the P6DOF platform mappings.

Default: No default. Must be specified.

Ignored Commands

The following commands are ignored and if used, will result in a warning: