# Spawn Codes (BaseIDs/Hashes)

## What's a BaseID?

Each item is **uniquely identified** by this string[^1]. You can use it to spawn items via [Cyber Engine Tweaks](https://app.gitbook.com/s/-MP5jWcLZLbbbzO-_ua1-887967055/console/console#console-ui) with the following command:

```
Game.AddToInventory("Items.money", 5000)
```

`Items.money` is the baseID for eddies, and the 5000 will stuff 5 grand into your pocket.

## Lists of Base IDs

{% hint style="info" %}
You can usually find any BaseID on the [fandom](https://cyberpunk.fandom.com/wiki/Cyberpunk_2077_Clothing) wiki. Search for a game item, then expand the section "technical details" in the box to the right.
{% endhint %}

A selection of lists for looking up item codes. Alternatively, you can browse through the game's files, or search the web.

## Step 1: Finding the right item

We have several ways of finding items in Cyberpunk:

* [#by-item-name](#by-item-name "mention")
* [#from-a-screenshot](#from-a-screenshot "mention")
* [#by-wearing-the-item](#by-wearing-the-item "mention")

If these do not help (or in edge cases), check [#alternative-methods-of-finding-an-item](#alternative-methods-of-finding-an-item "mention").

### By wearing the item

The developer utility [redhottools](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/modding-tools/redhottools "mention") offers you the option to watch the player: [#world-inspector-watch-the-player](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-tools/redhottools/rht-the-world-inspector#world-inspector-watch-the-player "mention"):

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

#### How do you find your item in the list of components?

As of 1.2.2, RHT does not yet have a filter, so you will have to scroll through the list of components. Here are a few tips:

* Their **Component Type** is usually `entGarmentSkinnedMeshComponent` or `entSkinnedMeshComponent`. For body parts, it can also be `entMorphtargetSkinnedMeshComponent`.
* Garment items usually have [prefixes](https://wiki.redmodding.org/cyberpunk-2077-modding/3d-modelling/garment-support-how-does-it-work#component-prefixes) (`t1_` or `t2_` for torso, `l1_` for legs, `hh_` for hair etc
* If you re-equip an item or change a face slider, the component will be at the bottom of the list

### From a screenshot

This one is difficult. If you're lucky, then one of the [equipment-databases](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/references-lists-and-overviews/equipment/equipment-databases "mention") has it. Otherwise, your best bet is to join our Discord server and ask in [#whats-that-mod](https://discord.com/channels/717692382849663036/1185911417963040919).

### By item name

1. Head to the [fandom wiki](https://cyberpunk.fandom.com/wiki) and search for your item. For this guide, we'll be using the `Reinforced Puffer Vest`.
2. In the box on the right, find the **Technical** section. This will list your base ID:

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

{% hint style="info" %}
You can use the base ID to spawn the item via Cyber Engine Tweaks:

`Game.AddToInventory("Items.Vest_17_basic_01")`
{% endhint %}

#### The naming scheme

Usually, the base ID consists of two parts: the item name, and the item's appearance.

* `Vest_17` is the name of the item. You can use this to find its control files (see Step 2 below).
* `basic_01` is the variant name. This is used inside the control files to load a specific appearance.

### Step 2: Finding the .app file

{% hint style="info" %}
If you can't find any files with the method below, scroll to [#alternative-methods-of-finding-an-item](#alternative-methods-of-finding-an-item "mention") at the bottom of this guide before proceeding.
{% endhint %}

1. Open WolvenKit and use the Asset Browser to search for the item's app file:\
   `vest_17 > .app`

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fgit-blob-339e8ac872cf65d8b6f96c1265a545b55d313255%2Fspawn_codes_finding_app.png?alt=media" alt=""><figcaption><p>Search WolvenKit for the first part of the BaseID</p></figcaption></figure>

2. You should now have at least one .app file, where the item's appearances are defined..\
   \&#xNAN;*To learn more about this, check* [https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators-theory/files-and-what-they-do/file-formats/appearance-.app-files](https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators-theory/files-and-what-they-do/file-formats/appearance-.app-files "mention")*. This is not necessary for this guide.*
   * If you have more than one file, hover over them to view their file paths, and pick the one that's inside a `player` folder.
   * If you can't find any files, check [#alternative-methods-of-finding-an-item](#alternative-methods-of-finding-an-item "mention") below.
3. Open the .app file (right-click, "Open without adding to project")

### Step 3: Finding the mesh

1. Inside the .app file, open the `appearances` array
2. You will see something like this. The suffices are for body gender and camera mode:

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

3. Find the appearance you want (`basic_02_w` or `basic_02_m`) and open it.
4. Open the `components` array and find the component that has `mesh` in its name:

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

5. You want mesh file's `DepotPath`.\
   \&#xNAN;*You can learn more about* [https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators-theory/files-and-what-they-do/file-formats/3d-objects-.mesh-files](https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators-theory/files-and-what-they-do/file-formats/3d-objects-.mesh-files "mention")*, but it's not necessary for this guide*

<figure><img src="https://1427525421-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4gzcGtLrr90pVjAWVdTc%2Fuploads%2Fgit-blob-a4aff10e491b2de6d72026fe6b4d9e34efa1f3a9%2Ffinding_items_mesh_appearance.png?alt=media" alt=""><figcaption><p>While basic_01 uses the default appearance, this one uses <strong>bbstripes</strong></p></figcaption></figure>

## You found the item, what now?

Now that you've found your mesh, you can **edit** it.

* To use it for the base of a new in-game item, check the [adding-new-items](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/items-equipment/adding-new-items "mention") guide
* To change its materials, check the [changing-materials-colors-and-textures](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/items-equipment/editing-existing-items/changing-materials-colors-and-textures "mention") guide

## Alternative methods of finding an item

Some items don't obey [#the-naming-scheme](#the-naming-scheme "mention"), for example `Q005_Johnny_Pants`. So how can you find these kinds of items?

### The Tweak Browser

1. Find and open the [Tweak Browser](https://app.gitbook.com/s/-MP_ozZVx2gRZUPXkd4r/wolvenkit-app/editor/tweak-browser) and wait for it to initialize.\
   \&#xNAN;*As of Wolvenkit 8.14, it is pinned to the right side of the viewport*
2. Search for your item, e.g. `Q005_Johnny_Pants`
3. Select one of the entries from the list on the left
4. In the detail panel with the item's properties, find the `appearanceName`.
   * If you don't have a detail panel, make the Tweak Browser window wider

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

5. The appearance name will be something like `l1_pants_16_q005_johnny_`. Does this look familiar?
6. Time to proceed with [#step-2-finding-the-.app-file](#step-2-finding-the-.app-file "mention")

### The Wolvenkit Search

Depending on what you are looking for, you can check [Wolvenkit Search: Finding files](https://app.gitbook.com/s/-MP_ozZVx2gRZUPXkd4r/wolvenkit-app/usage/wolvenkit-search-finding-files "mention") and dig directly for the mesh file. This might be tedious, but you'll also discover a lot of things on the way, so it's definitely worth a try!

[^1]: Netrunner-ese for "text"


---

# 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/equipment/spawn-codes-baseids-hashes.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.
