cover_motion

Overview

A block that represents the cover-motion. This is a motion which, when played, allows you to change the actual position and rotation of an object itself, i.e. it “pulls” the object into a position defined by animation keys. This block can be used, if an XForm motion is specified in it and the object on which it is used has a rootmover.

Inputs

inProvides the cover-motion.

Outputs

  • N\A

Properties

OptionDescription
Motion
Name

Motion name.

Force Looped
  • none  the information on motion looping is extracted from the motion itself.
  • looped - looped playback of the motion is forced.
  • not_looped – play once (not looped) motion playback is forced.
Force SpeedIf the specified value is greater than 0 (in fact, if greater than 0.001), then it is used as the playback speed for the motion. Otherwise, the speed is extracted from the motion itself.
Inversed

If true, then the motion will be played in reverse. 

Force Frames
First

The specified value defines the starting frame of the motion. 

Last

The specified value defines the final frame of the motion.

Dest
Pos Target

The position of the object from the specified parameter (entity or cover) will be used as a reference position relative to which the motion will be played.

Rot Target

The rotation of the object from the specified parameter (entity or cover) will be used as a reference rotation, relative to which the motion will be played.

Params

Stores a set of flags in the form of two bit masks of 16 bits each and a pointer to a string.

The first bit mask is 0000000000000001. If set, the motion will be pulled toward the point specified by the Pos Target parameter. Otherwise, the motion will use the point as a starting one, having previously blended into it from the current position.

If 0000000000000010 is set, then on the last frame the motion will be pulled exactly into the point indicated by the Pos Target parameter.

If 0000000000000100 is set, the rotation specified by the Rot Target parameter will be ignored.

If 0000000000001000 is set, the direction of the movement is mirrored: 1111111111110000. These bits specify a valid radius beyond which the pulling will not occur.

Second bit mask: 0000000000000001. If set, the X position will be ignored when pulling into a point.

If 0000000000000010 is set, the Y position will be ignored when pulling into a point.

If 0000000000000100 is set, the Z position will be ignored when pulling into a point.

Pointer to a string: stores the bone name of the object specified in the Pos Target parameter.

This bone indicates the offset from the root of the point into which the motion will be pulled (the object specified in Pos Target).

Use Object As DestIf true and Params is not set, this behaves like a set bit 0000000000000001 for the first bit mask.
Get To The Dest PreciselyIf true and Params is not set, this behaves like a set bit 0000000000000010 for the first bit mask.
Freeze TargetIf true, the position and rotation are recalculated once using the Pos Target and Rot Target parameters, then the motion is pulled into a calculated pose. Otherwise, the pose will be recalculated continuously.
Target PoseThe XForm motion is indicated. The pose from the last frames of this motion is used as an additional offset to the pose (obtained from Pos Target and Rot Target) which the motion is pulled into.
Cover Pose

When choosing options, a certain additional offset can be applied to the rotate value extracted from the Rot Target parameter.

  • None  no offset.
  • Back – offset 180 degrees.
  • Sit_left, stand_left, up_left  offset -90 degrees.
  • Sit_right, up_right, stand_right  offset +90 degrees.
Signal
On StartA signal that is issued when the playback of the motion provided by the current block begins.
On StopA signal that is issued when the playback of the motion provided by the current block is interrupted or stopped.

Force Start/Stop On Re-enterIf it’s true, then at the next attempt to play the motion, it will play from the very start.

Shortcuts

  • N/A
On this page:

 


Exodus SDK © 2005-2023, 4A Games Limited. Developed by 4A Games®.
4A Games® is a registered trademark, and 4A Games Limited, Exodus SDK and their respective logos are trademarks of 4A Games Limited.
Published by Deep Silver. Deep Silver is a division of PLAION GmbH, Austria. Deep Silver and Plaion are registered trademarks of PLAION GmbH.
Metro Exodus is inspired by the internationally best-selling novels METRO 2033 and METRO 2034 by Dmitry Glukhovsky.
All other trademarks, logos and copyrights are property of their respective owners. All rights reserved.
By using this site, downloading or using the Exodus SDK or related content, you are agreeing to be bound by the terms of the End User License Agreement.


EULA