Skip to content

Commit

Permalink
Merge pull request bsmg#194 from Caeden117/add/map-format
Browse files Browse the repository at this point in the history
Add map format documentation
  • Loading branch information
bloodcloak authored Aug 18, 2020
2 parents f48be1e + d82fd28 commit c815464
Show file tree
Hide file tree
Showing 4 changed files with 498 additions and 33 deletions.
3 changes: 2 additions & 1 deletion wiki/mapping/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ A 3D editor that runs in the browser, allowing anyone with a web browser to map.
A 3D editor that has stellar support for lighting, Chroma RGB, and shares similar assets with Beat Saber, allowing for a more accurate preview. ChroMapper is currently in closed beta with no planned public release date.

::: tip Interested in making your own editor or converter?
You may find the [SongCore readme page](https://github.com/Kylemc1413/SongCore/blob/master/README.md) and [the Beatmap Schemas](https://github.com/lolPants/beatmap-schemas/tree/master/schemas) helpful!
You may find the [Map Format Page](./map-format.md) and the [SongCore Readme](https://github.com/Kylemc1413/SongCore/blob/master/README.md) helpful!
:::

### Official Editor
Expand Down Expand Up @@ -402,5 +402,6 @@ To be compliant with the new schema, please also find and remove or fill in any
### Mapping Anxiety

If you're finding it difficult to muster up the courage to upload your map, or are finding it emotionally taxing coping with a lack of downloads or a lot of dislikes, you're not alone. Many mappers have experienced these feelings. You can read more about it on the [Coping with Mapping Anxiety](./mapping-anxiety.md) page.

## [Credits](/mapping/mapping-credits.html)
Over *thirty* different mapping guides and tutorials have been combined into this wiki so that it can be maintained by the community as a whole. Many many **MANY** thanks to the mappers who blazed this trail and contributed content. Checkout the whole list [here!](/mapping/mapping-credits.html)
33 changes: 1 addition & 32 deletions wiki/mapping/advanced-lighting.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,38 +194,7 @@ Many of Chroma's features are far easier to implement and edit using ChroMapper'

It can be helpful to know how a lighting event is encoded in the `.dat` files if you want to edit the file directly or make a script to change the file.

Event Types:
* 0 - Back Top Lasers
* 1 - Ring Lights
* 2 - Left Lasers
* 3 - Right Lasers
* 4 - Center Lights (BBS)
* 8 - Ring Rotation
* 9 - Inner Ring Zoom
* 12 - Left Laser Speed
* 13 - Right Laser Speed

If the event type is one of the lights (0, 1, 2, 3, or 4), then the values of the event determines what lighting event is used:
* 0 - Off
* 1 - Blue On
* 2 - Blue Flash
* 3 - Blue Fade
* 5 - Red On
* 6 - Red Flash
* 7 - Red Fade
(Replace Blue and Red with the environment’s respective colours)

If the event type is a laser speed (12 or 13), then value of the event determines the laser speed.

An example event showing a Red Fade on the Left Lasers on beat 10:
```
{
"_time" : 10,
"_type" : 2,
"_value" : 7
}
```

The internal format for a lighting event is described in the dedicated [Map Format page](./map-format.md#events-2).

## Credits

Expand Down
2 changes: 2 additions & 0 deletions wiki/mapping/extended-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ Each event has a value for spawn rotation which is always relative to the player
* **[6]** 45° rotation clockwise (Right)
* **[7]** 60° rotation clockwise (Right)

The specific format for a rotation event is defined in the [Map Format page](./map-format.md#controlling-360-90-rotation).

::: tip NOTE
The chevron in the 360° [Glass Desert environment](./basic-lighting.html#environment-previews) rotates corresponding to the rotation event time, both 14 and 15. This is important as it guides the player where to face in gameplay.
:::
Expand Down
Loading

0 comments on commit c815464

Please sign in to comment.