> For the complete documentation index, see [llms.txt](https://wiki.redmodding.org/cyberpunk-2077-modding/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/world-editing/miscellaneous/adding-street-name-signs-to-the-world.md).

# Adding street name signs to the world

How to add a street name sign with World Editor and set its entity data

This guide is intended for peope who wish to:

* add/edit signs for existing street names (including highway signs)
* create new street names and use them on signs
* add/edit district colour schemes

### Pre-requisites

* have WolvenKit installed
* have World Builder installed, preferably Akiway's fork: <https://github.com/Akiway/CP77_entSpawner>
* for adding new street names, TweakXL will need to be installed

## Creating a sign and editing its data

First, go to the `Spawned` tab and create a group with a sensible name, e.g. the name(s) of the road(s) which the sign is for.

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FRDOuGyHAcQZaMheeFf0l%2Fimage.png?alt=media&amp;token=f7cfec29-6b38-4d1a-bd6b-883aef16f593" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
I am at the junction of Poplar and Crescent, and I gave the group a prefix of `wiki_` so that it is easy to tell what the group file is for (in case I ever need to look at the object files folder). The Projects feature of Akiway's fork also helps with organising groups but is beyond the scope of this guide.
{% endhint %}

Then, go to the `Spawn New` tab and search for the sign entities. I recommend setting the `Object type` to `Entity`, as we need the entities and not just the meshes.

* `street_signs\street` will give the smaller street signs - the main ones of interest are signs a, b and d
* `road_signs\highway` will give the larger highway signs - there are lots of configurations which can be chosen based on the needs of the road they are placed on (e.g. number of lanes)

<div><figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fw8f3ddwwCRnkhbOQ6DL5%2Fimage.png?alt=media&amp;token=6af8d7dd-87c2-4c6b-b7f7-a3aabe64dd40" alt=""><figcaption></figcaption></figure> <figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fsu1oqo8ZaLkOjL7bjQhz%2Fimage.png?alt=media&amp;token=bc2f741a-f2dd-4f8b-8ca6-752734c6792c" alt=""><figcaption></figcaption></figure></div>

I will use `street_sign_a_3_3x1.ent` for the first example. Highway signs are slightly more complicated; they are covered [later](#highway-sign-data).

Click the list item to spawn it, then go back to the `Spawned` tab and drag the sign into the group, and click the sign so the properties appear at the bottom. Go to `Entity Instance Data` -> `StreetSignWidgetComponent | UI` -> `streetNameSignTDBID`. This is where a TweakDB ID is set which tells the sign what name/district it should display (for street signs; highway signs are different).

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FyrhBTFYH7C9ExxDAEeRh%2Fimage.png?alt=media&amp;token=075b9f20-4618-4338-9d63-e4e6618c8260" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
You may notice that there are several other entries which also refer to street sign names and IDs.

`handle:inkTweakDBIDSelector | signSelector` *can* be used for both street and highway signs, however it will disappear once any sign data in the entity is set (this is a problem for highway signs with multiple parts), and `StreetSignWidgetComponent | UI` must be reset with right click for it to reappear.

`streetSignTDBID` is used for highway signs, where `streetNameSignTDBID` will have no effect (i.e. the opposite of the small street signs, thank you dark souls).

<sub>Imagine if someone finished a mod adding a load of signs using</sub> <sub>`handle:inkTweakDBIDSelector | signSelector`</sub> <sub>before realising that</sub> <sub>`streetNameSignTDBID`</sub> <sub>is much better and easier to edit, that'd be crazy.</sub>
{% endhint %}

### Where to find street name TweakDBIDs

There is a TweakDB entry for every street name in every district where it is present. Each entry specifies (among other things):

* The street name
* The larger district name
* The sub district name

The existing entries can be found in WolvenKit using the Tweak Browser (it may be hidden, go to `View` on the top menu bar and make sure `Tweak Browser` is ticked). They are all named with the format `SubDistrict.StreetName`, so the easiest way to see what is available is to just type `SubDistrict.` and see what comes up - except for in the Badlands, which all just use `Badlands.` and not any of the subdristricts there like Rocky Ridge or Jackson Plains.

In my case, I am adding a sign for Crescent, which has the ID `JapanTown.CrescentSt`.

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FH9gxNrUh4dOFs8vuXWGP%2Fimage.png?alt=media&amp;token=2d86e6df-a943-499e-8e9a-f1dfa39c7587" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The vast majority of streets are named with what is shown on the sign followed by St, however there are some nonsense arbitrary exceptions and spelling differences for some signs.

For example, California Ave in Arasaka Waterfront has ID `ArasakaWaterfront.CaliforniaAve`, while Grant Ave in Charter Hill has ID `CharterHill.GrantSt`, and Milagro Trce in North Oak has ID `NorthOaks.MilagraTrce` (North Oak has an S at the end for all its signs, and it is MilagrO on the sign but MilagrA in the ID).
{% endhint %}

Right click on the ID in the list in WolvenKit and click Copy Tweak Name, then paste that in World Builder in the `streetNameSignTDBID` box and press enter. With any luck, the sign should now show the street name (the sign may be blurry, look away and look back to refresh the quality).

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FrfCwI1334mKrKuvw9ETw%2Fimage.png?alt=media&amp;token=0505c66e-b100-4d58-a374-950a09c990bb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FR8EBoZ7vA15XoKUtGRQz%2Fimage.png?alt=media&amp;token=734fe8e9-92c7-4725-bd1c-d396af6510ab" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
That is the process for setting data for a street sign. The process for a highway sign is pretty much the same, but there are some extra quirks to be aware of.
{% endhint %}

### Highway sign data

Because highway signs may consist of multiple signs grouped together on one pole, there can be multiple `StreetSignWidgetComponent | UI` entries. To be extra confusing, the number of those entries may not match the number of signs that are part of the entity... If you are setting data for one of those entries and nothing appears (and you are certain the ID is correct), you'll just have to trial and error another entry.

For example, here I have `highway_sign_a_3_5x1_v3`. It has one sign, yet contains two `StreetSignWidgetComponent | UI` entries. For this sign, editing `UI_1` does nothing, while `UI_2` works.

{% hint style="warning" %}
Highway signs use `streetSignTDBID`, unlike the smaller street signs which use `streetNameSignTDBID`.
{% endhint %}

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FhD0W1JuTx2nGMuwNBFzu%2Fimage.png?alt=media&amp;token=41767ce5-1984-4029-914a-72155e4ae30c" alt=""><figcaption></figcaption></figure>

As another example, `highway_sign_ab` contains 4 signs; 2 lanes in each direction. It contains 12 entries, because each sign is actually 3 signs in disguise.

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FOenFPjrUVVEyQf7pexVx%2Fimage.png?alt=media&amp;token=2f4f6e7e-6c28-425e-a2fb-35e6eb168c63" alt=""><figcaption></figcaption></figure>

`highway_sign_db` is the same shape, but has the expected 4 entries. The signs corresponding to each `UI` number seem to go in a consistent direction, so once you figure out which one is `1` the rest should be easy to tell.

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FF7c7gQiLCGKvJIQJzKPl%2Fimage.png?alt=media&amp;token=ea50edd0-a2e3-453b-9fc2-55159de726bc" alt=""><figcaption></figcaption></figure>

## Creating a new street name

Creating a street name requires creating a new TweakDB entry, which we will do with WolvenKit and TweakXL.

First create a new mod in WolvenKit if you do not already have one you are working on.

The simplest way to create a new name is to take an existing one and edit it. In WolvenKit, open the Tweak Browser (make sure it is visible in the `View` tab in the top menu toolbar). If you know what sub district your sign will be in, type that district with a `.` into the search bar, for example `JapanTown.`

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FH9gxNrUh4dOFs8vuXWGP%2Fimage.png?alt=media&amp;token=2d86e6df-a943-499e-8e9a-f1dfa39c7587" alt=""><figcaption></figcaption></figure>

Right click on an entry for a street name and click `Add TweakXL Override`. This will create a new file on the left (`signres` is the name of the mod I had open in WolvenKit; you should see your mod name there instead).

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2F85W1uVcbIi6lRQHfCW7G%2Fimage.png?alt=media&amp;token=b64e360e-5ae5-46d3-8371-5cdda4e314f5" alt=""><figcaption></figcaption></figure>

Right click this file and rename it to something sensible like your new name for that road (it doesn't *need* to match the ID of the TweakDB entry). Open the file to edit in a text editor by clicking the blue icon.

The first line of the text file will be the TweakDBID for the entry - make sure to change it!

{% hint style="warning" %}
If you leave it as the ID of the entry you overrode, then all signs with that original ID will get the new data, and signs with your new ID will be blank because the new ID doesn't exist.
{% endhint %}

Change the data in the file as you wish. If you only want to change the street name, then change the value after `streetName:`

You can change the district/sub district here too - make sure to also change `styleStateName` which points to an entry in a file described [below](#changing-district-colour-schemes). It is much easier to start by overriding a street that is in the district you want the new name to be in, which avoids having to change all this other stuff.

{% hint style="info" %}
The street name and district text can be basically whatever you want; at least, it can be letters, numbers and spaces, I haven't tested special characters. The capitalisation of the text you write will be preserved.
{% endhint %}

Below I have changed the street name to show "Wiki", because I am very creative.

```
JapanTown.WikiSt:
  districtName: Westbrook
  isUnique: False
  resource: base\gameplay\gui\world\street_signs\generic_street_name\generic_street_name_sign.inkwidget
  streetName: Wiki
  styleStateName: japan_town
  subDistrictName: Japan Town
  $type: gamedataGenericStreetNameSign_Record
```

Close the game if you still have it open, and either click Install Mod in WolvenKit or manually place the `.yaml` file in `Cyberpunk 2077\r6\tweaks\`.

Start up the game, create a new sign in World Builder and give it your new ID. Hopefully you see your new name written on it.

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FLUWOY5WFV58iOsSRvC2v%2Fimage.png?alt=media&amp;token=5075dfe4-d947-4e1b-8fe2-3e9d5a640a45" alt=""><figcaption></figcaption></figure>

### The sign with my new name is blank

Make sure that:

* the first line of the `.yaml` file has been changed to your new ID
* the `.yaml` file is present in `Cyberpunk 2077\r6\tweaks\` (or a subfolder there, e.g. one named after your mod)
* the ID you have typed in World Builder is exactly the same as on the first line of the `.yaml` file (without the colon)
* the `styleStateName` entry is valid (see [here](#sign-inkstyle-state))
* there are only letters, numbers and spaces used for the street and district names
* you have TweakXL installed
* the most recent log in `Cyberpunk 2077\red4ext\plugins\TweakXL` doesn't have any errors relating to your file

{% hint style="success" %}
A custom sign has been added to the game, you can now repeat this for however many you wish. TweakXL will be a requirement of your mod.
{% endhint %}

## Changing district colour schemes

You may have noticed that the signs in the screenshots are different colours to vanilla (and as a result are actually readable). There is a single file which describes the colours for each part of the sign for each sub district; `base\gameplay\gui\world\street_signs\generic_street_name\generic_street_name_sign.inkstyle`

Open that file in WolvenKit (you can get to it more easily by just searching `generic_street_name_sign.inkstyle`). Double click it to add it to the mod, and then hover over it in the files on the left and click the blue icon to edit it.

{% hint style="info" %}
While ArchiveXL can probably be used to edit the colours without conflicts between mods, there is no point. The file is small and does one specific thing, and it seems a very unlikely scenario that multiple mods would edit different parts of the file, and a user would want those edits combined.
{% endhint %}

Under `styles`, there are 18 entries - one for each sub district + a default.

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FlkelSGQp65dG1A7nuQZl%2Fimage.png?alt=media&amp;token=80f6a479-ab4e-4c6c-a338-2ccb68d3e3e8" alt=""><figcaption></figcaption></figure>

The styles are in *some sort* of order; here is each sub district in alphabetical order with its number:

<table data-search="false"><thead><tr><th width="211.800048828125">Sub-district Name</th><th width="115.7999267578125" data-type="number">Style Index</th></tr></thead><tbody><tr><td>Default</td><td>0</td></tr><tr><td>Arasaka Waterfront</td><td>14</td></tr><tr><td>Arroyo</td><td>13</td></tr><tr><td>Badlands</td><td>16</td></tr><tr><td>Charter Hill</td><td>15</td></tr><tr><td>Coast View</td><td>4</td></tr><tr><td>Corpo Plaza</td><td>11</td></tr><tr><td>Downtown</td><td>10</td></tr><tr><td>Japan Town</td><td>9</td></tr><tr><td>Kabuki</td><td>8</td></tr><tr><td>Little China</td><td>7</td></tr><tr><td>North Oak</td><td>6</td></tr><tr><td>Northside Industrial</td><td>5</td></tr><tr><td>Rancho Coronado</td><td>12</td></tr><tr><td>The Glen</td><td>3</td></tr><tr><td>Vista del Ray</td><td>1</td></tr><tr><td>Wellsprings</td><td>2</td></tr><tr><td>West Wind Estate</td><td>17</td></tr></tbody></table>

Default is used by the sign entries that are common on highways saying a district is in a direction with arrows.

I will edit the style for Japan Town as an example. Expanding entry 9 and `properties`, we see 7 `inkStyleProperty` entries:

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FDzhmyVwOJfj6VrKwwmlD%2Fimage.png?alt=media&amp;token=619e3b33-b144-4732-a8bc-a59668de5c68" alt=""><figcaption></figcaption></figure>

* `sign.StreetNameColour` - the main text of the street name
* `sign.BackgroundColour` - the colour of the background (duh). for highway signs, this applies additively on top of their grey background, so you cannot give them a black background (sad face emoji).
* `sign.FooterColour` - the bar at the bottom which has the district/sub district names
* The gradients do not appear to have an effect, so I will ignore them

Within each colour property, the value of each colour channel can be edited.

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2F0pG5pKKpPPEFClLvSA7k%2Fimage.png?alt=media&amp;token=a387162c-3127-4bb2-80f7-4d2c808fe2ef" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The colour channels are listed Alpha, Blue, Green, Red, which is probably the reverse of a colour picker you may be using. Make sure you put the right values in the right place.
{% endhint %}

### Sign `inkStyle` `state`

In the entry for each district, there is a value called `state`. This corresponds with `styleStateName` in the TweakDB entry for that sign's data (mentioned [here](#creating-a-new-street-name)). This is how a sign decides what colour scheme it will use.

Save your changes to `generic_street_name_sign.inkstyle`, install the mod and start the game. Your beautiful new colours should take effect.

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2F1nVaKcZS4y7e7natMALx%2Fimage.png?alt=media&amp;token=20258974-12a5-4618-b461-f2729c56b851" alt=""><figcaption></figcaption></figure>

Here, I set the street name to fully red, the background to fully blue, and the footer to fully green. The colours may look different to what you expect, since the signs have a bit of luminence to them and they will go through tone mapping/colour filtering. It may take a bit of trial and error to get them how you want.

{% hint style="success" %}
You can now change the sign colours to be readable. Hooray.
{% endhint %}

## Combining everything

We have seen how to add a sign to the world, give it a custom street name and edit the colour scheme. We can also add a new colour scheme to the list, use that in a custom street name, and use that on a newly added sign.

```
JapanTown.WikiSt:
  districtName: Westbrook
  isUnique: False
  resource: base\gameplay\gui\world\street_signs\generic_street_name\generic_street_name_sign.inkwidget
  streetName: Wiki
  styleStateName: wiki
  subDistrictName: Japan Town
  $type: gamedataGenericStreetNameSign_Record
```

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FYkYweWtltNrqDuZg3iMD%2Fimage.png?alt=media&amp;token=020f698e-6f21-43ef-9147-a33fdad7a389" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2FOjQFbiCGQOXUCq9sGJwB%2Fimage.png?alt=media&amp;token=dfcfe0e1-9346-440f-b057-6fcfaf0ef0dd" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/world-editing/miscellaneous/adding-street-name-signs-to-the-world.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
