Basic Settings

Example:

animation:
  model-id: crate6
  type: CINEMATIC
  player-location:
    world: Spawn
    x: -265.55
    y: 88.05784
    z: 0.3
    yaw: 33
    pitch: -5.6
  model-location:
    world: Spawn
    x: -268
    y: 89
    z: 4
    yaw: -133
  reward-vector:
    x: 0.2
    y: 0.1
    z: -0.1
  frames: []

Settings

  • model-id

    • an ID of model from ModelEngine that is used for the cinematic crate model

  • type

    • a type of the animation that will be used

    • Types:

      • Cinematic - A cinematic room is used. The animation is packet based and can be instanced

      • Regular - In this case the placed crate and its model is used. The animation cannot be instanced and all players see the animation.

  • player-location (Required only while using "Cinematic" type)

    • a location where it should teleport the player when the animation starts

  • model-location (Required only while using "Cinematic" type)

    • a location where it should spawn the crate model

  • reward-vector

    • Where should it shoot the reward, when it is spawned

  • frames

    • A list of actions of the animation

    • Check more info here

Last updated