V2Environment - Aeroluna/Heck GitHub Wiki

Nothin but Chroma baby!

Set "PrintEnvironmentEnhancementDebug" to true in the Chroma.json config file to print environment enhancement information to your console.

Environment Enhancement

  • "_customData" -> "_environment" (array)
    • "_id": (string) The ID to use when looking up the GameObject.
    • "_lookupMethod": (string) How to use the ID to search. (Regex, Exact, Contains)
    • "_duplicate": (int) How many instances of this GameObject to create. Note: this changes the scope and all the following properties will affect the duplicated objects instead.
    • "_active": (bool) When false, disables the GameObject.
    • "_scale": [x, y, z] (float) Sets scale of GameObject.
    • "_position": [x, y, z] (float) Sets position of GameObject. Reminder: Position is calculated in NE units, or the width of one lane (0.6 meters).
    • "_localPosition": [x, y, z] (float) Sets localPosition of GameObject.
    • "_rotation": [x, y, z] (float) Sets rotation of GameObject.
    • "_localRotation": [x, y, z] (float) Sets localRotation of GameObject.
    • "_lightID": (int) If you are duplicating a light with id or something that contains a light with id, it will attempt to assign it to this light id.
    • "_track": (string) Adds the object to a track, allowing you to animate its _position, _localPosition, _rotation, and _localRotation through tracks. (Properties are not listed on the Animation page)

All of the custom data is stored in the difficulty's json. Example:

"_version": "2.0.0",
"_customData": {
  "_environment": [
    {
      "_id": "^.*\\[\\d*[13579]\\]BigTrackLaneRing\\(Clone\\)$",
      "_lookupMethod": "Regex",
      "_scale": [0.1, 0.1, 0.1]
    }
  ]
}
⚠️ **GitHub.com Fallback** ⚠️