# Effects and particles

## Summary

**Published**: Feb 11 2024 by [mana vortex](https://app.gitbook.com/u/NfZBoxGegfUqB33J9HXuCs6PVaC3 "mention")\
**Last documented edit**: Feb 11 2024 by [mana vortex](https://app.gitbook.com/u/NfZBoxGegfUqB33J9HXuCs6PVaC3 "mention")

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

* See [effects-modding](https://wiki.redmodding.org/cyberpunk-2077-modding/modding-guides/everything-else/effects-modding "mention") for a hands-on list of changing effects in Cyberpunk
* See [effect-components](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/components/documented-components/effect-components "mention") for effect explanations by component
* See [fx-material-properties](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/materials/configuring-materials/fx-material-properties "mention") for animated *materials*
* While explosions are definitely effects, lights are something else => [lights-explained](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/files-and-what-they-do/lights-explained "mention")
* To **position** effects, see [amm-light-components](https://wiki.redmodding.org/cyberpunk-2077-modding/for-mod-creators-theory/3d-modelling/custom-props/amm-light-components "mention") -> [#placing-your-light-components](https://wiki.redmodding.org/cyberpunk-2077-modding/3d-modelling/custom-props/amm-light-components#placing-your-light-components "mention")

{% hint style="info" %}
This page is a stub, but this wiki is a community project! Please [sign up](https://app.gitbook.com/invite/-MP5ijqI11FeeX7c8-N8/H70HZBOeUulIpkQnBLK7) and [start editing](#user-content-fn-1)[^1], we'd love to have you!
{% endhint %}

## Effect registry

All effect files are registered in `static_effects.csv`. Since that file can only be edited once, you have to merge your own .es files by script.

For instructions on how to do that, check [Scripting Cyberpunk](https://app.gitbook.com/o/-MP5ijqI11FeeX7c8-N8/s/fwsaoju1TBAUvMpI6NIw/ "mention") -> [Effects](https://app.gitbook.com/s/fwsaoju1TBAUvMpI6NIw/how-do-i/effects "mention")

## Effect duration

An effect's **duration** is defined in the .effects file:

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

## Particle lifetime

You can find a particle's lifetime for the individual entries in the `modules` array:

These are probably (?) overwritten by effect durations?

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

[^1]: Don't worry, you can't break anything. Each change has to be reviewed by an admin before it is merged back.
