NN_motion

Overview

A block that represents a motion based on a neural network (NN). Includes all movements related to walking, running, turns, face-heel turns, etc. for an NPC, both in free and danger states. For walking in free states, there are 2 walk options that the NPC may switch to using the "actions/npc/nn state" VS block.

Inputs

in

The block will use a pose from the motion for further calculations.

Outputs

  • N/A

Properties

There are no customizable properties in the block itself. Only the settings common to all NPCs in the field of motion variability can be configured (npc.lua file). The main idea here is that a little noise is mixed into the input of the neural network to get slightly varying results in the output. List of parameters for variability:

  • var_body_angle, var_body_angle_lerp_in, var_body_angle_lerp_out: the deviation angle range of the body along the Y axis from the set direction and speed of approaching that value (lerp in)/moving away from it (lerp out).
  • var_steps_body_angle: number of steps after which the body deviation along the Y axis is recalculated.
  • var_move_angle, var_move_angle_lerp_in, var_move_angle_lerp_out: the deviation angle range of movement direction along the Y axis from the set direction and speed of approaching that value (lerp in)/moving away from it (lerp out).
  • var_steps_move_angle: number of steps after which the movement direction deviation along the Y axis is recalculated.
  • var_speed, var_speed_lerp_in, var_speed_lerp_out: the deviation range of the movement speed from the set value and speed of approaching that value (lerp in)/moving away from it (lerp out).
  • var_steps_speed: the number of steps after which the speed deviation is recalculated.. 
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