# .streamingBlock: Sector definitions and -variants

## Summary

**Published:** Jan 07 2025 by [Sergey](https://app.gitbook.com/u/N691cVEMA0Nmecc6QHIAM73aI0z1 "mention"), heavily based on input by psiberx\
**Last documented edit:** Jan 08 2025 by [mana vortex](https://app.gitbook.com/u/NfZBoxGegfUqB33J9HXuCs6PVaC3 "mention")

This page contains information about [#streamingsector](#streamingsector "mention") and [#streamingblock](#streamingblock "mention") files

### Wait, this is not what I want!

* If you want to learn about [world-editing](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/world-editing "mention"), please check the corresponding section.
* Check [switching-between-sector-states](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/world-editing/archived-guides/switching-between-sector-states "mention") for more information how to do that.
* You can add world data via ArchiveXL, check [world-editing](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/world-editing "mention") -> [adding-locations-and-structures-with-archivexl](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/world-editing/archived-guides/adding-locations-and-structures-with-archivexl "mention")

### Streamingblock

The game contains only 3 streamingblocks that gather more than 26300 sectors.\
We will focus on the main one and take a look at the first sector inside (`exterior_-18_3_-12_0`).

{% hint style="info" %}
When creating a mod with sectors, you will need to create your own block that will list your new sectors.
{% endhint %}

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fgit-blob-aa7b12265b7b70f58f5bb1b5fc2f018572434067%2Fworld_streamingsector__block.png?alt=media" alt=""><figcaption></figcaption></figure>

This sector has 10 variants, in this case, each one is related to a quest state.

`numNodeRanges` indicate the number of node ranges the sector contains; it always corresponds to the number of variant + sector's default range (so here 10 variants + 1 default).

When opening a variant definition, we can find the range index (to find the right range inside the sector file). `rangeIndex` cannot be 0, 0 is used as sector's default range.

Variant's name is only used to identify the variant within the streamingblock.

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fgit-blob-0f7cb2fb36853a0c24c286fe2e763e88a31a8797%2Fworld_streamingsector__block_variant.png?alt=media" alt=""><figcaption></figcaption></figure>
