Garry's Mod

Garry's Mod

129 ratings
Simple Contraption Damage
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Realism
File Size
Posted
Updated
20.924 KB
3 May, 2024 @ 9:24am
17 May @ 8:42am
8 Change Notes ( view )

Subscribe to download
Simple Contraption Damage

In 1 collection by .kkrill
Half-Choco Content
151 items
Description
About
Do you like fighting your friends on your own custom-made death machine? Do you want to add some actual stakes to that but using E2/Starfall health chips is way too inconvenient? Well, this is a tool exactly for that.

This tool allows you to make any contraption destructible. Unlike addons like Simple Prop Damage/Prop Destruction this addon will not affect every prop. Also all props in a contraption share a single health pool which depends on their total weight.

After not receiving damage for a certain amount of time (120 seconds by default) a contraption will begin to heal slowly.
Usage
Click on your contraption with 'Contraption Core' tool. All attached props will be added automatically. Please note that this process will occure only once so if you add/remove props after spawning a Contraption Core they will not be detected. However, you can manually cause a recalculation by either updating the Contraption Core with the respective tool or by clicking 'Recalculate Health' in the Contraption Core's property menu.
Features
  • Numerous effects for when a contraption gets destroyed/badly damaged
  • AoE damage counts only once
  • Wire compatibility
  • Can be duped with Duplicator/Adv Dupe 2
  • CPPI compatibility
Server commands
  • 'scd_max_health' - Maximum amount of health a contraption can have (50000)
  • 'scd_health_multiplier' - The total weight of props in a contraption will be multiplied by this number to get its total health (2.25)
  • 'scd_allow_health_override' - If set to 1 players will be able to enter their own amount of health
  • 'scd_regen_delay' - Time in seconds before contraption will start regenerating health after it took damage. Set to -1 to disable regeneration entirely (120)
  • 'scd_regen_amount' - Amount of health the contraption will restore per second relative to max health (0.02)
  • 'scd_force_friendly_fire' - If set to 1 players will always be able to damage their contraptions (0)
Popular Discussions View All (1)
0
9 May, 2024 @ 6:54pm
Incompatible addons
Exotetere
29 Comments
Werld 26 May @ 12:53pm 
Would be pretty cool if it had like a way to copy a model of like a prop possibly SPROPs like a wire explosive so the core dosent fuck up when the hit box is parented to smth
.kkrill  [author] 18 May @ 12:32am 
@burntfrenchfries made it so everyone in chairs dies when the contraption gets destroyed and made the health override slider's max value sync with the convar
burntfrenchfries 17 May @ 2:30pm 
no changelogs?
Werld 10 Apr @ 2:32am 
there a way to make this enable bullet proof?
CardBoredBox 21 Mar @ 3:08pm 
I think bro might have beef with machine cult
76561199388317523 8 Jan @ 4:43pm 
amazeing!!!1!!111!1
doctor dala 25 Aug, 2024 @ 2:34pm 
wait what the fuck you made this?
Spaceman Spiff 22 Aug, 2024 @ 2:16pm 
idea: have a setting that makes the destruction effects appear on random parts of the contraption instead of just on the core
.kkrill  [author] 6 Jul, 2024 @ 1:58am 
@HECU Soldier make sure that scd_allow_health_override is set to 1
The Courier 5 Jul, 2024 @ 9:49pm 
if I use the health override, the health will not decrease.