# Finding Locations

This page will show you **how to find** locations and sectors. If you already know them, check [world-editing](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/world-editing "mention")for guides on how to modify them.

For a list of existing node types and information about them, see [reference-.streamingsector-node-types](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/references-lists-and-overviews/reference-world-sectors/reference-.streamingsector-node-types "mention")

## Existing lists

There are several overviews of interesting locations:

<table><thead><tr><th width="290"></th><th></th></tr></thead><tbody><tr><td><a data-mention href=""></a></td><td>Wiki: List of world sectors for e.g. V's apartment.</td></tr><tr><td><a href="https://wiki.redmodding.org/cyber-engine-tweaks/teleportation-locations">CET wiki</a></td><td>List of interesting locations for teleporting</td></tr><tr><td><a href="https://discord.com/invite/47jV2rNdgn">AMM DIscord</a></td><td>An entire channel dedicated to locations</td></tr></tbody></table>

## Getting an item's world sector

1. Install [RedHotTools](https://github.com/psiberx/cp2077-red-hot-tools/releases/) >= 0.5.2. You need both the plugin and the extra zip for CET.

   <figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fgit-blob-304d6ed8bd326a648c115128e4bf7d6788b56a3c%2Fred_hot_tools_download.png?alt=media" alt=""><figcaption></figcaption></figure>
2. Extract them directly into your Cyberpunk game directory and start the game.
3. Head to the location that you want to edit.
4. Look at the item
5. Open the CET overlay
6. Open RedHotTool's [#inspect](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-tools/redhottools#inspect "mention") or [#scan](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-tools/redhottools#scan "mention") tab and see the sector information:

## Legacy information

With the release of [RedHotTools](https://github.com/psiberx/cp2077-red-hot-tools/releases/) 0.5.2, the information in the box below has become obsolete and will only be preserved for posterity.

### Getting the player's coordinates

Run the following command in CET's console:

```
print(GetPlayer():GetWorldPosition())
```

<details>

<summary>Finding sectors: Legacy information</summary>

#### Finding a specific sector

For technical stuff about sectors and the really manual way to look for things go [here](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators/files-and-what-they-do/the-whole-world-.streamingsector). For less masochistic methods read on.

**Prerequisite: Getting the coordinates**

Complete [#getting-the-players-coordinates](#getting-the-players-coordinates "mention"). Copy the result and put it into a txt file somewhere.

**Method 1: the Wolvenkit preview**

1. In Wolvenkit, open the file `base\worlds\03_night_city\_compiled\default\blocks\all.streamingblock`
2. Switch to the second tab "All Sector Preview"
3. In the panel to the right, enter the coordinates that you copied from the game in step 2
4. Click "Search for Coordinate"
5. Optional: Zoom in

You can double-click on the red text to load the corresponding streamingsector file into the streamingblock's preview!

<img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_ozZVx2gRZUPXkd4r%2Fuploads%2FGzn7chW8b7Kia3ogCFjy%2Fstreamingsector_finding_sector.png?alt=media&#x26;token=8121dbe6-6c21-43fe-b5a4-cda97b58a30a" alt="veri nise" data-size="original">

For details on how to find other LOD levels, check [here](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-know-how/files-and-what-they-do/the-whole-world-.streamingsector#calculating-the-files).

**Method 2: Following the meshes**

If you know a mesh that's used inside the location, you can right-click the mesh file inside Wolvenkit's asset browser and use "**Find files using this**".

You might want to consider using a unique mesh rather than a standard cup or bottle.

<img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_ozZVx2gRZUPXkd4r%2Fuploads%2FJfiWdJYZtgTynfdwObbH%2Fstreamingsectors_find_files_using_this.png?alt=media&#x26;token=a8d590c2-7421-4b43-a61f-ba9fe8a2a056" alt="" data-size="original">

**Method 3: Via script**

Go [here for PL](https://colab.research.google.com/github/Simarilius-uk/sectorStuff/blob/main/AllBlocks_colab_w_streamingblock_PL.ipynb) ([old link](https://colab.research.google.com/github/Simarilius-uk/sectorStuff/blob/main/AllBlocks_colab_w_streamingblock.ipynb)) and either use the script in your webbrowser (recommended) or download the script locally to run it with Python.

**When running from browser:**

Change the x, y and z coordinate to the coordinates that you found[ via CET](#prerequisite-getting-the-coordinates):thumbsup:

<img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MP_ozZVx2gRZUPXkd4r%2Fuploads%2FzqTXNEq2qAMPvHS713vW%2Fexport_streaming_blender_search_script.png?alt=media&#x26;token=ff5f9877-4b3a-458d-8241-aef6e2a96294" alt="or via CET: print(GetPlayer():GetWorldPosition())" data-size="original">

**When running locally:**

The script requires you to have a local json export of `all.streamingblock` somewhere.

Change line 11 to the absolute path of your json (remember the double slashes):

```
11     filepath = 'C:\\CyberpunkModding\\Files\\all.streamingblock.json'
```

You'll find the coordinates in line 31. Change them to the coordinates that you found [via CET](#perquisite-getting-the-coordinates):

```
31     player_loc={'X':-1604.0522,'Y':353.99716,'Z':49.200005}
```

Now, run the script via Python. It'll give you a list of interior/exterior sector files together with the distance from your coordinates.

The blocks at the bottom can be used to generate a streamingblock json file for just the results, which can be imported to wolvenkit to preview them as per Method 1. if running the script locally you will need to download the sectors.streamingblock file from the github and edit the templatepath variable to point at it.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/references-lists-and-overviews/reference-world-sectors/places.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
