Garry's Mod

Garry's Mod

118 betyg
Simple Contraption Damage
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Realism
Filstorlek
Lades upp
Uppdaterades
20.733 KB
3 maj, 2024 @ 9:24
25 maj, 2024 @ 9:14
7 ändringsnotiser ( visa )

Abonnera för att ladda ner
Simple Contraption Damage

Beskrivning
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)
Populära diskussioner Visa alla (1)
0
9 maj, 2024 @ 18:54
Incompatible addons
Exotetere
24 kommentarer
chicken nugget gaming 8 jan @ 16:43 
amazeing!!!1!!111!1
doctor dala 25 aug, 2024 @ 14:34 
wait what the fuck you made this?
Spaceman Spiff 22 aug, 2024 @ 14:16 
idea: have a setting that makes the destruction effects appear on random parts of the contraption instead of just on the core
.kkrill  [skapare] 6 jul, 2024 @ 1:58 
@HECU Soldier make sure that scd_allow_health_override is set to 1
The Courier 5 jul, 2024 @ 21:49 
if I use the health override, the health will not decrease.
.kkrill  [skapare] 29 jun, 2024 @ 1:15 
@DeceasedBrain (trueidiot_YT) can't you just use the thing on an existing dupe?
DeceasedBrain (trueidiot_YT) 28 jun, 2024 @ 15:15 
im trying to find dupes using this addon how can I find dupes using this addon
burntfrenchfries 9 jun, 2024 @ 15:14 
something about "bobs guns" assumedly or m9k
random beans 9 jun, 2024 @ 15:01 
[Simple Contraption Damage] lua/weapons/gmod_tool/stools/contraption_core.lua:264: Tried to use a NULL entity!
1. SetMaterial - [C]:-1
2. fx - lua/weapons/gmod_tool/stools/contraption_core.lua:264
3. Destroy - lua/entities/gmod_contraptioncore.lua:179
4. ProcessDamage - lua/entities/gmod_contraptioncore.lua:163
5. v - lua/entities/gmod_contraptioncore.lua:137
6. unknown - lua/autorun/hook_inspector.lua:229
7. FireBullets - [C]:-1
8. ShootBullet - lua/weapons/bobs_gun_base/shared.lua:350
9. ShootBulletInformation - lua/weapons/bobs_gun_base/shared.lua:306
10. unknown - lua/weapons/m9k_dbarrel/shared.lua:140

i have no idea what's causing this problem
burntfrenchfries 4 jun, 2024 @ 18:46 
please unweld plz plz puhleaaase!