# Instance Damage System

**URL:** <https://forums.unrealengine.com/t/instance-damage-system/756058>\
**Category:** UE Marketplace\
**Tags:** unreal-engine, CPP, fab\
**Created:** [January 24, 2023, 4:03pm UTC](https://forums.unrealengine.com/t/instance-damage-system/756058 "2023-01-24T16:03:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrian23041999](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@adrian23041999](https://forums.unrealengine.com/u/adrian23041999)\
**Post date:** [January 24, 2023, 4:03pm UTC](https://forums.unrealengine.com/t/instance-damage-system/756058/1 "2023-01-24T16:03:15Z")

</div>

# **Instance Damage System**

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/3/d/b3db2b732500efa584c05c72ab5e8839a90f36b5.jpeg "UE5 Instance Damage System Showcase") ](https://www.youtube.com/watch?v=JXjXLnnkwWI)

# [FAB](https://www.fab.com/listings/c41d17ed-67a2-4642-ad9d-0d084662a026)

🎥 | [V2 Update Showcase](https://youtu.be/visaDh7EXeo) | [Showcase](https://youtu.be/JXjXLnnkwWI) | [IDS + TPWCS2](https://youtu.be/20ZDdwblvAk) |  
🎓 | [V1 Tutorial](https://youtu.be/M6GXPWej2tk) | [Quickstart](https://docs.google.com/document/d/1_H5xbaMJ0oWj-1csiqpx0AqGo8b_pRkxJ-Fz_sBl13I/edit?usp=drive_link)| [Docs](https://drive.google.com/drive/folders/1PsPPXZ46sIPr8v3uCMYzIGqzQwGJdvLQ?usp=share_link) | [API Reference](https://adi23041999.github.io/UE-Instance-Damage-System-API-Reference/) | [Changelog](https://docs.google.com/document/d/13CYJf7Gzt5ud2ZJgN7PTTU4KWvnuUTE0Z4--tKy8Vj4/edit?usp=sharing) | [V1 to V2 Upgrade](https://docs.google.com/document/d/1pZHrsVBJCDqroWJvkrU5D6rnZWWAaEdC6XT5VfEpmRo/edit?usp=sharing) |  
🔗 | [Demo](https://drive.google.com/file/d/1IeD0a4kQ2AfrmRy003c_uPnRL6hzIfnl/view?usp=drive_link) | [Example Project](https://drive.google.com/file/d/1Q8LMOrF_wIIvZvYU6G1mWWDOa3KxP3A4/view?usp=drive_link) |  
🌐 | [Forum](https://forums.unrealengine.com/t/instance-damage-system/756058) | [Discord](https://discord.com/invite/dNFNuWyXrf) | [Orbital Market](https://orbital-market.com/product/instance-damage-system) |

**Instance Damage System** lets you interact with instanced static meshes in an open world fashion!

This is a perfect solution for GTA style destruction/interaction with respawning props or any resource collection game.

Features:

- **Register** any static mesh component based object as proxy (primarly intended for ISMCs but supports any base SMC with the ability for adding support to any other UE object class in C++)
- **Define** damage settings per damage asset (static mesh asset used by the proxy ISMC)
- **Spawn destructibles** in place of proxy instances (ISMC instances)
- **Hide/unhide** proxy instances
- **Respawn** proxy instances over time depending on the distance to the player
- **Pool destructibles** (reuse already spawned objects)\*
- **World Partition support** (hide/unhide instances even when the proxy isn’t present in the level!)
- **Setup custom data** per each damage asset (exp, money, etc.)
- **Network Replication** with three replication modes
  - **Client Authoritative** : only clients spawn destructible; server detects damage and sends it to other clients
  - **Client Replicated** : clients spawn destructibles as a result of replication
  - **Server** : destructible actors are responsible for replication

- **Save and load** proxy visibility state
- **Easy setup** through data tables
- **Exposed to blueprints** - easy scripting anywhere within your project
- **C++ extendible** - add new features or override default ones with the provided subsystem and its virtual functions
- Example project with **minigames** build around the system:
  - Chaos minigame (recreation of Saints Row’s Mayhem activity)
  - Destruction minigame (destroy a random instance amount of 3 randomly picked meshes)
  - Wanted Level example (get wanted stars depending on the amount of damage done)

\*Disabled on chaos based destructibles in the example project as there’s no way to reset a geometry collection to its initial state (at least yet)
