Skip to content

Modifiers

Aeroluna edited this page Sep 25, 2023 · 1 revision

Modifiers allow you to do basic arithmetic on points. How these modifiers interact can be defined using operations and are done componentwise. These include:

  • opNone
  • opAdd
  • opSub
  • opMul
  • opDiv

The true value of modifiers are useful when using base properties which allow referencing some provided values which updates dynamically. This allows for things like following the HMD or setting an object's color to the player's note color. All base properties start with the 'base' prefix.

ex:

{
  "b": -1,
  "t": "AnimateTrack",
  "d": {
    "track": "tutorialnote0",
    "color": ["baseNote0Color", [ 0.4, 0.4, 0.4, 1, "opMul"]] // take the color of right hand notes, and multiply the the rgb values by 0.4
  }
},
{
  "b": 48,
  "t": "AnimateTrack",
  "d": {
    "track": "tutorialnote1",
    "color": ["baseNote1Color"] // just use the left hand note color
  }
},

Noodle Extensions

  • baseHeadLocalPosition
  • baseLeftHandLocalPosition
  • baseRightHandLocalPosition

Chroma

  • baseNote0Color
  • baseNote1Color
  • baseSaberAColor
  • baseSaberBColor
  • baseEnvironmentColor0
  • baseEnvironmentColor1
  • baseEnvironmentColorW
  • baseEnvironmentColor0Boost
  • baseEnvironmentColor1Boost
  • baseEnvironmentColorWBoost
  • baseObstaclesColor
Clone this wiki locally