> 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/for-mod-creators-theory/files-and-what-they-do/components/documented-components.md).

# Documented Components

{% hint style="info" %}
See the [Comprehensive Component Hierarchy List](/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/components/comprehensive-components-list.md) for all possible components used in the game, organized by hierachy. Use for researching and documenting components.

For a json dump of all existing components and their properties, check [DrPresto's github repository.](https://github.com/DoctorPresto/Cyberpunk-File-Types/blob/main/lists/entComponent_types.json)

For a hands-on guide on how to safely change components in .app files, look [here](/cyberpunk-2077-modding/modding-guides/npcs/appearances-change-the-looks.md#safely-adding-components).
{% endhint %}

## Mesh components: Equipment/Hair

{% hint style="warning" %}
Your favourite kind of mesh component is the [#entgarmentskinnedmeshcomponent](#entgarmentskinnedmeshcomponent "mention"), as it does not have any physics properties that can crash the game.

The [#entskinnedclothcomponent](#entskinnedclothcomponent "mention")'s physics properties can be responsible for crashes if you edit the linked mesh.
{% endhint %}

### Shared properties of mesh components

| [depotPath](#depotpath)                | Loads a [.mesh](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)                                                         |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [chunkMask](#chunkmask)                | Defines visibility of individual submeshes                                                                                                                                                                                                 |
| meshAppearance                         | Selects an entry from the mesh's [appearances](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#step-1-appearances) array |
| <p>castShadows<br>castLocalShadows</p> | Enables/disables [real-time shadows](/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/file-formats/3d-objects-.mesh-files/meshes-shadows-and-shadow-meshes.md#generated-shadows-component-properties)                |
| forceLODLevel                          | Force [Level of Detail (LoD)](/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/level-of-detail-lod.md)                                                                                                               |

### Documented mesh component types

<details>

<summary>entGarmentSkinnedMeshComponent</summary>

This type of component supports **path substitution**, as long as they are loaded via [https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators-theory/files-and-what-they-do/file-formats/entity-.ent-files#mesh-component-entity-simple-entity](https://github.com/CDPR-Modding-Documentation/Cyberpunk-Modding-Docs/blob/main/for-mod-creators-theory/files-and-what-they-do/file-formats/entity-.ent-files#mesh-component-entity-simple-entity "mention") and the depotPath's `Flag` is set to `Soft` (see [ArchiveXL: Suffixes and Substitutions](/cyberpunk-2077-modding/for-mod-creators-theory/core-mods-explained/archivexl/archivexl-suffixes-and-substitutions.md) for more detail).\
Can otherwise be used interchangeably with `entSkinnedMeshComponent`.

This is the good kind of mesh component, the one that will work without trouble, as opposed to [entSkinnedClothComponent](#entskinnedclothcomponent).

</details>

<details>

<summary>entSkinnedMeshComponent</summary>

See [entGarmentSkinnedMeshComponent](/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/components.md#entgarmentskinnedmeshcomponent)

</details>

<details>

<summary>entSkinnedClothComponent</summary>

Like [ent(Garment)SkinnedMeshComponent](#entskinnedmeshcomponent), but with a `physicalMesh` and physics.

Usually comes together with an [entAnimatedComponent](#entanimatedcomponent) (they're usually named `collar` for clothes and `dangle` for hair and accessories).

The physics will cause crashes if you alter the mesh file (yes, even if it's just a refit). As an alternative, you can use a regular mesh component together with [#entanimatedcomponent](#entanimatedcomponent "mention").

</details>

<details>

<summary>entAnimatedComponent</summary>

Adds physics to garments and hair meshes. This is the "safe" way of doing it, opposed to [#entskinnedclothcomponent](#entskinnedclothcomponent "mention"), which can cause crashes.

</details>

<details>

<summary>entMeshComponent</summary>

Used for components on low levels of details such as [proxies](/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/level-of-detail-lod.md#proxy-meshes) and [shadow meshes](/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/file-formats/3d-objects-.mesh-files/meshes-shadows-and-shadow-meshes.md).

</details>

## Effects

Please see [Effect components](/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/components/documented-components/effect-components.md) for details

#### entEffectSpawnerComponent

#### entSlotComponent

## NPCs

<details>

<summary>gameDismembermentComponent</summary>

Defines dismemberment rules for NPCs. (TBD: ???)

</details>

## Generic

<details>

<summary>gameinteractionsComponent</summary>

Adds interaction prompt to entity. (Shouldn't work without gameTargetingComponent, but this hasn't been double-checked.)

</details>

<details>

<summary>entColliderComponent</summary>

WIP

</details>

<details>

<summary>gameTargetingComponent</summary>

Allows targeting via CET.

</details>

<details>

<summary>gameScanningComponent</summary>

WIP

</details>


---

# 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 dynamically by asking a question.

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

```
GET https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/components/documented-components.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
