Skip to content

Notes on StreamingAssets folder structure

Sam Gibson edited this page Jan 29, 2019 · 9 revisions
  • Folder structure

    • StreamingAssets
      • Journals
        • <journal JSON files>
      • Original
        • <original data>
      • Dreams
        • dreams are folders with json files and TMAPs
      • Models
        • <OBJ files>
      • Music
        • <OGG files>
      • SFX
        • <OGG files>
      • Textures
        • <PNG files>
      • Materials
        • <JSON data files>
  • JSON dream data file

    {
        "name": "",                              | dream name
        "author": "",                            | dream author
        "type": "LEGACY/REVAMPED",               | load LBDs or TMAP
        "upperness": 0,                          | graph modification
        "dynamicness": 0,                        | graph modification
        "level": "cdi/m00",                      | path to LBDs or TMAP
        "greyman": false,                        | does it have greyman
        "environments": [Dream environment obj], | Dream environment objects
        "classicTileMode": "VERTICAL/HORIZONTAL",| how to tile LBDs
    }
    
  • Dream environment object

{
    "fog": [1, 1, 1],
    "sky": [0, 0, 1],
    "sun": true,
    "sunColor": [1, 0, 0],
    "sunBurst": true,
    "sunBurstColor": [1, 0, 0],
    "clouds": true,
    "cloudsCount": 4,
    "cloudsMove": false
}
  • Material JSON data file

    {
        "name": "",                 | material name
        "shader": "",               | shader name
        "tag": "",                  | material tag, used for swapping shaders at runtime
        "textures": [ "", "" ...],  | textures to use (multiple for sets)
    }
    
  • Journal JSON data file

    {
        "name": "",                 | journal name
        "author": "",               | journal author
        "linkableDreams": [ "" ],   | array of dreams you can get to by linking
        "firstDream": [ "" ],       | dream to start on, if empty then random, if multiple then random from list
        "firstSpawn": "",           | if present force first spawn to this (only in TMAP dreams)
        "graphMapTexture": "",      | path in textures/ to graph spawn texture
    }
    
Clone this wiki locally